Python News: 2025 November //free\\
| PEP | Status | Summary | |-----|--------|---------| | | Accepted (Python 3.13) | Introduces guarded patterns and named captures inside case clauses, making match statements expressive enough to replace many ad‑hoc if/elif chains. | | PEP 704 – Precise Types for Callable | Accepted (Python 3.13) | Allows Callable[[int, str], bool] to be expressed with parameter variance , improving static analysis for higher‑order functions. | | PEP 705 – Built‑in typing.Final Runtime Checks | Implemented in 3.13 | Adds optional runtime enforcement of Final variables, helping catch accidental reassignments early. | | PEP 706 – Deprecate distutils | Finalized | The deprecation schedule completed; projects are now urged to migrate to setuptools or hatch . |
| Upgrade | Recommended Version | Immediate Benefits | |---------|----------------------|--------------------| | | 3.13.2 (or later) | Faster start‑up, pattern‑matching, Final checks. | | NumPy | 2.0.0 | Named tensors, SIMD on ARM, future‑proof for AI workloads. | | pandas | 2.2.0 | Lazy evaluation → memory savings on large ETL jobs. | | FastAPI | 0.110.x | OpenAPI 3.1 + async‑first ORM = easier modern API development. | | ruff | 0.4.x | New type‑checking capabilities for Final & Literal . | | Poetry | 1.7.x | Full pyproject.toml support on 3.13, visual dependency graphs. | python news 2025 november
: This release introduced the official "free-threading" build, allowing developers to run Python without the GIL for the first time in a stable release. While still experimental and requiring a specific build, it represents a "milestone moment" for true multi-core parallelism. | PEP | Status | Summary | |-----|--------|---------|