-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
gh-130160: use .. program::
directive for documenting ensurepip
CLI
#130253
Conversation
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.
Doc/library/ensurepip.rst
Outdated
@@ -75,14 +75,14 @@ through two additional command line options: | |||
for the current Python installation (this option is not permitted inside an | |||
active virtual environment). | |||
|
|||
By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where | |||
X.Y stands for the version of Python used to invoke ``ensurepip``). The | |||
By default, the scripts ``pipN`` and ``pipN.Y`` will be installed (where |
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.
Maybe pipN.M
?
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.
Why change this at all? pipX.Y
is the normal convention here, used in the pip documentation.
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.
Ok, this change is unrelated anyway and no users complained about it. I agree with @pfmoore
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.
Please leave the pipX.Y
naming convention unchanged.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry I hadn’t seen the comment by @sobolevn regarding the |
b8c8cf8
to
ce0b24e
Compare
I have made the requested changes; please review again. |
Thanks for making the requested changes! @pfmoore: please review the changes made to this pull request. |
Thanks! LGTM. |
We usually backport doc changes, should we in this case? |
Thanks @Mr-Sunglasses for the PR, and @pfmoore for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @Mr-Sunglasses for the PR, and @pfmoore for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…pip` CLI (pythongh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <[email protected]>
GH-130258 is a backport of this pull request to the 3.12 branch. |
…pip` CLI (pythongh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <[email protected]>
GH-130259 is a backport of this pull request to the 3.13 branch. |
I don't know the policy for doc changes, but if that's the usual approach, I see no reason not to. |
fix: #130160
.. program::
and.. option::
directives for modules with a documented CLI #130160📚 Documentation preview 📚: https://cpython-previews--130253.org.readthedocs.build/