Skip to content

Parse out extras when selecting from constraints#12025

Closed
uranusjr wants to merge 1 commit into
pypa:mainfrom
uranusjr:resolver-url-constraint-install-extra
Closed

Parse out extras when selecting from constraints#12025
uranusjr wants to merge 1 commit into
pypa:mainfrom
uranusjr:resolver-url-constraint-install-extra

Conversation

@uranusjr

@uranusjr uranusjr commented May 9, 2023

Copy link
Copy Markdown
Member

Entries in constraints do not (cannot) contain extras, so when we try to select from them we must remove the extras. Those parsed extras should be attached back to the candidates after they are selected from the constraints.

Fix #12018.

The debugging part is much more interesting than actually fixing the issue.

Entries in constraints do not (cannot) contain extras, so when we try to
select from them we must remove the extras. Those parsed extras should
be attached back to the candidates after they are selected from the
constraints.
@uranusjr

uranusjr commented May 10, 2023

Copy link
Copy Markdown
Member Author

Come on RAMDisk…

Edit: Seems to work now, whatever GitHub was having issues with has been resolved.

@ichard26

ichard26 commented Jul 4, 2024

Copy link
Copy Markdown
Member

@uranusjr Any particular reason this isn't merged yet (other than the lack of a review)? It'd be good to see your old work land at some point :)

@uranusjr

uranusjr commented Jul 8, 2024

Copy link
Copy Markdown
Member Author

I think I just forgot. Will try to pick it up.

@uranusjr

Copy link
Copy Markdown
Member Author

Main has diverged enough it’s not practical to rebase. I’ll need to start over.

@ichard26 ichard26 added the state: up for grabs (PR) Good idea, but needs a new champion as the PR author is busy or unreachable. label Apr 24, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bot:chronographer:provided state: up for grabs (PR) Good idea, but needs a new champion as the PR author is busy or unreachable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AssertionError when installing a package with an extra and a URL constraint

3 participants