-
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
Remove pip._internal.download #7187
Remove pip._internal.download #7187
Conversation
0da5c7a
to
7f6c321
Compare
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
7f6c321
to
42ad7a1
Compare
42ad7a1
to
4f4d7a9
Compare
The only user of this module is operations.prepare.RequirementPreparer. Moving the functionality to the single using module means that refactoring will be easier (since all the mess is in one place). This also removes a mis-named module from the top-level of the repository.
4f4d7a9
to
5c5c6ec
Compare
Does this need to be split up? Every trivial change to download requires a rebase. 😩 |
Ah well... Is someone going to work on the debt that this introduces? If not, I'm inclined to suggest that we leave these separate for now -- we can get rid of the rest of |
Yes, I plan to - specifically, factoring the hash calculation and download directory handling responsibility out of preparer and the associated functions. |
Awesome! Let's do this then! :) |
Moves the last of its contents as described in #7145 (comment).
This increases the size of
pip._internal.operations.prepare
, but now it should be easier to refactor since the not-really-generic functions are alongside their sole caller.Fixes #6813.