chore(deps): update dependency mypy to v1 #27
Reference in New Issue
Block a user
Delete Branch "renovate/mypy-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^0.961->^1.19Release Notes
python/mypy
v1.19.1Compare Source
types.NoneTypein match cases (A5rocks, PR 20383)v1.19.0Compare Source
v1.18.2Compare Source
object.__init__(Stephen Morton, PR 19733)v1.18.1Compare Source
v1.17.1Compare Source
Noneas constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)hasattr" in dmypy (Stanislav Terliakov, PR 19428)v1.17.0Compare Source
v1.16.1Compare Source
v1.16.0Compare Source
v1.15.0Compare Source
v1.14.1Compare Source
v1.14.0Compare Source
v1.13.0Compare Source
v1.12.1Compare Source
os.pathstubs affecting use ofos.PathLike[Any](Shantanu, PR 17995)v1.12.0Compare Source
v1.11.2Compare Source
TypedDictitem types before storing (Ivan Levkivskyi, PR 17640)v1.11.1Compare Source
RawExpressionType.acceptcrash with--cache-fine-grained(Anders Kaseorg, PR 17588)typing.TypeAliasTypebeing undefined on python < 3.12 (Nikita Sobolev, PR 17558)types.GenericAliaslookup crash (Shantanu, PR 17543)v1.11.0Compare Source
v1.10.1Compare Source
v1.10.0Compare Source
v1.9.0Compare Source
v1.8.0Compare Source
v1.7.1Compare Source
v1.7.0Compare Source
v1.6.1Compare Source
v1.6.0Compare Source
v1.5.1Compare Source
v1.5.0Compare Source
v1.4.1Compare Source
v1.4.0Compare Source
v1.3.0Compare Source
v1.2.0Compare Source
v1.1.1Compare Source
Monday, 6 March 2023
We’ve just uploaded mypy 1.1.1 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:
You can read the full documentation for this release on Read the Docs.
Support for `dataclass_transform``
This release adds full support for the dataclass_transform decorator defined in PEP 681. This allows decorators, base classes, and metaclasses that generate a __init__ method or other methods based on the properties of that class (similar to dataclasses) to have those methods recognized by mypy.
This was contributed by Wesley Collin Wright.
Dedicated Error Code for Method Assignments
Mypy can’t safely check all assignments to methods (a form of monkey patching), so mypy generates an error by default. To make it easier to ignore this error, mypy now uses the new error code method-assign for this. By disabling this error code in a file or globally, mypy will no longer complain about assignments to methods if the signatures are compatible.
Mypy also supports the old error code assignment for these assignments to prevent a backward compatibility break. More generally, we can use this mechanism in the future if we wish to split or rename another existing error code without causing backward compatibility issues.
This was contributed by Ivan Levkivskyi (PR 14570).
Fixes to Crashes
Fixes to Cache Corruption
Mypyc Fixes and Improvements
Fixes to Detecting Undefined Names (used-before-def)
Stubgen Improvements
Stubgen is a tool for automatically generating draft stubs for libraries.
Stubtest Improvements
Stubtest is a tool for testing that stubs conform to the implementations.
Changes to Error Reporting and Messages
typing_extensionsif definition is not in typing (Shantanu, PR 14591)Other Fixes and Improvements
Typeshed Updates
Typeshed is now modular and distributed as separate PyPI packages for everything except the standard library stubs. Please see git log for full list of typeshed changes.
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
We’d also like to thank our employer, Dropbox, for funding the mypy core team.
Posted by Max Murin
v1.0.1Compare Source
v1.0.0Compare Source
v0.991Compare Source
v0.990Compare Source
v0.982Compare Source
v0.981Compare Source
v0.971Compare Source
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
be3a01725bto06fc24914c06fc24914cto084c40b714084c40b714tocaeb67f8d9caeb67f8d9to444e09fc1f444e09fc1fto6847f0a55d⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: poetry.lock
6847f0a55dto82aa9d9ddf82aa9d9ddfto910f19d42f910f19d42ftod376c54e96d376c54e96to5264dc9db25264dc9db2to3b02071ac03b02071ac0toead887f314ead887f314toebb96c9df9ebb96c9df9to42da1501c542da1501c5toffe42ede4bffe42ede4bto7d99910e4e7d99910e4eto022d117105022d117105to15bdbb80da15bdbb80datoce57a4b06cce57a4b06ctobe9c5ece09be9c5ece09to4e966d83664e966d8366to2d89b59619View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.