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. #8

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

jsirois
Copy link
Member

@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: pypa@b28e2c4#r45135982

Fixes pypa#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
Copy link
Member Author

jsirois commented Dec 15, 2020

See pypa#9283, but Pip master has a bug handling the download command when --constraint is used (this is the way Pants uses Pex and thus Pip). Although I have pypa#9301 away with this same patch it seems unlikely to be accepted and released in a tight enough time frame to provide our macOS BigSur users timely relief. As such, I've created the pex/patches/generation-2 branch which is up to date with Pip master to use as a new branch for Pex to vendor from.

@jsirois jsirois merged commit 06f4625 into pex-tool:pex/patches/generation-2 Dec 15, 2020
@jsirois jsirois deleted the pip/issues/9283 branch December 15, 2020 21:26
jsirois added a commit that referenced this pull request Feb 1, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants