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

Update poetry to 1.2.1 #540

Merged
merged 2 commits into from
Sep 22, 2022
Merged

Update poetry to 1.2.1 #540

merged 2 commits into from
Sep 22, 2022

Conversation

jonathangreen
Copy link
Member

Description

Update the version of Poetry we are using in Docker and CI to 1.2.1.

Homebrew on my system updated Poetry to 1.2.1 today, then when I committed a update to a poetry lock file all of a sudden setuptools was being uninstalled by poetry. Apparently lock files generated by poetry 1.2.1 are not compatible with 1.1.x and will cause setuptools to be uninstalled

python-poetry/poetry#4242

Motivation and Context

It seems reasonable to update the version of poetry we use, since 1.2 can read lock files from 1.1, but 1.1 can't correctly read lock files generated by 1.2.

How Has This Been Tested?

Compared the packages we installed with Poetry 1.1 vs Poetry 1.2 by hand. CI running and building a docker container should show that this is working.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@jonathangreen
Copy link
Member Author

Convert this to a draft since tests are failing. Will have to debug whats going on here.

@jonathangreen jonathangreen removed the request for review from a team September 21, 2022 12:27
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

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

This looks good and all tests are passing now.

@jonathangreen jonathangreen marked this pull request as ready for review September 21, 2022 23:37
@jonathangreen jonathangreen merged commit 9a21a9a into main Sep 22, 2022
@jonathangreen jonathangreen deleted the feature/update-poetry branch September 22, 2022 00:43
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.

2 participants