-
Notifications
You must be signed in to change notification settings - Fork 87
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
Set poetry version to 1.8.5
#1543
Conversation
@@ -32,7 +32,6 @@ jobs: | |||
run: | | |||
python -m pip install --upgrade pip | |||
pip install poetry | |||
poetry config installer.modern-installation false |
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.
note: This poetry installer config was added in https://github.com/software-mansion/starknet.py/pull/881/files, but it looks like we don't need it anymore, thanks to python-poetry/poetry#9392
Below is part of Poetry 2.0.0 changelog 👇
poetry lock --check | ||
poetry check --lock |
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.
note: poetry lock --check
is deprecated, we should use poetry check --lock
Closes #
Introduced changes
Before, our CI used latests version of Poetry. This PR changes it to be fixed 1.8.5.
Recently there has been release of Poetry 2.0.0, which bumped minimal version of Python from 3.8 to 3.9. ATM, starknet.py uses >=3.8, <3.13, hence the need of using Poetry older than 2.0.0
Without this change, CI is failing, here's an example run.