Python Release 3.13.1 December 2025 | [repack]
# Configure & compile (optimised) ./configure --enable-optimizations --with-lto make -j$(nproc) sudo make altinstall # installs as `python3.13`, leaves `python3` untouched
| Issue | Description | Work‑around | |-------|-------------|-------------| | | A regression introduced in 3.13.0. | Use the -X faulthandler flag to get a stack trace, or downgrade to 3.13.0‑rc2 if critical. | | zoneinfo on some older glibc versions fails to locate the IANA database | Affects embedded Linux containers built before 2025‑07. | Set TZDIR=/usr/share/zoneinfo explicitly or install the tzdata package. | | asyncio task cancellation race (rare) | Occasionally a cancelled task still runs finalizer code. | Wrap cancellable sections in asyncio.timeout(…) (PEP 678) to guarantee cleanup. | | pip still warns about legacy setup.py install | Not a Python‑core bug, but the warning can be noisy. | Run pip install . (which uses PEP 517) or add --disable-pip-version-check . | python release 3.13.1 december 2025
# Or move: src.move_to(dst, replace_existing=True) # Configure & compile (optimised)
# Prereqs (Ubuntu example) sudo apt-get update && sudo apt-get install -y \ build-essential libssl-dev zlib1g-dev libncurses5-dev \ libncursesw5-dev libreadline-dev libsqlite3-dev wget curl \ libbz2-dev libffi-dev liblzma-dev tk-dev uuid-dev | | pip still warns about legacy setup
For detailed technical notes, you can view the official Python 3.13.1 changelog on the Python.org Downloads page. What's New In Python 3.13 — Python 3.14.4 documentation