HACKINTOSH.ORG | Macintosh discussion forums

Macintosh News => Apple News => Topic started by: HCK on January 31, 2022, 04:05:07 pm



Title: Apple Finally Removing Python 2 in macOS 12.3
Post by: HCK on January 31, 2022, 04:05:07 pm
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 (https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python) 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.





(https://images.macrumors.com/article-new/2022/01/macOS-Monterey-Python.jpg)


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 (https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes#Scripting-Language-Runtimes) 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.<div class="linkback">Related Roundup: macOS Monterey (https://www.macrumors.com/roundup/macos-12/)</div><div class="linkback">Related Forum: macOS Monterey (https://forums.macrumors.com/forums/macos-monterey.234)</div>
This article, &quot;Apple Finally Removing Python 2 in macOS 12.3 (https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/)&quot; first appeared on MacRumors.com (https://www.macrumors.com)

Discuss this article (https://forums.macrumors.com/threads/apple-finally-removing-python-2-in-macos-12-3.2332855/) in our forums

<div class="feedflare">
<img src="http://feeds.feedburner.com/~ff/MacRumors-Front?d=yIl2AUoC8zA" border="0"></img> (http://feeds.macrumors.com/~ff/MacRumors-Front?a=pPzGvTsCzNc:_X5o5JMlhN0:yIl2AUoC8zA) <img src="http://feeds.feedburner.com/~ff/MacRumors-Front?d=6W8y8wAjSf4" border="0"></img> (http://feeds.macrumors.com/~ff/MacRumors-Front?a=pPzGvTsCzNc:_X5o5JMlhN0:6W8y8wAjSf4) <img src="http://feeds.feedburner.com/~ff/MacRumors-Front?d=qj6IDK7rITs" border="0"></img> (http://feeds.macrumors.com/~ff/MacRumors-Front?a=pPzGvTsCzNc:_X5o5JMlhN0:qj6IDK7rITs)
</div>

Source: Apple Finally Removing Python 2 in macOS 12.3 (https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/)