PEP745
https://peps.python.org/pep-0745/
の告知通り、2月3日(日本時間 2月4日)に Python3.14.3 がリリースされました。
https://www.python.org/downloads/release/python-3143/
によると、
ここから======
これはPython 3.14の3回目のメンテナンスリリースです。
Python 3.14.3 は 3.14 の 3 回目のメンテナンス リリースで、3.14.2 以降の約 299 件のバグ修正、ビルドの改善、ドキュメントの変更が含まれています。
======ここまで
主にバグ修正ですね。このページの下の方に面白いことが書いてありました。
ここから======
And now for something completely different
Today is the third day of the second month and √3 + √2 ≈ π.
======ここまで
つまり、
>>> 2**0.5 + 3**0.5
3.1462643699419726
>>>
ですね。
早速、ソースをダウンロートしてみます。
https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz
SHA-256 Checksum :
a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz.sigstore
の2つです。
$ wget https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz
--2026-02-04 06:32:37-- https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz
Resolving www.python.org (www.python.org)... 2a04:4e42:200::223, 2a04:4e42:400::223, 2a04:4e42:600::223, ...
Connecting to www.python.org (www.python.org)|2a04:4e42:200::223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23778568 (23M) [application/octet-stream]
Saving to: ‘Python-3.14.3.tar.xz’
Python-3.14.3.tar.x 100%[===================>] 22.68M 11.0MB/s in 2.1s
2026-02-04 06:32:39 (11.0 MB/s) - ‘Python-3.14.3.tar.xz’ saved [23778568/23778568]
$
$ wget https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz.sigstore
--2026-02-04 06:33:04-- https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz.sigstore
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: 5215 (5.1K) [application/octet-stream]
Saving to: ‘Python-3.14.3.tar.xz.sigstore’
Python-3.14.3.tar.x 100%[===================>] 5.09K --.-KB/s in 0s
2026-02-04 06:33:04 (18.6 MB/s) - ‘Python-3.14.3.tar.xz.sigstore’ saved [5215/5215]
$
$ sha256sum Python-3.14.3.tar.xz;echo a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b Python-3.14.3.tar.xz
a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
$
$ sigstore verify identity Python-3.14.3.tar.xz --
bundle Python-3.14.3.tar.xz.sigstore --cert-identity hugo@python.org --cert-oidc
-issuer 'https://github.com/login/oauth'
OK: Python-3.14.3.tar.xz
$
ダウンロードしたファイルの検証は必ず行いましょう。チェックサムは MD5 から SHA256 になってました。もはや、MD5は使うべきではないと言うことのようです。
xzファイルを展開して、ビルドします。今回は時間は計っていませんがやはり1時間くらいはかかりました。
$ tar xf Python-3.14.3.tar.xz
$ cd Python-3.14.3
$ python3 --version
Python 3.14.2
$
$ ./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.14... python3.14
checking Python for regen version... Python 3.14.2
checking for pkg-config... /usr/bin/pkg-config
....................
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
$
$ 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
make[1]: Entering directory '/home/espiya/src/Python-3.14.3'
make clean-profile
....................
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 114 modules (36 built-in, 76 shared, 1 n/a on linux-aarch64, 0 disabled, 1 missing, 0 failed on import)
LD_LIBRARY_PATH=/home/espiya/src/Python-3.14.3:/usr/local/python/lib:/home/espiya/local/lib ./python -E ./Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json
make[1]: Leaving directory '/home/espiya/src/Python-3.14.3'
$
# maki install
if test "no-framework" = "no-framework" ; then \
/usr/bin/install -c python /usr/local/python/bin/python3.14; \
else \
/usr/bin/install -c -s Mac/pythonw /usr/local/python/bin/python3.14; \
fi
.................................
#
テストしてみます。
$ python3 --version
Python 3.14.3
$ pip3 --version
pip 25.3 from /usr/local/python/lib/python3.14/site-packages/pip (python 3.14)
$
いつものように無事にインストールできました。今後は、Python 3.14.3 を使うようにします。
- 前ページ
- 次ページ