Skip to content
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

Closed
wants to merge 8 commits into from

Conversation

franciszekjob
Copy link
Collaborator

@franciszekjob franciszekjob commented Jan 8, 2025

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.

  • This PR contains breaking changes

@@ -32,7 +32,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config installer.modern-installation false
Copy link
Collaborator Author

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 👇
image

Comment on lines -49 to +48
poetry lock --check
poetry check --lock
Copy link
Collaborator Author

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

@franciszekjob franciszekjob deleted the franciszekjob/set-poetry-version branch January 8, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant