Skip to content

Bump poetry to 1.2.0 in CI & the example project #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 18, 2022
Merged

Conversation

ChrisLovering
Copy link
Member

@ChrisLovering ChrisLovering commented Sep 10, 2022

The change to 1.2.0 requires the use of in-project venvs, rather than pip user installs. This changes how the project is laid out, hence the Dockerfile & compose changes.

Changelog:
image

@netlify
Copy link

netlify bot commented Sep 10, 2022

Deploy Preview for bot-core failed.

Name Link
🔨 Latest commit 0293d7c
🔍 Latest deploy log https://app.netlify.com/sites/bot-core/deploys/63262e32395bc80009ae5ad6

@ChrisLovering ChrisLovering force-pushed the poetry-1.2.0 branch 4 times, most recently from a033c06 to 82a0732 Compare September 10, 2022 19:59
@ChrisLovering ChrisLovering added a: dependencies Pull requests which update a dependency file t: bug labels Sep 10, 2022
@ChrisLovering ChrisLovering requested review from a team, eivl and dementati and removed request for a team, eivl and dementati September 10, 2022 20:15
This change requires the use of venvs, rather than pip user installs
Now that we are using in-project venvs, mounting the entire project root would cause the host's venv to overwrite the image's if present.
This is so that we use the same env var as metricity, remove the need for duplicate env vars.
Use chrislovering/python-poetry-base as the base image for the
Dockerfile. It manages everthing required to install and configure
poetry.

Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
@HassanAbouelela
Copy link
Member

Just added the two commits above in the latest push. The force push was to drop 82a0732

@ChrisLovering ChrisLovering merged commit 030d15e into main Sep 18, 2022
@ChrisLovering ChrisLovering deleted the poetry-1.2.0 branch September 18, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: dependencies Pull requests which update a dependency file t: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants