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

Combining efforts with the new pip resolver utilization #1298

Closed
fridex opened this issue Jan 5, 2021 · 4 comments
Closed

Combining efforts with the new pip resolver utilization #1298

fridex opened this issue Jan 5, 2021 · 4 comments
Labels
enhancement Improvements to functionality feature Request for a new feature needs more info Need more info to clarify issue refactor Refactoring code resolver Related to dependency resolver

Comments

@fridex
Copy link

fridex commented Jan 5, 2021

Hi there!

I'm not sure if I'm using the right medium to reach out to the pip-tools people with this question, but I hope so. I would like to ask if there are any plans to use the new pip resolver (pip>=20.3) in pip-tools. There was an idea to use pip's resolver in micropipenv (thoth-station/micropipenv#151 (comment)) and I'm wondering how much our efforts eventually overlap.

Thanks for your reply!

@webknjaz
Copy link
Member

webknjaz commented Jan 5, 2021

Hey @fridex!
I suggested it here #1190 (comment) as I have experience integrating it already, and also somebody mentioned resolvelib in #693 earlier. But nobody seemed to explicitly agree that this should be done.
Personally, I think it's a good idea to use it. FWIW it shouldn't be too hard to implement.

@webknjaz webknjaz added resolver Related to dependency resolver enhancement Improvements to functionality feature Request for a new feature needs more info Need more info to clarify issue refactor Refactoring code labels Jan 5, 2021
@fridex
Copy link
Author

fridex commented Jan 5, 2021

Thanks, @webknjaz for the reply! I'm not familiar with the pip resolver interface so I cannot judge complexity. I'll try to monitor pip-tools efforts and learn if something suitable for micropipenv would occur in that case. Thanks!

@atugushev
Copy link
Member

#1539 adds for pip's 2020 dependency resolver support!

@atugushev
Copy link
Member

The resolver is released as part of pip-tools v6.8.0. Use pip-compile --resolver backtracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to functionality feature Request for a new feature needs more info Need more info to clarify issue refactor Refactoring code resolver Related to dependency resolver
Projects
None yet
Development

No branches or pull requests

3 participants