Skip to content
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

Fix download --constraint for legacy-resolver. #9301

Closed
wants to merge 1 commit into from

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Dec 15, 2020

Download was not filtering out constraint-only requirements prior to
attempting to save them. Add a failing test under --resolver=legacy
and fix by adding in the filtering.

See: b28e2c4#r45135982

Fixes #9283

Download was not filtering out constraint-only requirements prior to
attempting to save them. Add a failing test under `--resolver=legacy`
and fix by adding in the filtering.

See: pypa@b28e2c4#r45135982

Fixes pypa#9283
jsirois referenced this pull request Dec 15, 2020
Previously, during dependency resolution for `pip download -d <dir>`
or `pip wheel -w <dir>`, distributions downloaded are always saved
to <dir>, even for those are only used in backtracking and are not
part of the returned requirement set.
@jsirois jsirois closed this Jun 9, 2023
@jsirois jsirois deleted the issues/9283 branch June 9, 2023 23:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant