Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Setup poetry for dependency management #322

Merged
merged 1 commit into from
Mar 21, 2021
Merged

Setup poetry for dependency management #322

merged 1 commit into from
Mar 21, 2021

Conversation

ruohola
Copy link
Member

@ruohola ruohola commented Mar 20, 2021

Also update all dependencies to their latest versions.

Monorepo has to add the install_dev_dependencies arg to its compose
file.

Replaces #321

@codecov
Copy link

codecov bot commented Mar 20, 2021

Codecov Report

Merging #322 (9fc2c19) into develop (731fdfb) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #322   +/-   ##
========================================
  Coverage    95.65%   95.65%           
========================================
  Files           89       89           
  Lines         3200     3200           
  Branches       208      208           
========================================
  Hits          3061     3061           
  Misses          94       94           
  Partials        45       45           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a732734...9fc2c19. Read the comment docs.

@ruohola ruohola changed the title Setup poetry for dependency management Setup poetry for dependency management Mar 20, 2021
Also update all dependencies to their latest versions, and update to
Python `3.9.2`.

Monorepo has to add the `install_dev_dependencies` arg to its compose
file.
&& su user --command="curl --silent --show-error \"${_poetry_url}\" | python - --no-modify-path" \
&& su user --command="poetry install --no-root "$([ "${install_dev_dependencies}" -eq 0 ] && printf -- '--no-dev')"" \
&& apt-get purge --auto-remove --assume-yes curl \
&& find /home/user/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.9 -type d | xargs rm -rf \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruohola ruohola merged commit b82dd5c into develop Mar 21, 2021
@ruohola ruohola deleted the poetry branch March 21, 2021 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants