Python 2.7 removed from macOS Monterey 12.3 beta
derflounder.wordpress.com
derflounder.wordpress.com
What word, exactly, is being used dishonestly? Python 2 was removed from the default install because it is deprecated in favor of Python 3. There is nothing dishonest or unclear about that in the release notes. What word in that message do you regard as being "misused" in context?
I’ve run into so many issues trying to compile projects, those with little to no maintenance, and even many popular ones. If macOS support is advertised, it often only works on 2-3 generations prior to the current release. Ubuntu LTS works out of the box far more often.
The fact that it was removed without justification (just “legacy”) and there’s no easy download tool (like there is for say rosetta) is very frustrating. Sure I can compile python2 myself, install w/macports and symlink, but I shouldn’t have to.
It's now 2022.
That's all the justification they need.
I wonder how many people are still actively using it (not counting situations such as when OS ships with Python2 and upgrading will break important utilities)?
You don't need to spin issues that can be purely technical in terms of personal traits like stubbornness.
Just keep in mind that software doesn't change itself, and if you have a python27 script written yesterday then it won't be magically ported to python37 during the night. Unless people do the work, that won't change. Given there are far more people using software than writing it, then I don't understand what leads you to believe that software is perpetually maintained and ported to newer releases.
At this point it is stubbornness - I know software doesn't magically get ported and updated as time goes on, but I also acknowledge that if no one cares to update the software (or provide a replacement) in a 14-year window then that is on that package's community rather than everyone else. The baseline should not be dragged down to accommodate legacy software.
MacOS removing Python 2 support in a minor OS version bump was the wrong way of handling things, but in general you should not expect it to be available on modern platforms or be surprised at its removal (outside of pledged long-term support e.g. CentOS). And you can still use a VM or something, same as you would use DosBox to run old 16-bit software.
Apple has never hesitated deprecating and then removing apis. Right now they have translation software so you can run x86 apps on their arm hardware but guess what? In two years a release will come out that doesn’t have that anymore and apps that are unmaintained and haven’t been recompiled or ported to arm won’t work anymore.
The only argument there is is that it isn’t too nice to do this in a point release. But it wouldn’t surprise me if their hand got forced by some security issue that couldn’t be fixed. Obviously they aren’t going to make the huge investment required to fix it themselves, it’s dead technology.
I can see where they are coming from. I like Python, I dislike its old boys club of core team. By EOLing Python 2.7, they have officially stopped mucking with it for good, thus the language is finally "stable" in the sense that it won't keep changing under you while still being called Python. Some people just might happen to like it.
Slipping it into some minor update that many users will install without a second thought is not a reasonable thing. It could break software that people use, not realizing they depend on Python to use it.
EDIT: For the past, I don't know how many versions of macOS, you'd get the following message when running python2:
"WARNING: Python 2.7 is not recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS will not include Python 2.7."
I don't use MacOS, but others have mentioned it's been printing deprecation warnings for quite a while now.
Apple may call it “12.3” now but it is still released every few weeks or months, with just as much randomness as 10.8.3 would have been.
I agree with them getting rid of python2 though.
Also since Python 2.7 was made EoL there have been 2 major releases: 3.9 and 3.10.
It's interesting MacOS will be the only desktop OS used by a significant number of people to type "python" in to the command line after a fresh install and get back an unknown command error.
Apple says in the future you shouldn’t even rely on any scripting runtimes being there by default at all.
Trying to keep clueless developers happy by hoarding unused tooling is a step in the wrong direction and leads to expected hand-holding.