Skip to content

Ensure requirements are prepared before get_dist() #12140

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

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

uranusjr
Copy link
Member

The legacy resolver seems to prepare requirements differently that can leave them half-done in certain code paths. I'm not quite sure how it's doing things, but this is the minimum we can do to make sure they do things right.

I skipped news because the feature is unreleased.

Fix #12138.

@uranusjr uranusjr added the skip news Does not need a NEWS file entry (eg: trivial changes) label Jul 11, 2023
@uranusjr uranusjr requested a review from sbidoul July 11, 2023 18:59
@pradyunsg pradyunsg changed the title Ensure requirments are prepared before get_dist() Ensure requirements are prepared before get_dist() Jul 11, 2023
The legacy resolver seems to prepare requirements differently that can
leave them half-done in certain code paths. I'm not quite sure how it's
doing things, but at least we can do this to make sure they do things
right.
@uranusjr uranusjr force-pushed the ensure-preparation-for-dist branch from 75edf46 to 0cabefb Compare July 11, 2023 19:41
@pradyunsg pradyunsg added this to the 23.2 milestone Jul 12, 2023
@pradyunsg pradyunsg merged commit 38a8fb1 into pypa:main Jul 12, 2023
@uranusjr uranusjr deleted the ensure-preparation-for-dist branch July 12, 2023 16:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip --use-deprecated legacy-resolver download ... fails at b88addeaf5fde848733d7ef631caa522eb1cfa53
2 participants