-
Notifications
You must be signed in to change notification settings - Fork 1
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
Install poetry using pip in CI scripts #924
Conversation
Codecov Report
@@ Coverage Diff @@
## master #924 +/- ##
=======================================
Coverage 52.02% 52.02%
=======================================
Files 160 160
Lines 7494 7494
Branches 166 166
=======================================
Hits 3899 3899
Misses 3476 3476
Partials 119 119 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
.circleci/config.yml
Outdated
@@ -22,8 +22,8 @@ jobs: | |||
- run: | |||
name: install python dependencies | |||
command: | | |||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_VERSION=1.1.8 python | |||
. $HOME/.poetry/env | |||
pip install --upgrade pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried replacing get-poetry.py with https://github.com/python-poetry/install.python-poetry.org? e.g. curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.1.15 python3 -
? I'm not sure if this is better than using pip install but it looks it looks more in line with the way it was done before.
@@ -23,7 +23,7 @@ ARG POETRY_HOME=/opt/poetry | |||
ARG POETRY_INSTALL_ARGS="--no-dev" | |||
|
|||
# IMPORTANT: Remember to review both of these when upgrading | |||
ARG POETRY_VERSION=1.1.8 | |||
ARG POETRY_VERSION=1.1.15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches the version specified in the CI script
The CI command that uses this url:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py ...
is no longer available and returns 404.
This became apparent when rebasing: #871
This updates the installation of poetry to use pip.