-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Python 3.12 omits pip entry point on macOS #110991
Comments
There's no |
That's just another reason why we should be deprecating the use of plain |
If calling the pip executable were to cause a deprecation message to be printed, that might help train people. However, I am not a big fan of naming the executable python3 rather than python. When python 2 is gone, the 3 is redundant. And why should an old abandoned version of python be awarded the more desirable name? The language is still named Python, not Python3, if I am not mistaken. I always install python-is-python3 on my Ubuntu systems. |
BTW, PEP 394 addresses the topic of |
A reason to install Looking at the code in That said, this would require a change to |
I think we should ask for a pronouncement from the Steering Council about the direction for unversioned names ( cc: @python/steering-council |
Do we ever envision a world where installing/updating |
I don't because upgrading pip without installing a pip executable would break too many expectations. But, I'm not a pip maintainer. @pfmoore might be able to chime in on this. Cross platform consistency is another thing to consider. Looking at the details of Fedora's python3-pip package it seems that the default behaviour on Fedora is to have Changing to unversioned names for the other executables (python, pip, pydoc) is another question and is one that should not be a unilateral change for macOS. I'd personally prefer to have unversioned binaries outside of virtual environments as well. |
There's a long-running pip issue, pypa/pip#3164, for deprecating the executables, but personally I think it's unlikely to happen in the foreseeable future, as it would break too many expectations. I think it makes sense to install a |
Bug report
Bug description:
Whether building Python 3.12 from source or installing it from python.org, there is no pip executable in the bin directory. There is a pip3. But many installation instructions on the web say to use pip, and many users are used to doing that. The unfortunate consequence is that if a user has both the 3.11 and the 3.12 versions in their path (as happens with installs from python.org) then they will be installing packages for 3.11 when they use pip.
CPython versions tested on:
3.12
Operating systems tested on:
macOS
The text was updated successfully, but these errors were encountered: