You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: macOS Big Sur 11.6
Poetry version: 1.1.12
Issue
When I change the develop attribute of a dependency (from false to true or vice versa) and run poetry update, the change is not respected - I get the following message:
No dependencies to install or update
Removing only poetry.lock also doesn't help - I have to uninstall the package. But I can't do it with poetry remove, because... there's no CLI flag for poetry add to specify the proper value of develop 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 the pyproject.toml to change the develop value and then run poetry install.
-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: