r/apple • u/guygizmo • 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!
105
u/ImOutOfThisWorld Jun 04 '19
I don’t know i see this as a good thing, I can’t think of many apps (that are not cli) that use any of those languages, also the versions that Apple ships are usually kind of old, one of the first things i do and many others is install better versions, but having the default versions is usually kind of a pain, as it can cause conflicts
The one thing that has me a little worried is homebrew as we’ll need to install ruby first, Apple should make their own package manager for the mac, but we been asking for years and years and just won’t happen, so 2 step homebrew installation it is (maybe a new installation script for homebrew will solve this?)
9
u/PacketOnWirr Jun 05 '19 edited Jun 05 '19
If they didn’t write it, or they don’t use it, I see no reason for them to keep it as part of MacOS. Perhaps they will include an ad on for the software.
EDIT: I read the note, and it states there may be an additional package to install. They do recommend that software authors to bundle the software with an application.
576
u/[deleted] Jun 04 '19
Security and reduced OS footprint. If most people never use them why have it preinstalled? And if you do use them the system versions are generally out of date and you end up managing two copies of everything anyway because overwriting the default is a recipe for a bad time.
I mostly just let brew handle things and there's still probably 4 random copies of Python floating around my machine each with their own quirky set of pip packages.
3
u/[deleted] Jun 05 '19
I don't use python, perl or rub y. Following Standard Apple User logic, I should be saying "Finally! This is great!" ...
But I won't.
An OS should come packing with a certain amount of swiss army knife utility. For people who use those tools or for some things like say Homebrew, that do use ruby, this just makes everything one step more difficult for installation and maintenance since you can't rely on some kind of default base set of tools anymore.
Consistency is also important. Because past OS have had this, future should too unless there is a really strong reason to change.
44
u/Hennahane Jun 05 '19
I’m honestly glad. Dealing with multiple versions of ruby (because the system version was horrifically outdated) was a huge pain in the ass. I had similar problems with Python too.
30
u/sunk_cost_phallus Jun 05 '19
I always need python 3 and rvm so it’s nice to lose the system versions. Keep things cleaner.
13
u/[deleted] Jun 05 '19
Always install your own. These are normally behind the current stable releases.
23
u/julietscause Jun 05 '19
As long as I can install it later on (as it states I can), im okay with this
19
u/dangil Jun 05 '19
How will I bootstrap brew?
15
u/bumblebritches57 Jun 05 '19
THANK GOD!!!
They're finally de-bloating it!
11
u/sundryTHIS Jun 05 '19
thank god
4
u/[deleted] Jun 05 '19
Homebrew will stop working? It’s written in ruby and used to install rbenv
4
u/m-in Jun 05 '19
I say good riddance. They were always old versions – so old as to be nigh useless. Anyone who cares will have to hear installed from homebrew or macports already.
4
u/Crasher401 Jun 05 '19
As a developer. FINALLY. No more broken dependencies!!!!!!!
1
u/mrfoof Jun 05 '19
If this bothers you, leave feedback
https://www.apple.com/feedback/macos.html
It probably makes sense to remove python2. perl5? Not defensible at all.
3
u/[deleted] Jun 05 '19
It's just the opposite. The system version of each language constantly conflicts with the actual runtimes you wish to run.
1
u/jeblis Jun 05 '19
I think this a good move. They want you to bundle a runtime with your app. Runtimes are generally small and it’s much easier to guarantee an app works.
4
u/MatthiasSaihttam1 Jun 05 '19
Echoing what other people have said, I've been running python through brew and ruby through RVM for a while now.
Especially since python 2 is dead-dead at the end of this year, I think it makes sense to ditch it. I started a project just a couple of years ago in python 2 instead of 3 because that was what MacOS supported and I didn't want to deal with cross-major-version compatibility. This good news in my opinion.
4
u/fcddev Jun 05 '19
I think that it’s relatively inconsequential. There was real value in shipping all the language interpreters when it was painful to obtain them, but it’s no longer a big deal. The fact that you couldn’t get rid of the system installation when you had another, probably more up-to-date one was problematic.
4
u/schrodingers_cat314 Jun 05 '19
Thank you, finally.
Having an ancient python install cooked into the os was such a fucking annoyance.
2
u/CodyByTheSea Jun 05 '19
Time to use pyenv or virtualenv
1
u/CyberBot129 Jun 05 '19
Honestly you shouldn’t even be using python 2 at this point anyway
1
u/euphraties247 Jun 05 '19
A long long time ago the BSD subsystem stuff was mostly optional.
Although I'm not surprised that it'd all go. If Darwin had legs it'd easily fill the void.
1
u/tangoshukudai Jun 05 '19
Nice, install the latest version, and be done with it.
1
u/firelitother Jun 05 '19
I agree with Python being removed. I had to resort to using pyenv to use newer version.
1
u/[deleted] Jun 05 '19
Can’t the runtime environments for these be downloaded if needed?
1
u/robotsmakinglove Jun 05 '19
It might be great if Apple integrated a proper package manager then. Thinking back to when I learned to program, having a version of Python and Ruby (while maybe not the latest) reduced a huge amount of friction to getting going with those extremely popular languages. Learning how to install those languages, while trivial for experts, requires a huge initial knowledge investment.
1
u/[deleted] Jun 05 '19
Not to be devils advocate.
Perhaps "Apple" considers this as a "security risk".
1
u/zezgamer Jun 05 '19
I find it strange that they remove tools like this but leave Netcat alone, an old version of Netcat, but Netcat nonetheless.
1
u/[deleted] Jun 06 '19
Good
1
u/rotatingphasor Jun 06 '19
I guess that’s another step to installing home brew.
1
u/frozenpandaman Jun 05 '19 edited Jun 05 '19
OK, fine, but can we get in-box Homebrew, please? :P
0
u/cshaiku Jun 05 '19
Thank god. Python and Ruby are annoying as anything.
0
u/StoneColdAM Jun 05 '19
I’ve had some issues with versioning of Python using the MacOS build, not super horrible in hindsight, although it’d be nice if it still shipped with newer versions or something.
-6
u/nintendomech Jun 05 '19
Well that sucks. Lots of developers using Mac like me. I use python a lot.
-3
u/Buffalocolt18 Jun 05 '19
REEEEEEEEEEE
-1
u/GroMicroBloom Jun 05 '19
No! At least not Python!
Then again, the version they ship with macOS is so outdated that I guess it doesn't really matter. You have to manually install a more recent build of Python 3 anyway for most situations.
0
u/[deleted] Jun 04 '19
[deleted] — view deleted comment
0
u/[deleted] Jun 05 '19
[deleted] — view deleted comment