Skip to content

Conversation

@Mr-Sunglasses
Copy link
Contributor

@Mr-SunglassesMr-Sunglasses commented Feb 18, 2025

@ghost
Copy link

ghost commented Feb 18, 2025

All commit authors signed the Contributor License Agreement.
CLA signed

@Mr-Sunglasses
Copy link
ContributorAuthor

@sobolevn , @picnixz ptal

Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Снимок экрана 2025-02-18 в 14 08 39

I would recommend changing pipX to pipN, because there's now a tool called pipx.

Thanks for the PR and congrats! 🎉


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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe pipN.M?

Copy link
Member

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.

Copy link
Member

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

Copy link
Member

@pfmoorepfmoore left a 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.

@bedevere-app
Copy link

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@pfmoore
Copy link
Member

Sorry I hadn’t seen the comment by @sobolevn regarding the pipx application. Nevertheless, I disagree - the pipX.Y convention is well established, and consistency with existing terminology is important.

@Mr-Sunglasses
Copy link
ContributorAuthor

I have made the requested changes; please review again.

@bedevere-app
Copy link

Thanks for making the requested changes!

@pfmoore: please review the changes made to this pull request.

@bedevere-appbedevere-appbot requested a review from pfmooreFebruary 18, 2025 11:51
@pfmoore
Copy link
Member

Thanks! LGTM.

@pfmoorepfmoore merged commit 8cd7f8b into python:mainFeb 18, 2025
49 of 52 checks passed
@sobolevn
Copy link
Member

We usually backport doc changes, should we in this case?

@sobolevnsobolevn added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Feb 18, 2025
@miss-islington-app
Copy link

Thanks @Mr-Sunglasses for the PR, and @pfmoore for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington-app
Copy link

Thanks @Mr-Sunglasses for the PR, and @pfmoore for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 18, 2025
…pip` CLI (pythongh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
@bedevere-app
Copy link

GH-130258 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12 only security fixes label Feb 18, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 18, 2025
…pip` CLI (pythongh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
@bedevere-app
Copy link

GH-130259 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Feb 18, 2025
@pfmoore
Copy link
Member

We usually backport doc changes, should we in this case?

I don't know the policy for doc changes, but if that's the usual approach, I see no reason not to.

pfmoore pushed a commit that referenced this pull request Feb 18, 2025
…epip` CLI (gh-130253) (gh-130259) gh-130160: use `.. program::` directive for documenting `ensurepip` CLI (gh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
pfmoore pushed a commit that referenced this pull request Feb 18, 2025
…epip` CLI (gh-130253) (gh-130258) gh-130160: use `.. program::` directive for documenting `ensurepip` CLI (gh-130253) (cherry picked from commit 8cd7f8b) Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Use .. program:: and .. option:: directives for modules with a documented CLI

3 participants

@Mr-Sunglasses@pfmoore@sobolevn