Bump mypy from 1.20.2 to 2.0.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(29 days ago)
(24 days ago)
(24 days ago)
dependencies python
Bumps mypy from 1.20.2 to 2.0.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
7a76500Remove +dev from version5a3ab3bChangelog for mypy 2.0 (#21422)f9c86e2Some changelog updates for 2.0 (#21413)519eaf1Bump librt to 0.10.0 (#21415)158a620Fix negative narrowing for containers (#21411)e556eb9Try fixing mypy mypyc wheels (#21392)f2c9797Expose --num-workers and --native-parser (#21387)db0cb2fBump ast-serialize cache version (#21388)1090ca6Bump ast-serialize version to 0.3.0 only (#21391)714ca9f[mypyc] Add note about librt.strings thread safety (#21383)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 15847276 |
| UUID: | 4446649026 |
| Node ID: | PR_kwDOCf6-o87bjVzU |
| Host: | GitHub |
| Repository: | dry-python/returns |