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
Currently if you do poetry install then you install both dependencies and dev dependencies. If you then do poetry install --no-dev then dev dependencies are removed.
It is a different behavior when using --extras. Imagine I have toml like this
If I go with poetry install --extras all then all dependencies are installed. Then if I do poetry install --extras models nothing happens (since models are already installed). Is there any way to remove all the optional packages not listed in models if they are installed already?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently if you do
poetry install
then you install both dependencies and dev dependencies. If you then dopoetry install --no-dev
then dev dependencies are removed.It is a different behavior when using
--extras
. Imagine I have toml like thisIf I go with
poetry install --extras all
then all dependencies are installed. Then if I dopoetry install --extras models
nothing happens (since models are already installed). Is there any way to remove all the optional packages not listed inmodels
if they are installed already?Beta Was this translation helpful? Give feedback.
All reactions