-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip install --unstable-feature=resolver
fails with "ResolutionTooDeep: 100"
#8204
Comments
Would you be able to provide the list of packages? This error essentially means the resolver tried too many combinations and judge it should give up, and a very long list of requirements would be a possible reason to that. |
Thanks for trying out the alpha resolver @youtux! ^>^ If you can provide the requirements.txt file, that's be ideal. It would enable us to diagnose why this error is happening, if the new resolver's behavior is indeed correct and if we can present a better error message in this instance. |
This is an example of requirements.txt that results in that error:
|
Awesome! The That's gonna take a bit of time to grok through. |
Tested 9999f0e on a few large projects (~150 dependencies each) and everything installed without errors! 🎉 |
@rouge8 Thanks for checking! What was the performance like? We'd set a low value from concern that big resolves might take too long. I assume from the fact that you didn't say anything that there wasn't a problem there? |
Re-ran with timing on a project with 138 dependencies:
|
Similarly, you can also try New resolver is a lot slower but I think this is just due to the |
Many thanks, that's useful information. |
I retested with pip 20.2b1 and this is fixed for edx-platform. 🎉 |
Did you see our UX team call to test the resolver? If so, where did you see it? If not how did you decide to test the new resolver? Would you be willing to take part in a short interview? We're currently writing new resolver error messages and need to test them with people to see if they provide the right information, explain why the error has occurred. Would you be willing to speak with us? Thanks! |
I tested again with the master branch of pip, and indeed I don't get the error anymore. @ei8fdb I was following this issue for quite some time, that's where I saw that the new feature was available. I am up for the interview! |
@youtux Great. If you've got some time in the coming weeks, I'd like to speak with you. What's the best way to get in touch? |
sure thing! You can DM me on twitter: https://twitter.com/youtux |
Should we close this issue, or are there remaining action items here? |
Yep! |
Environment
Description
I have a project with a very long list of dependencies, and the experimental resolver fails with the
ResolutionTooDeep
exception.Expected behavior
It should be able to handle my long list of dependencies (
pip freeze | wc
counts 223 packagess installed).How to Reproduce
Where requirements.txt contains a lot of dependencies.
Output
The text was updated successfully, but these errors were encountered: