Bump mypy from 1.19.1 to 2.1.0
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(about 1 month ago)
(22 days ago)
dependencies python
Bumps mypy from 1.19.1 to 2.1.0.
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 2.1
We’ve just uploaded mypy 2.1.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
librt.vecs: Fast Growable Array Type for Mypyc
The new
librt.vecsmodule provides an efficient growable array typevecthat is optimized for mypyc use. It provides fast, packed arrays with integer and floating point value types, which can be several times faster thanlist, and tens of times faster thanarray.arrayin code compiled using mypyc. It also supports nestedvecobjects and non-value-type items, such asvec[vec[str]].Refer to the documentation for the details.
Contributed by Jukka Lehtosalo.
librt.random: Fast Pseudo-Random Number Generation
The new
librt.randommodule provides fast pseudo-random number generation that is optimized for code compiled using mypyc. It can be 3x to 10x faster than the stdlibrandommodule in compiled code.Refer to the documentation for the details.
Contributed by Jukka Lehtosalo (PR 21433).
Mypyc Improvements
- Make compilation order with multiple files consistent (Piotr Sawicki, PR 21419)
- Fix crash on accessing
StopAsyncIteration(Piotr Sawicki, PR 21406)- Fix incremental compilation with
separateflag (Vaggelis Danias, PR 21299)Fixes to Crashes
- Fix crash on partial type with
--allow-redefinitionandglobaldeclaration (Jukka Lehtosalo, PR 21428)- Fix broken awaitable generator patching (Ivan Levkivskyi, PR 21435)
Changes to Messages
... (truncated)
Commits
c1c336dRemove +dev from version74df14bAdd changelog for mypy 2.1 (#21464)022d9bcRevert "TypeForm: Enable by default (#21262)"8826288[mypyc] Document librt.random (#21463)3f4067bBump librt version to 0.11.0 (#21458)2b1eb58[mypyc] Enable incremental self-compilation (#21369)8152f4aRespect file config comments for stale modules (#21444)116d60bFix nondeterminism from nonassociativity of overload joins (#21455)6c4af8eFix function call message change for small number of args (#21432)4b8fdca[mypyc] Add librt.random module (#21433)- Additional commits viewable in compare view
Package Dependencies
Technical Details
| ID: | 15855725 |
| UUID: | 4336964034 |
| Node ID: | PR_kwDOBh1EQc7WBdG6 |
| Host: | GitHub |
| Repository: | python-openapi/openapi-spec-validator |