We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-vvv
When poetry install is executed with the --sync option, currently installed extras are not removed:
poetry install
--sync
[david:/tmp/tmp.eORMnPgjG6] $ poetry install Creating virtualenv test-qNG81csJ-py3.11 in /home/david/.cache/pypoetry/virtualenvs Updating dependencies Resolving dependencies... (0.2s) Writing lock file Package operations: 5 installs, 0 updates, 0 removals • Installing certifi (2022.12.7) • Installing charset-normalizer (3.0.1) • Installing idna (3.4) • Installing urllib3 (1.26.14) • Installing requests (2.28.2) [david:/tmp/tmp.eORMnPgjG6] 4s $ poetry install --extras toml Installing dependencies from lock file Package operations: 1 install, 0 updates, 0 removals • Installing tomli (2.0.1) [david:/tmp/tmp.eORMnPgjG6] $ poetry install --sync Installing dependencies from lock file No dependencies to install or update [david:/tmp/tmp.eORMnPgjG6] $ poetry install Installing dependencies from lock file Package operations: 0 installs, 0 updates, 1 removal • Removing tomli (2.0.1)
I believe that this is not in line with the documentation which states:
Any extras not selected for install are always removed, regardless of --sync.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
-vvv
option) and have included the output below.Issue
When
poetry install
is executed with the--sync
option, currently installed extras are not removed:I believe that this is not in line with the documentation which states:
The text was updated successfully, but these errors were encountered: