Python Updates: NumPy 2.0, Uvicorn & Jupyter releases
·21m 00s
Shared point
–
Episode Highlights
This episode of Python Bytes covers essential updates in the Python ecosystem, focusing on major releases for key data science tools and shifts in web server management.
Core Topics & Releases
- NumPy 2.0: The highly anticipated release of NumPy 2.0 is scheduled for June 16th. This major update includes significant breaking changes and performance improvements. A detailed migration guide is available, and users are encouraged to utilize
ruff(version 0.2.0 or higher) which includes specific rules to assist with the transition. - Uvicorn Multi-Process Manager: Uvicorn now includes its own built-in multi-process manager, effectively eliminating the need for
gunicornworkers. This new feature provides process keep-alive and hang detection, supporting both Linux and Windows. Note that the usage ofgunicornworkers for Uvicorn is officially deprecated. - Pixie: A new package management tool written in Rust designed to simplify Conda environments. It acts as an add-on or alternative to standard workflows, allowing users to build projects without having Python pre-installed.
- Jupyter Labs & Notebook: Updates to JupyterLab 4.2 and Notebook 7.2 have arrived, bringing improved workspace management, built-in access to "recent files," and a new "notebook windowing mode" to optimize browser performance when handling files with numerous interactive outputs.
Official Python Updates
- Python 3.13 Testing: The community is strongly encouraged to test Python 3.13, specifically focusing on the new free-threaded mode (the removal of the GIL). Testers are invited to report findings to help ensure compatibility across the ecosystem.
"NumPy is both, you're probably using it. I guess I'll just say that."