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

Documentation of pip's internals #6831

Closed
pradyunsg opened this issue Aug 4, 2019 · 5 comments
Closed

Documentation of pip's internals #6831

pradyunsg opened this issue Aug 4, 2019 · 5 comments
Labels
state: needs discussion This needs some more discussion type: docs Documentation related type: maintenance Related to Development and Maintenance Processes

Comments

@pradyunsg
Copy link
Member

This is only for developers and contributors. Using pip's internals from third party projects is not and, for the foreseeable future, will not be a supported way of using pip.


Here's how I'd planned to structure it while working on the overall architecture docs, at PyCon 2019:

  • add development/architecture/ to the html documentation
  • index is a table of contents + a 1 or 2 paragraph overview + a note that pip's internals are not for external consumers but maintainers and contributors.
  • each component within the codebase can get its own dedicated page/section within that as necessary.
    • think download, finder, vcs, build, install, configuration, uninstall, resolution etc.
    • Example url: development/architecture/download.html
  • A contributor friendly guide that connects the dots for all these parts.

Originally posted by @pradyunsg in #6787 (comment)

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Aug 4, 2019
@chrahunt
Copy link
Member

chrahunt commented Aug 4, 2019

Related to #6637.

@chrahunt chrahunt added state: needs discussion This needs some more discussion type: docs Documentation related type: maintenance Related to Development and Maintenance Processes labels Aug 4, 2019
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Aug 4, 2019
@pradyunsg
Copy link
Member Author

Thanks @chrahunt! :)

@pradyunsg
Copy link
Member Author

pradyunsg commented Mar 13, 2020

I'll be writing a few of the component-specific deep-dive pages/sections in the coming weeks.

My current plan is to start with the following areas (in order of increasing complexity):

  • Configuration File Handling
    • pip._internal.configuration module
  • Command Line Interface
    • pip._internal.cli package contents
  • Build Logic
    • pip._internal.operations.build package
    • pip._internal.wheel_builder module
    • pip._internal.distributions package
    • pip._internal.pyproject module
    • pip._internal.req.req_install module (only parts of)

I expect I'll be pulling my hair out by the time I'm writing down the details of the build logic, due to how complicated that topic is. This is a very tentative plan though, and I might end up pivoting to something else after CLI.

@pradyunsg
Copy link
Member Author

FWIW, this didn't happen but, hey, instead I got to close #988. :)

@pradyunsg
Copy link
Member Author

Closing this out since I'm no longer interested in doing this. If someone else is, please holler here or file a new issue referencing this. :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
state: needs discussion This needs some more discussion type: docs Documentation related type: maintenance Related to Development and Maintenance Processes
Projects
None yet
Development

No branches or pull requests

2 participants