Apple、macOS 11 Big SurにmacOS 10.15 Catalinaと同じPython 2.7.16やRuby 2.6.3p62などを同梱してリリース。

macOS 11 Big Surに同梱されているスクリプト言語のバージョン macOS 11 Big Sur
記事内に広告が含まれています。
スポンサーリンク
スポンサーリンク
スポンサーリンク

 AppleがmacOS 11 Big SurにmacOS 10.15 Catalinaと同じPython 2.7.16やRuby 2.6.3p62などを同梱してリリースしています。詳細は以下から。

macOS 11 Big Surのターミナルアイコン

 Appleは2018~2019年にリリースしたmacOS 10.14 MojaveとmacOS 10.15 Catalinaにレガシーなソフトウェアとの互換性を持たせるためとして、2020年にEOL(End of Life)を迎えるPython 2.7.16を同梱して出荷し、一部の開発者から批判されましたが、本日リリースされたmacOS 11 Big Surでも同じく「Python 2.7.16」が同梱されています。

macOS 11 Big Surに同梱されているスクリプト言語のバージョン

[Mac]$python 
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.

 Mac OS X 10.7 LionからmacOS 11 Big Surまでに同梱されているスクリプト言語のバージョンは以下の通りで、macOS 11 Big SurはCatalinaと同じくデフォルトのPythonを利用しようとすると「将来のmacOSにはPython 2.7は同梱されなくなる」という警告が表示され、Command Line Toolsに同梱されているPython 3をダウンロードして利用するように勧められます。

python 3が同梱されているCommand Line Tools

コードネーム Version
Build
Python Ruby Perl PHP
Mac OS X
Lion
10.7.5
Build 11G63
2.7.1 1.8.7 5.12.3 5.3.15
OS X
Mountain Lion
10.8.5
Build 12F2560
2.7.2 5.12.4 5.3.29
OS X
Mavericks
10.9.5
Build 13F1112
2.7.5 2.0.0p481 5.16.2 5.4.43
OS X
Yosemite
10.10.5
Build 14F2511
2.7.10 5.18.2 5.5.38
OS X
El Capitan
10.11.6
Build 15G19009
2.0.0p648
macOS
Sierra
10.12.5
Build 16F73
5.6.30
macOS
High Sierra
10.13.4
Build 17F199
2.3.3p222 7.1.14
macOS
Mojave
10.14.6
Build 18G103
2.3.7p456 5.18.4 7.1.23
macOS
Catalina
10.15
Build 19A583
2.7.16 2.6.3p62 7.3.8
macOS Big Sur 11.0
Build 20B28
5.28.2 7.3.22

おまけ

 開発者向けに公開されたmacOS 11 Big Surでは特に何も触れられませんでしたが、AppleはmacOS 10.15 CatalinaのBeta版リリース時に、今後のmacOSにはデフォルトでスクリプト言語のランタイムを同梱せず、追加パッケージとして提供すると発表しており、

Scripting Language Runtimes

Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)

macOS Catalina 10.15 Release Notes – Apple Developer Documentation

WWDC20ではApple Silicon搭載のMacで開発者がアプリの移植を迅速に進められるように、現在広く利用されているBlenderやChromium、Electron、FFmpeg、Monoなどのオープンソースプロジェクト・プロジェクトやソフトウェアに今後パッチを提供すると発表し、その中にはPythonも含まれています。

Apple Silicon patches for OSS

コメント

  1. 匿名 より:

    デフォでスクリプトが使えるのもmacの良いところだと思っているのでこの方針は残念

タイトルとURLをコピーしました