What's the plan for Python on macOS following EOL in 2020?

I got this message when installing something via PIP today:


DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.


Is there a plan in place to update the default version for macOS? I believe the current default is stil 2.7.

On h ttps://www.python.org/downloads/mac-osx/


I see that Python last release is 3.7.2


Why can't you upgrade ?

There are a few moving parts in play here, one of which is that some of those deprecation warnings are false positives and might be more about PIP itself.


Then, I think you meant python 2.7 is EOL, vs. python outright - you asked about one, but the title asked about the other, so I'm guessing what the real queston is? Have you checked to confirm which pip & python you're running?


Finally, Apple tends to not discuss future plans in public, so...

Easy answer - what is the current version of Python that ships with iOS?

I reinstalled MacOS now (2021.04.25) with Big Sur 11.2.3, and the Python version is till 2.7.16.
Check by running "python --version" in Terminal.
IMPORTANT If you’re using the scripting runtimes that are built in to macOS, please read the Scripting Language Runtimes section of the macOS Catalina 10.15 Release Notes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
What's the plan for Python on macOS following EOL in 2020?
 
 
Q