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

Remove Resolver.session #7290

Merged

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Nov 3, 2019

Previously the Resolver was just holding this object to pass it to RequirementPreparer. Now RequirementPreparer has its own session, which reduces the responsibilities of Resolver.

@chrahunt chrahunt added type: refactor Refactoring code skip news Does not need a NEWS file entry (eg: trivial changes) labels Nov 3, 2019
@pradyunsg
Copy link
Member

Yus.

@chrahunt chrahunt marked this pull request as ready for review November 3, 2019 20:38
@chrahunt chrahunt merged commit f9ee892 into pypa:master Nov 3, 2019
@chrahunt chrahunt deleted the refactor/remove-session-from-resolver branch November 3, 2019 21:42
@chrahunt
Copy link
Member Author

chrahunt commented Nov 3, 2019

Thanks for reviewing!

atugushev added a commit to atugushev/pip-tools that referenced this pull request Nov 4, 2019
Moved `RequirementPreparer.session` to `Resolver.session`.

See pypa/pip#7290
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Dec 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 3, 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.

3 participants