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 --requirements-pex. #1684

Merged
merged 2 commits into from
Mar 22, 2022
Merged

Fix --requirements-pex. #1684

merged 2 commits into from
Mar 22, 2022

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Mar 22, 2022

The switch from sha1 to sha256 hashes in #1661 did not cover this
feature. Simplify and use the existing machinery to get at a PEX's
distributions.

Fixes #1683

The switch from sha1 to sha256 hashes in pex-tool#1661 did not cover this
feature. Simplify and use the existing machinery to get at a PEX's
distributions.

Fixes pex-tool#1683
@jsirois jsirois requested review from benjyw and kaos March 22, 2022 14:13
"-o",
app_pex,
]
).assert_success()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reproduces #1683 (comment) before the fix.

This is correct since resolving picks the dists compatible with the
current interpreter, but we want all the dists to support multiplatform
cases.
@jsirois jsirois merged commit 21d9c95 into pex-tool:main Mar 22, 2022
@jsirois jsirois deleted the issues/1683 branch March 22, 2022 17:35
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.

Unexpected distribution hash
2 participants