Releases: astral-sh/python-build-standalone
20241206
This release includes a fix for 20241205, please see that release for other changes.
Fixes
- Create a copy of
python3.13t.exe
atpython.exe
andpythonw3.13t.exe
atpythonw.exe
for free-threaded Windows distributions: 20241205 attempted to remove the3.13t
suffixed executables, but it caused a regression with the virtual environment launcher. A later release may consolidate these executables under unsuffixed name for consistency. In the meantime, a copy is a simple, compatible solution.
20241205
This release includes a regression for free-threaded Python 3.13 on Windows. No other distribution versions are affected. The regression is resolved in 20241206 See #405 for details.
Breaking
- Drop support for Python 3.8: The 20241008 release was the last release with Python 3.8 distributions. Support has now been removed from the build process.
- Rename
python3.13t.exe
topython.exe
in Windows free-threaded distributions: This matches the other Windows distributions. See astral-sh/uv#8298 for discussion.
Upgrades
- CPython 3.9.20 -> 3.9.21
- CPython 3.10.15 -> 3.10.16
- CPython 3.11.10 -> 3.11.11
- CPython 3.12.7 -> 3.12.8
- CPython 3.13.0 -> 3.13.1
- binutils 2.42 -> 2.43
- jom-windows-bin 1.1.3 -> 1.1.4
- mpdecimal 2.5.1 -> 4.0.0
- pip 24.1.2 -> 24.3.1
- setuptools 70.3.0 -> 75.6.0
- SQLite 3.46.0 -> 3.47.1
- strawberryperl 5.28.1.1 -> 5.38.2.2
- x11-util-macros 1.20.0 -> 1.20.1
Fixes
- Use relocatable shebang with space-in-path robustness
- Enable support for
dbstat
virtual tables in SQLite viaSQLITE_ENABLE_DBSTAT_VTAB
- Ensure that
Hacl_Hash_SHA2
does not appear as a library to link to
Other
- Build with Visual Studio 2022 instead of 2019
Full Changelog: 2024101...2024120
20241016
Upgrades
- OpenSSL 3.0.14 -> 3.0.15
- expat 2.5.0 -> 2.6.3
Fixes
- Fix freethreaded builds on Windows: The previous release published Windows distributions with the
freethreaded
tag but the GIL was not disabled. Now, the freethreaded Windows distributions are correct.
Full Changelog: 2024100...2024101
20241008
Upgrades
- CPython 3.13.0rc3 -> CPython 3.13.0 (final)
Changes
-
New builds of CPython 3.13 with the experimental freethreading feature are published. Distributions with the following new build options are available:
freethreaded+debug
freethreaded+pgo+lto
freethreaded+pgo
freethreaded+lto
freethreaded+noopt
Note that not all build options are available for every platform. Notably excluded are freethreaded builds for musl Linux distributions, which need further development. The
freethreaded
tag will be present in the newbuild_options
field of thePYTHON.json
metadata. -
The CPython 3.8 builds are no longer published. Following the release of CPython 3.13, CPython 3.8 is officially EOL and no more versions will be released upstream.
20241002
Upgrades
- CPython 3.12.6 -> 3.12.7
- CPython 3.13.0rc2 -> 3.13.0rc3
Other
- The
PYTHON.json
metadata version has been bumped from 7 to 8. The new version includes abuild_options
field which will eventually replace theoptimizations
field. Thebuild_options
field contains tags in the same format as theoptimizations
field. In this release, the contents are identical to theoptimizations
field, but in a future release, it will contain additional build options such as afreethreaded
tag. Theoptimizations
field is deprecated and will be removed in a future release. In the meantime, it will exclude any new tags added to thebuild_options
field that are not related to performance optimizations.
Full Changelog: 2024090...2024100
20240909
Upgrades
- OpenSSL 0.10.64 -> 0.10.66
- CPython 3.12.5 -> 3.12.6
- CPython 3.11.9 -> 3.11.10
- CPython 3.10.14 -> 3.10.15
- CPython 3.91.19 -> 3.9.20
- CPython 3.8.19 -> 3.8.20
Enhancements
- Added support for Python 3.13 (3.13.0rc2)
setuptools
is no longer bundled for Python 3.12+deepfreeze.o
is included in distributions
Other
- The
LICENSE
file was updated to reflect the correct license for the project (MPL 2.0) - The build system displays a better error when unable to connect to Docker
20240814
20240726
Need help choosing which build to use? See documentation at https://gregoryszorc.com/docs/python-build-standalone/20240725/running.html.
Upgrades
- LLVM 17.0.6 -> 18.0.8
- OpenSSL 3.0.13 -> 3.0.14
- SQLite 3.45.1 -> 3.46.0
- setuptools 69.1.0 -> 70.3.0
- pip 24.0 -> 24.1.2
- ncurses 6.4 -> 6.5
- libffi 3.4.4 -> 3.4.6
Enhancements
- A new
install_only_stripped
variant is now included in the release (#279). These builds are constructed by taking theinstall_only
variant for each platform and stripping any debug symbols. The resulting builds are significantly smaller, especially on Windows and Linux, but omit debugging symbols. Theinstall_only
builds continue to preserve such symbols.
Full Changelog: 2024071...2024072
20240725
This release was yanked as it lacks the install_only
variants.
20240713
Need help choosing which build to use? See documentation at https://gregoryszorc.com/docs/python-build-standalone/20240713/running.html.
Upgrades
- CPython 3.12.3 -> 3.12.4
Full Changelog: 2024041...2024071