Python 3.14.5 is here, with a new (old) garbage collector!

Python 3.14.5 final is the fifth maintenance release of 3.14, containing around 154 bugfixes, build improvements and documentation changes since 3.14.4.

Garbage collector

Notably, the garbage collector (GC) has changed in Python 3.14.5.

The incremental garbage collector shipped in Python 3.14.0-3.14.4 has been reverted back to the generational garbage collector from 3.13, due to a number of reports of significant memory pressure in production environments. See What’s New and discuss.python.org for details.

Tcl/Tk 9 on macOS

The official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

Major new features of the 3.14 series, compared to 3.13

Some of the major new features and changes in Python 3.14 are:

New features

For more details on the changes to Python 3.14, see What’s new in Python 3.14.

Build changes

Removals and new deprecations

Python install manager

The installer we offer for Windows is being replaced by our new install manager, which can be installed from the Windows Store or from its download page. See our documentation for more information. The JSON file available for download contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.

More resources

And now for something completely different

I asked Guinness World Record holder Rodrigo Girão Serrão for a fun π fact:

Euler’s identity says that e + 1 = 0 and is often cited as an equality of profound mathematical elegance, since it relates five of the most fundamental mathematical constants: 0, 1, π, e, and i. A mathematics professor at Stanford University has said “like a Shakespearean sonnet that captures the very essence of love, or a painting that brings out the beauty of the human form that is far more than just skin deep, Euler’s equation reaches down into the very depths of existence”.

Source

Enjoy the new release

Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the Python Software Foundation.

Regards from Helsinki with nearly 17 hours of daylight,

Your release team,
Hugo van Kemenade @hugovk
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv

15 Likes

When I try to run freshly downloaded python-3.14.5-amd64.exe, I get the message, on a blue popup, “Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.” Never seen before. New 3.15.0b1 runs normally. Anyone else see the same?

2 Likes

Yes, exactly the same here. I’m on an up-to-date Win10 Pro (under “extended security” support).

You can go on to click “more info” and then “run anyway”.

2 Likes

I’ve been unable to run the installer directly for several point releases now (the alphas/betas don’t seem to have this problem). This is the first version where I get this specific complaint - previously it was saying I didn’t have permission. I’ve been getting around it by letting winget do the upgrade, it doesn’t seem to be hampered with the same problem. [and no, I haven’t switched to the new install manager yet, been putting it off because this is kind of a messy environment with a ton of Pythons, including unsupported ones, for testing. Soon.]

Just for transparency, I’m looking into the SmartScreen warnings and trying to figure out how best to avoid or reduce them in the future (other than “switch to the install manager”, which still may not work if it just transfers the warning to python.exe). I’ll share whatever I can when I find out.

In the meantime, as far as we’re aware, there are no problems with the installer. When enough people have “Run anyway” then SmartScreen will learn that it’s okay and stop warning people.

5 Likes
1 Like

CI images now has 3.15b1.

1 Like

No warning just now.

1 Like