News for hackers. Stuff that matters.
Re:Apple removes Python 2.7 in macOS 12.3 beta by Cthulhu_ on Friday January 28, 2022 @11:00AM (#30116309)
If there are users that still depend on python 2.7, they can install it manually?

I mean I already think it's... interesting that an operating system comes with (multiple) programming language interpreters, available to the end-user.

Re:Apple removes Python 2.7 in macOS 12.3 beta by mrpippy on Friday January 28, 2022 @11:30AM (#30116834)
That’s true if they’re using it from the command-line, but not if they’re using apps that linked against the system SDK’s libpython2.7.dylib (and assumed PyObjC would be present)
Re:Apple removes Python 2.7 in macOS 12.3 beta by TillE on Friday January 28, 2022 @11:49AM (#30117132)
Is there any significant software still using that?

Apple is pretty aggressive about breaking backwards compatibility, as they did with x86, so it's no real surprise for unmaintained software to become completely unusable.

Re:Apple removes Python 2.7 in macOS 12.3 beta by mrpippy on Friday January 28, 2022 @01:50PM (#30118773)
Based on what they’ve done, I guess the answer is no.

My company was shipping (somewhat niche) software linking with the built-in python2 up until last year though, and it’s been a scramble since Monterey to rebuild things to avoid the warning message. Definitely thought we would have python2 until 13.0 though (and part of me wonders whether this is just a “brown-out” for the beta and 12.3 release will be back to normal)

Re:Apple removes Python 2.7 in macOS 12.3 beta by Wowfunhappy on Friday January 28, 2022 @01:23PM (#30118441)
Notably, however, Apple didn't drop x86 support in a minor update.
Re:Apple removes Python 2.7 in macOS 12.3 beta by mrpippy on Friday January 28, 2022 @01:52PM (#30118785)
And kept the support present for I think a year and a half alongside a runtime warning message (and removed SDK support earlier than that)
Re:Apple removes Python 2.7 in macOS 12.3 beta by kortilla on Friday January 28, 2022 @11:56AM (#30117252)
> programming language interpreters, available to the end-user.

Yeah, fuck those end-users who might want to automate things with a script.

Re:Apple removes Python 2.7 in macOS 12.3 beta by 7steps2much on Friday January 28, 2022 @12:00PM (#30117304)
I think an end user that wants to automate things with a script can be expected to install their interpreters themselves or use an interpreter that builds on the OS's shell.

I am not to familiar with MacOS, but I imagine it comes with a bash/sh terminal? If so, then that is something that should be first choice for automation.

Everything else, be it python, perl, ruby or whatever should be installed by a user as needed.

Re:Apple removes Python 2.7 in macOS 12.3 beta by kortilla on Saturday January 29, 2022 @03:52AM (#30124870)
What do you think “the OS’s shell” is?
Re:Apple removes Python 2.7 in macOS 12.3 beta by Wowfunhappy on Friday January 28, 2022 @01:30PM (#30118518)
And I think that's totally reasonable—as long as Apple makes the change in a major update, when users can expect (some) things to break and should be encouraged to make time to prepare.

Part of it is that it's just a mental burden to keep this kind of compatibility information in my brain. I have VMs set up of past macOS releases in case I need to run something old. I don't have VMs set up for earlier versions of a release, and I don't even know where I'd get an installer. Admittedly, in this case it would just be a matter of installing Python, but I don't necessarily know that as a user, or the software could need to be linked to Cocoa or some such.