-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry update doesn't respect the change of "develop" attribute #4884
Labels
status/duplicate
Duplicate issues
Comments
jaklan
added
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
labels
Dec 11, 2021
Following on to @jaklan 's workaround (thank you!) for future readers: you may want to preface To summarize the workaround:
|
This seems to be the same as #3085. |
neersighted
added
status/duplicate
Duplicate issues
and removed
kind/bug
Something isn't working as expected
labels
Nov 8, 2022
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
-vvv
option).Issue
When I change the
develop
attribute of a dependency (fromfalse
totrue
or vice versa) and runpoetry update
, the change is not respected - I get the following message:Removing only
poetry.lock
also doesn't help - I have to uninstall the package. But I can't do it withpoetry remove
, because... there's no CLI flag forpoetry add
to specify the proper value ofdevelop
attribute when adding it back. I have to modify the file manually after that, but then package... is already installed, so we get stuck in the loop.The solution is to run
pip uninstall some_package
, modify manually thepyproject.toml
to change thedevelop
value and then runpoetry install
.⬇️
I see 2 issues here:
̶d̶e̶v̶e̶l̶o̶p̶
̶ ̶o̶p̶t̶i̶o̶n̶ ̶f̶o̶r̶ ̶̶p̶o̶e̶t̶r̶y̶ ̶a̶d̶d̶
̶ - seems to be resolved in1.2.0
The text was updated successfully, but these errors were encountered: