Wednesday, June 11, 2025

Python 3.13.5 is now available!

When I was younger we would call this a brown paper bag release, but actually, we shouldn’t hide from our mistakes. We’re only human. So, please enjoy:

Python 3.13.5

 

 

This is the fifth maintenance release of Python 3.13

Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.5 is the fifth maintenance release of 3.13.

3.13.5 is an expedited release to fix a couple of significant issues with the 3.13.4 release:

  • gh-135151: Building extension modules on Windows for the regular (non-free-threaded) build failed.
  • gh-135171: Generator expressions stopped raising TypeError (when iterating over non-iterable objects) at creation time, delaying it to first use.
  • gh-135326: Passing int-like objects (like numpy.int64) to random.getrandbits() failed, when it worked before.

Several other bug fixes (which would otherwise have waited until the next release) are also included. Special thanks to everyone who worked hard the last couple of days to fix these issues as quickly as possible.

Full Changelog

More resources

 

Stay safe and upgrade!

As always, upgrading is highly recommended to all users of 3.13.

 

Enjoy the new releases

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 organization contributions to the Python Software Foundation.

Regards from hey, it’s us again, your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa