-
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
Introduce an index
sub-package
#7144
Conversation
41ceeea
to
7d9deeb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor comments. Also in the body of the Overview and PackageFinder docs there are references to index.py.
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 |
Why: To better group code that handles index interactions. Renames pip._internal.{collector -> index.collector} and pip._internal.{index -> index.package_finder}
Co-Authored-By: Ellen Marie Dash <the@smallest.dog>
92a3e2d
to
3846da7
Compare
I'm making this change since it's unlikely that folks would've linked to this specific section, and if they did, this isn't exactly user facing documentation, so I wouldn't hold this to the same standard.
PackageFinder moved to pip._internal.index.package_finder FormatControl moved to pip._internal.models.format_control See: pypa/pip#7144
Motivation: IMO, it makes sense to group all of our index interaction code into a single unit, so that someone who's not familiar with this part of the codebase (i.e. me) isn't baffled by the fact that
collector.py
is where we have network interactions. :)