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

Copy template ireq to set hash info #11021

Closed
wants to merge 1 commit into from

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Apr 9, 2022

Instead of mutating the ireq, we create a new one to assign additional information on.

Alternative fix to #11019. Instead of relying on copy.copy (InstallRequirement has too much legacy), we use the good-ol' make_install_req_from_link instead. Also since we only need this information on the candidate, we can move the assignments into the candidate-creating function instead.

cc @atugushev

Instead of mutating the ireq, we create a new one to assign additional
information on.
@atugushev
Copy link
Contributor

@uranusjr I've checked this PR - tests on pip-tools still failing.

@uranusjr
Copy link
Member Author

Does #11019 avoid the issue? I’m trying to gauge whether there is a problem of this particular implementation, or perhaps we’re solving the wrong thing here.

@github-actions github-actions bot added the needs rebase or merge PR has conflicts with current master label May 9, 2022
@pradyunsg
Copy link
Member

Going to go ahead and close this, since it has merge conflicts that haven't been resolved in a while. Please feel welcome to file a new PR or to reopen and update this one!

@pradyunsg pradyunsg closed this Sep 30, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs rebase or merge PR has conflicts with current master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants