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

Looking for feedback on narrow backtrack causes approach #140

Closed
wants to merge 1 commit into from

Conversation

notatallshaw
Copy link
Collaborator

This PR is an approach to #139 and fixes pypa/pip#12305 (comment)

However, as the test suite shows it's using methods that are not guaranteed to exist.

I am looking for feedback on how this could be implemented in a way that does not create brand new requirements on downstream libraries.

@notatallshaw
Copy link
Collaborator Author

Actually I realized, as I woke up this morning, the solution is quite obvious.

As only the downstream library can know the shape of their own requirements then this must be implemented there with resolvelib simply making a call to ask the library to narrow the causes if it can.

Once I get a chance I will make an issue on Pip side, and once agreed this is a good idea I will edit this PR to simply call a narrow causes method on the downstream library.

@notatallshaw
Copy link
Collaborator Author

I've created an issue on Pip side (pypa/pip#12318), once I have feedback there I will make a clean PR here.

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.

pip install TTS failure: pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000
1 participant