-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Do not use deprecated poetry --dev
option for installing packages
#19980
Conversation
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.
@SaidBySolo Thanks for the PR. Can you link to when was --group
flag released? We should make sure this has been out long enough (usually one year) so it can be used with older versions of poetry, before we can accept this PR as is.
--dev
option poetry for installing packages
https://github.com/python-poetry/poetry/releases/tag/1.2.0a2 It appears to have been released on August 1, 2021. I think enough time has passed :D |
--dev
option poetry for installing packages--dev
option for installing packages
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.
LGTM then :)
@SaidBySolo This was an alpha release of Poetry 1.2.0. The stable release actually happened just on August 31, 2022. Not all of our projects have migrated to Poetry 1.2.0 yet so this change is very likely to break things for some users. https://github.com/python-poetry/poetry/releases/tag/1.2.0 |
I think it's good to migrate as soon as possible. The poetry team has officially dropped support for 1.1. However, if the MS prioritizes backwards compatibility, i respect that. |
Closes #19983
https://python-poetry.org/docs/managing-dependencies/#dependency-groups
python-poetry/poetry#6475