予定通り、2025-04-09(日本時間)に Python 3.13.3 がリリースされました。
https://www.python.org/downloads/release/python-3132/
(以下、Google Chromeで翻訳)
ここから======
Python 3.13.3
発売日: 2025年4月8日
これはPython 3.13の3回目のメンテナンスリリースです。
Python 3.13 は Python プログラミング言語の最新のメジャー リリースであり、Python 3.12 と比較して多くの新機能と最適化が含まれています。3.13.3 は最新のメンテナンス リリースであり、3.13.2 以降、約 320 件のバグ修正、ビルドの改善、ドキュメントの変更が含まれています。
======ここまで
ソースはこの中の以下のものです。(XZ圧縮版)
https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
MD5 8bb5f0b8c9d9d7b87d7d98510e8d58e5
$ wget https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
--2025-04-09 00:42:30-- https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
Resolving www.python.org (www.python.org)... 2a04:4e42:400::223, 2a04:4e42:600::223, 2a04:4e42::223, ...
Connecting to www.python.org (www.python.org)|2a04:4e42:400::223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22654240 (22M) [application/octet-stream]
Saving to: ‘Python-3.13.3.tar.xz’
Python-3.13.3.tar.x 100%[===================>] 21.60M 39.4MB/s in 0.5s
2025-04-09 00:42:31 (39.4 MB/s) - ‘Python-3.13.3.tar.xz’ saved [22654240/22654240]
$
$ wget https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
--2025-04-09 00:44:27-- https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
Resolving www.python.org (www.python.org)... 2a04:4e42:600::223, 2a04:4e42::223, 2a04:4e42:200::223, ...
Connecting to www.python.org (www.python.org)|2a04:4e42:600::223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 963 [application/octet-stream]
Saving to: ‘Python-3.13.3.tar.xz.asc’
Python-3.13.3.tar.x 100%[===================>] 963 --.-KB/s in 0s
2025-04-09 00:44:27 (23.3 MB/s) - ‘Python-3.13.3.tar.xz.asc’ saved [963/963]
$
$ gpg --verify Python-3.13.3.tar.xz.asc
gpg: assuming signed data in 'Python-3.13.3.tar.xz'
gpg: Signature made Tue 08 Apr 2025 18:09:21 BST
gpg: using RSA key 7169605F62C751356D054A26A821E680E5FA6305
gpg: Good signature from "Thomas Wouters <thomas@python.org>" [unknown]
gpg: aka "Thomas Wouters <thomas@xs4all.nl>" [unknown]
gpg: aka "Thomas Wouters <twouters@google.com>" [unknown]
gpg: aka "Thomas Wouters <thomas.wouters.prive@gmail.com>" [unknown]
gpg: aka "Thomas Wouters <thomaswout@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7169 605F 62C7 5135 6D05 4A26 A821 E680 E5FA 6305
$
$ md5sum Python-3.13.3.tar.xz; echo '8bb5f0b8c9d9d7b87d7d98510e8d58e5'
8bb5f0b8c9d9d7b87d7d98510e8d58e5 Python-3.13.3.tar.xz
8bb5f0b8c9d9d7b87d7d98510e8d58e5
$
ダウンロードしたファイルはこのように基本的な確認をすることをお勧めします。
Python3をインストールしている環境を設定します。ここでは、python3.sh でまとめてあります。
$ source python3.sh
早速、インストールしてみましょう。
$ tar xvf Python-3.13.3.tar.xz
$ cd Python-3.13.3
$ ./configure --prefix=/usr/local/python --with-readline --enable-shared --enable-optimizations
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for Python interpreter freezing... ./_bootstrap_python
checking for python3.13... python3.13
checking Python for regen version... Python 3.13.2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking MACHDEP... "linux"
..................................................
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Misc/python.pc
config.status: creating Misc/python-embed.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/Setup.bootstrap
config.status: creating Modules/Setup.stdlib
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
configure: creating Modules/Setup.local
configure: creating Makefile
$
$ time make
Running code to generate profile data (this can take a while):
# First, we need to create a clean build with profile generation
# enabled.
make profile-gen-stamp
................................................................................
The necessary bits to build these optional modules were not found:
_dbm
To find the necessary bits, look in configure.ac and config.log.
Checked 112 modules (33 built-in, 77 shared, 1 n/a on linux-aarch64, 0 disabled, 1 missing, 0 failed on import)
make[1]: Leaving directory '/home/espiya/src/Python-3.13.3'
real 51m30.279s
user 49m11.255s
sys 1m35.573s
$
$ su
# make install
.................................................................................
Processing /tmp/tmp194d334c/pip-25.0.1-py3-none-any.whl
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.3.1
Uninstalling pip-24.3.1:
Successfully uninstalled pip-24.3.1
Successfully installed pip-25.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#
pip も自動的にアップデートされました。
環境変数も設定済みですので、バージョンの確認を行います。
$ python3 --version
Python 3.13.3
$ python3
Python 3.13.3 (main, Apr 9 2025, 01:53:38) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
$
今回も無事にインストールできました。こちらのブログでは、今後 Python 3.13.3 を使います。
補足ですが、こちらの環境ではすでに3.13.2 とかインストール済みなので特に問題なくインストールできていますが、初めての場合でうまくできない場合は、
https://blog.goo.ne.jp/espiya/e/fdf200d42183170e14bd374987749a7d
などを参照して必要なライブラリ等を事前にインストールしておく必要があります。
https://www.python.org/downloads/release/python-3132/
(以下、Google Chromeで翻訳)
ここから======
Python 3.13.3
発売日: 2025年4月8日
これはPython 3.13の3回目のメンテナンスリリースです。
Python 3.13 は Python プログラミング言語の最新のメジャー リリースであり、Python 3.12 と比較して多くの新機能と最適化が含まれています。3.13.3 は最新のメンテナンス リリースであり、3.13.2 以降、約 320 件のバグ修正、ビルドの改善、ドキュメントの変更が含まれています。
======ここまで
ソースはこの中の以下のものです。(XZ圧縮版)
https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
MD5 8bb5f0b8c9d9d7b87d7d98510e8d58e5
$ wget https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
--2025-04-09 00:42:30-- https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz
Resolving www.python.org (www.python.org)... 2a04:4e42:400::223, 2a04:4e42:600::223, 2a04:4e42::223, ...
Connecting to www.python.org (www.python.org)|2a04:4e42:400::223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22654240 (22M) [application/octet-stream]
Saving to: ‘Python-3.13.3.tar.xz’
Python-3.13.3.tar.x 100%[===================>] 21.60M 39.4MB/s in 0.5s
2025-04-09 00:42:31 (39.4 MB/s) - ‘Python-3.13.3.tar.xz’ saved [22654240/22654240]
$
$ wget https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
--2025-04-09 00:44:27-- https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz.asc
Resolving www.python.org (www.python.org)... 2a04:4e42:600::223, 2a04:4e42::223, 2a04:4e42:200::223, ...
Connecting to www.python.org (www.python.org)|2a04:4e42:600::223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 963 [application/octet-stream]
Saving to: ‘Python-3.13.3.tar.xz.asc’
Python-3.13.3.tar.x 100%[===================>] 963 --.-KB/s in 0s
2025-04-09 00:44:27 (23.3 MB/s) - ‘Python-3.13.3.tar.xz.asc’ saved [963/963]
$
$ gpg --verify Python-3.13.3.tar.xz.asc
gpg: assuming signed data in 'Python-3.13.3.tar.xz'
gpg: Signature made Tue 08 Apr 2025 18:09:21 BST
gpg: using RSA key 7169605F62C751356D054A26A821E680E5FA6305
gpg: Good signature from "Thomas Wouters <thomas@python.org>" [unknown]
gpg: aka "Thomas Wouters <thomas@xs4all.nl>" [unknown]
gpg: aka "Thomas Wouters <twouters@google.com>" [unknown]
gpg: aka "Thomas Wouters <thomas.wouters.prive@gmail.com>" [unknown]
gpg: aka "Thomas Wouters <thomaswout@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7169 605F 62C7 5135 6D05 4A26 A821 E680 E5FA 6305
$
$ md5sum Python-3.13.3.tar.xz; echo '8bb5f0b8c9d9d7b87d7d98510e8d58e5'
8bb5f0b8c9d9d7b87d7d98510e8d58e5 Python-3.13.3.tar.xz
8bb5f0b8c9d9d7b87d7d98510e8d58e5
$
ダウンロードしたファイルはこのように基本的な確認をすることをお勧めします。
Python3をインストールしている環境を設定します。ここでは、python3.sh でまとめてあります。
$ source python3.sh
早速、インストールしてみましょう。
$ tar xvf Python-3.13.3.tar.xz
$ cd Python-3.13.3
$ ./configure --prefix=/usr/local/python --with-readline --enable-shared --enable-optimizations
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for Python interpreter freezing... ./_bootstrap_python
checking for python3.13... python3.13
checking Python for regen version... Python 3.13.2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking MACHDEP... "linux"
..................................................
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Misc/python.pc
config.status: creating Misc/python-embed.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/Setup.bootstrap
config.status: creating Modules/Setup.stdlib
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
configure: creating Modules/Setup.local
configure: creating Makefile
$
$ time make
Running code to generate profile data (this can take a while):
# First, we need to create a clean build with profile generation
# enabled.
make profile-gen-stamp
................................................................................
The necessary bits to build these optional modules were not found:
_dbm
To find the necessary bits, look in configure.ac and config.log.
Checked 112 modules (33 built-in, 77 shared, 1 n/a on linux-aarch64, 0 disabled, 1 missing, 0 failed on import)
make[1]: Leaving directory '/home/espiya/src/Python-3.13.3'
real 51m30.279s
user 49m11.255s
sys 1m35.573s
$
$ su
# make install
.................................................................................
Processing /tmp/tmp194d334c/pip-25.0.1-py3-none-any.whl
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.3.1
Uninstalling pip-24.3.1:
Successfully uninstalled pip-24.3.1
Successfully installed pip-25.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
#
pip も自動的にアップデートされました。
環境変数も設定済みですので、バージョンの確認を行います。
$ python3 --version
Python 3.13.3
$ python3
Python 3.13.3 (main, Apr 9 2025, 01:53:38) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
$
今回も無事にインストールできました。こちらのブログでは、今後 Python 3.13.3 を使います。
補足ですが、こちらの環境ではすでに3.13.2 とかインストール済みなので特に問題なくインストールできていますが、初めての場合でうまくできない場合は、
https://blog.goo.ne.jp/espiya/e/fdf200d42183170e14bd374987749a7d
などを参照して必要なライブラリ等を事前にインストールしておく必要があります。
※コメント投稿者のブログIDはブログ作成者のみに通知されます