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

Reduce context/options passed to Resolver #6986

Merged
merged 4 commits into from
Sep 7, 2019

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Sep 6, 2019

Instead of passing data and having Resolver construct InstallRequirements, we pass a function that does it.

@chrahunt chrahunt changed the title Reduce information passed to Resolver. Reduce context/options passed to Resolver. Sep 6, 2019
@chrahunt chrahunt added skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code labels Sep 6, 2019
@chrahunt chrahunt marked this pull request as ready for review September 6, 2019 23:50
Copy link
Member

@pradyunsg pradyunsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

My only concern is a naming one -- Provider is a concept, in the resolution model that we'll be adopting from resolvelib/zazo. That said, this bit of code will move out the Resolver while we're working on adopting that model so I'll merge this in right now.

@pradyunsg pradyunsg changed the title Reduce context/options passed to Resolver. Reduce context/options passed to Resolver Sep 7, 2019
@pradyunsg pradyunsg merged commit 9300fe6 into pypa:master Sep 7, 2019
@chrahunt chrahunt deleted the refactor/refactor-1 branch September 7, 2019 08:08
@chrahunt
Copy link
Member Author

chrahunt commented Sep 7, 2019

I did see that. I hope they can all get along, provider is one of my go-to class suffixes. ;)

atugushev added a commit to atugushev/pip-tools that referenced this pull request Sep 17, 2019
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants