r/apple • • Jun 04 '19

Apple will soon be removing Python, Perl, and Ruby from macOS

From the macOS 10.15 beta release notes, under the "Scripting Language Runtimes" section:

https://developer.apple.com/documentation/macos_release_notes/macos_10_15_beta_release_notes

Apparently Apple is planning to remove all of these scripting language runtimes from macOS in a future release. This is very irritating, as all the software out there that relies on these runtimes can no longer assume they will exist on any user's system and will have to bundle it themselves, or remove their reliance on it.

This decision makes no sense to me. Being able to assume those scripting runtimes exist on any macOS system was one of the things that made it great. It's not like these were burning a hole in people's hard drives either -- they're small in the grand scheme of things. All this does is make developer's lives more difficult and cause there to be tons of redundant runtimes in various app bundles. Who does this benefit? Why is it important?

edit: Seems most people quite like that they're removing Python et al, especially due to it being an outdated version. Fair enough!

538 Upvotes

195 comments sorted by

View all comments

Show parent comments

14

u/aeiou372372 Jun 05 '19

Once you understand how python imports work and how to manage an environment, I think pip is pretty straightforward to use. In the grand scheme I think python is pretty far from having one of the worst package managers.

Don’t get me started on package management for the Mac native languages — Objective C, Swift, and (maybe) C++. If you think python is bad, in comparison those languages are a train wreck.

12

u/asstalos Jun 05 '19

python is pretty far from having one of the worst package managers.

Trade-off is that Python's standard library has great breadth and depth and working with other packages isn't too painful.

Contrast to say npm and the massive node_modules folder...

4

u/ZacharyM123 Jun 05 '19

npm is a fantastic package manager, it always works. On the off chance it doesn’t, delete node modules and npm i, everything back to normal

5

u/zxrax Jun 05 '19 edited Jun 05 '19

I keep patiently waiting for a first party package manager for swift, and every WWDC I am disappointed. apparently my wishes came true this year!

7

u/TheCracchen Jun 05 '19

Swift package manager was announced and is supported in Xcode 11 for Swift, C, and C++ code

3

u/zxrax Jun 05 '19

Sweet! That’s exciting.

3

u/huxrules Jun 05 '19

Didn't they just announce one in the state of the platforms?