Apple Finally Removing Python 2 in macOS 12.3

Apple will no longer bundle Python 2.7 with macOS 12.3, according to developer release notes for the upcoming software update. Python 2 has not been supported since January 1, 2020 and no longer receives any bug fixes, security patches, or other changes.

macOS Monterey Python
Apple says that developers should use an alternative scripting language going forward, such as Python 3, but it's worth noting that Python 3 also does not come preinstalled on macOS. Developers can run the stub /usr/bin/python3 in Terminal, but it prompts users to install Xcode developer tools, which includes Python 3.

Apple warned that future versions of macOS would not include Python 2.7 in macOS Catalina's developer release notes back in 2019. At the time, Apple said Python 2.7 was included in macOS for compatibility with legacy software.

"If your software depends on scripting languages, it's recommended that you bundle the runtime within the app," said Apple.

Related Forum: macOS Monterey

Top Rated Comments

theluggage Avatar
28 months ago

I think the warning is only displayed if you don’t have developer tools installed. Any non-developers affected should know by now and developers should be able to easily switch to a semvar friendly version.
You might want to try clicking on the link to find out what "semver" actually refers to. :)

The point is that changes like this, which break existing code, should happen at major releases, when reasonable people expect to have to do the research and deal with some disruption to their work - not snuck in with a point release alongside essential bug fixes and security updates. Adequate warning was given that it would disappear sometime but that's only so much use without giving a clue about when it would be removed, and then vanishing it overnight. Getting rid of legacy software dependencies isn't always straightforward and people need clarity about when things will be removed.
Score: 27 Votes (Like | Disagree)
Bokito Avatar
28 months ago
Apple is not really working towards being semver ('https://semver.org') friendly this week. Removing Python 2.7 in a dot release and also making older cloud storage apps read-only. I don't care they do this (it's for the greater good), but they shouldn't do it in a point release, especially ones you can't skip as they contain security fixes.

Fortunately I'm not affected by any of the changes, but it's just bad business.
Score: 26 Votes (Like | Disagree)
averagenerd81 Avatar
28 months ago

Apple is not really working towards being semver ('https://semver.org') friendly this week. Removing Python 2.7 in a dot release and also making older cloud storage apps read-only. I don't care they do this (it's for the greater good), but they shouldn't do it in a point release, especially ones you can't skip as they contain security fixes.

Fortunately I'm not affected by any of the changes, but it's just bad business.
Since security updates have not been provided in two years for 2.x, it is time to get rid of it with anyone desiring it can install it on their own. I am sick of being hampered because people refuse to move on, it's two years with no updates. It's dead Jim, move on and make us more secure.
Score: 21 Votes (Like | Disagree)
ArrayDecay Avatar
28 months ago
Excellent news.
Score: 16 Votes (Like | Disagree)
foobarbaz Avatar
28 months ago

Apple is not really working towards being semver ('https://semver.org') friendly this week.
Semver works for libraries not for consumer products. Otherwise we'd be using macOS 75.0.0 it this point.
Score: 12 Votes (Like | Disagree)
averagenerd81 Avatar
28 months ago

MacOS is becoming a bag full of hurt.o_O
I see you haven't used Windows before. Just this month I had to refrain from patching my domain controllers because the cumulative update for January sent them into a boot loop. The update to fix that is only available via manual install (it isn't advertised in WSUS or SCCM), but the patch that breaks things still is! So you have to install the broken patch and then the fix for the broken patch.

Removing a 2 year unpatched version of Python that people have been notified about repeatedly being a "bag full of hurt"? Only if you can't read the basic text when you launch python from the CLI:

[ICODE]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.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
[/ICODE]

So yeah, totally a "bag full of hurt" ..... totally.
Score: 10 Votes (Like | Disagree)

Popular Stories

reset password request iphone

Warning: Apple Users Targeted in Phishing Attack Involving Rapid Password Reset Requests

Tuesday March 26, 2024 4:34 pm PDT by
Phishing attacks taking advantage of Apple's password reset feature have become increasingly common, according to a report from KrebsOnSecurity. Multiple Apple users have been targeted in an attack that bombards them with an endless stream of notifications or multi-factor authentication (MFA) messages in an attempt to cause panic so they'll respond favorably to social engineering. An...
iPhone Home Screen Gradient Blank Spaces 1

Sources: iOS 18 Lets Apps Be Placed Anywhere on Home Screen Grid

Sunday March 24, 2024 1:33 pm PDT by
iOS 18 will give iPhone users greater control over Home Screen app icon arrangement, according to sources familiar with the matter. While app icons will likely remain locked to an invisible grid system on the Home Screen, to ensure there is some uniformity, our sources say that users will be able to arrange icons more freely on iOS 18. For example, we expect that the update will introduce...
Generic iOS 18 Feature Purple

iOS 18: What to Expect From 'Biggest' Update in iPhone's History

Wednesday March 27, 2024 11:10 am PDT by
At least some Apple software engineers continue to believe that iOS 18 will be the "biggest" update in the iPhone's history, according to Bloomberg's Mark Gurman. Below, we recap rumored features and changes for the iPhone. "The iOS 18 update is expected to be the most ambitious overhaul of the iPhone's software in its history, according to people working on the upgrade," wrote Gurman, in a r...
maxresdefault

Apple Announces WWDC 2024 Event for June 10 to 14

Tuesday March 26, 2024 10:02 am PDT by
Apple today announced that its 35th annual Worldwide Developers Conference is set to take place from Monday, June 10 to Friday, June 14. As with WWDC events since 2020, WWDC 2024 will be an online event that is open to all developers at no cost. Subscribe to the MacRumors YouTube channel for more videos. WWDC 2024 will include online sessions and labs so that developers can learn about new...
apple maps 3d feature

Apple Maps May Gain Custom Routes With iOS 18

Tuesday March 26, 2024 3:10 pm PDT by
Apple may be planning to add support for "custom routes" in Apple Maps in iOS 18, according to code reviewed by MacRumors. Apple Maps does not currently offer a way to input self-selected routes, with Maps users limited to Apple's pre-selected options, but that may change in iOS 18. Apple has pushed an iOS 18 file to its maps backend labeled "CustomRouteCreation." While not much is revealed...
iPad Pro 2024 Landscape Camera Feature

New iPad Pro Again Rumored to Feature Landscape Front-Facing Camera

Monday March 25, 2024 5:43 am PDT by
The next-generation iPad Pro will feature a landscape-oriented front-facing camera for the first time, according to the Apple leaker known as "Instant Digital." Instant Digital reiterated the design change earlier today on Weibo with a simple accompanying 2D image. The post reveals that the entire TrueDepth camera array will move to the right side of the device, while the microphone will...
sonoma desktop wwdc

Apple Releases macOS Sonoma 14.4.1 With Fix for USB Hub Bug

Monday March 25, 2024 10:10 am PDT by
Apple today released macOS Sonoma 14.4.1, a minor update for the macOS Sonoma operating system that launched last September. macOS Sonoma 14.4.1 comes three weeks after macOS Sonoma 14.4. The ‌‌‌‌macOS Sonoma‌‌ 14.4‌.1 update can be downloaded for free on all eligible Macs using the Software Update section of System Settings. There's also a macOS 13.6.6 release for those who...