Open renovate[bot] opened 1 year ago
Patch and project coverage have no change.
Comparison is base (
6c78b08
) 86.66% compared to head (2b0c913
) 86.66%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
==1.0.1
->==1.13.0
==0.950
->==1.13.0
Release Notes
python/mypy (mypy)
### [`v1.13.0`](https://redirect.github.com/python/mypy/compare/v1.12.1...v1.13.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.12.1...v1.13.0) ### [`v1.12.1`](https://redirect.github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1121) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.12.0...v1.12.1) - Fix crash when showing partially analyzed type in error message (Ivan Levkivskyi, PR [17961](https://redirect.github.com/python/mypy/pull/17961)) - Fix iteration over union (when self type is involved) (Shantanu, PR [17976](https://redirect.github.com/python/mypy/pull/17976)) - Fix type object with type var default in union context (Jukka Lehtosalo, PR [17991](https://redirect.github.com/python/mypy/pull/17991)) - Revert change to `os.path` stubs affecting use of `os.PathLike[Any]` (Shantanu, PR [17995](https://redirect.github.com/python/mypy/pull/17995)) ### [`v1.12.0`](https://redirect.github.com/python/mypy/compare/v1.11.2...v1.12.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.11.2...v1.12.0) ### [`v1.11.2`](https://redirect.github.com/python/mypy/compare/v1.11.1...v1.11.2) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.11.1...v1.11.2) ### [`v1.11.1`](https://redirect.github.com/python/mypy/compare/v1.11.0...v1.11.1) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.11.0...v1.11.1) ### [`v1.11.0`](https://redirect.github.com/python/mypy/compare/v1.10.1...v1.11.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.10.1...v1.11.0) ### [`v1.10.1`](https://redirect.github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1101) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.10.0...v1.10.1) - Fix error reporting on cached run after uninstallation of third party library (Shantanu, PR [17420](https://redirect.github.com/python/mypy/pull/17420)) ### [`v1.10.0`](https://redirect.github.com/python/mypy/compare/1.9.0...v1.10.0) [Compare Source](https://redirect.github.com/python/mypy/compare/1.9.0...v1.10.0) ### [`v1.9.0`](https://redirect.github.com/python/mypy/compare/v1.8.0...1.9.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.8.0...1.9.0) ### [`v1.8.0`](https://redirect.github.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://redirect.github.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://redirect.github.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://redirect.github.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://redirect.github.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://redirect.github.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://redirect.github.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.4.1...v1.5.0) ### [`v1.4.1`](https://redirect.github.com/python/mypy/compare/v1.4.0...v1.4.1) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.4.0...v1.4.1) ### [`v1.4.0`](https://redirect.github.com/python/mypy/compare/v1.3.0...v1.4.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.3.0...v1.4.0) ### [`v1.3.0`](https://redirect.github.com/python/mypy/compare/v1.2.0...v1.3.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.2.0...v1.3.0) ### [`v1.2.0`](https://redirect.github.com/python/mypy/compare/v1.1.1...v1.2.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.1.1...v1.2.0) ### [`v1.1.1`](https://redirect.github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-111) [Compare Source](https://redirect.github.com/python/mypy/compare/v1.0.1...v1.1.1) [Monday, 6 March 2023](https://mypy-lang.blogspot.com/2023/03/mypy-111-released.html) We’ve just uploaded mypy 1.1.1 to the Python Package Index ([PyPI](https://pypi.org/project/mypy/)). 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 mypy You can read the full documentation for this release on [Read the Docs](http://mypy.readthedocs.io). ##### Support for \`dataclass_transform\`\` This release adds full support for the dataclass_transform decorator defined in [PEP 681](https://peps.python.org/pep-0681/#decorator-function-example). 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](https://redirect.github.com/python/mypy/pull/14570)). ##### Fixes to Crashes - Fix a crash on walrus in comprehension at class scope (Ivan Levkivskyi, PR [14556](https://redirect.github.com/python/mypy/pull/14556)) - Fix crash related to value-constrained TypeVar (Shantanu, PR [14642](https://redirect.github.com/python/mypy/pull/14642)) ##### Fixes to Cache Corruption - Fix generic TypedDict/NamedTuple caching (Ivan Levkivskyi, PR [14675](https://redirect.github.com/python/mypy/pull/14675)) ##### Mypyc Fixes and Improvements - Raise "non-trait base must be first..." error less frequently (Richard Si, PR [14468](https://redirect.github.com/python/mypy/pull/14468)) - Generate faster code for bool comparisons and arithmetic (Jukka Lehtosalo, PR [14489](https://redirect.github.com/python/mypy/pull/14489)) - Optimize \__(a)enter\_\_/\__(a)exit\_\_ for native classes (Jared Hance, PR [14530](https://redirect.github.com/python/mypy/pull/14530)) - Detect if attribute definition conflicts with base class/trait (Jukka Lehtosalo, PR [14535](https://redirect.github.com/python/mypy/pull/14535)) - Support \__(r)divmod\_\_ dunders (Richard Si, PR [14613](https://redirect.github.com/python/mypy/pull/14613)) - Support \__pow\_\_, \__rpow\_\_, and \__ipow\_\_ dunders (Richard Si, PR [14616](https://redirect.github.com/python/mypy/pull/14616)) - Fix crash on star unpacking to underscore (Ivan Levkivskyi, PR [14624](https://redirect.github.com/python/mypy/pull/14624)) - Fix iterating over a union of dicts (Richard Si, PR [14713](https://redirect.github.com/python/mypy/pull/14713)) ##### Fixes to Detecting Undefined Names (used-before-def) - Correctly handle walrus operator (Stas Ilinskiy, PR [14646](https://redirect.github.com/python/mypy/pull/14646)) - Handle walrus declaration in match subject correctly (Stas Ilinskiy, PR [14665](https://redirect.github.com/python/mypy/pull/14665)) ##### Stubgen Improvements Stubgen is a tool for automatically generating draft stubs for libraries. - Allow aliases below the top level (Chad Dombrova, PR [14388](https://redirect.github.com/python/mypy/pull/14388)) - Fix crash with PEP 604 union in type variable bound (Shantanu, PR [14557](https://redirect.github.com/python/mypy/pull/14557)) - Preserve PEP 604 unions in generated .pyi files (hamdanal, PR [14601](https://redirect.github.com/python/mypy/pull/14601)) ##### Stubtest Improvements Stubtest is a tool for testing that stubs conform to the implementations. - Update message format so that it’s easier to go to error location (Avasam, PR [14437](https://redirect.github.com/python/mypy/pull/14437)) - Handle name-mangling edge cases better (Alex Waygood, PR [14596](https://redirect.github.com/python/mypy/pull/14596)) ##### Changes to Error Reporting and Messages - Add new TypedDict error code typeddict-unknown-key (JoaquimEsteves, PR [14225](https://redirect.github.com/python/mypy/pull/14225)) - Give arguments a more reasonable location in error messages (Max Murin, PR [14562](https://redirect.github.com/python/mypy/pull/14562)) - In error messages, quote just the module's name (Ilya Konstantinov, PR [14567](https://redirect.github.com/python/mypy/pull/14567)) - Improve misleading message about Enum() (Rodrigo Silva, PR [14590](https://redirect.github.com/python/mypy/pull/14590)) - Suggest importing from `typing_extensions` if definition is not in typing (Shantanu, PR [14591](https://redirect.github.com/python/mypy/pull/14591)) - Consistently use type-abstract error code (Ivan Levkivskyi, PR [14619](https://redirect.github.com/python/mypy/pull/14619)) - Consistently use literal-required error code for TypedDicts (Ivan Levkivskyi, PR [14621](https://redirect.github.com/python/mypy/pull/14621)) - Adjust inconsistent dataclasses plugin error messages (Wesley Collin Wright, PR [14637](https://redirect.github.com/python/mypy/pull/14637)) - Consolidate literal bool argument error messages (Wesley Collin Wright, PR [14693](https://redirect.github.com/python/mypy/pull/14693)) ##### Other Fixes and Improvements - Check that type guards accept a positional argument (EXPLOSION, PR [14238](https://redirect.github.com/python/mypy/pull/14238)) - Fix bug with in operator used with a union of Container and Iterable (Max Murin, PR [14384](https://redirect.github.com/python/mypy/pull/14384)) - Support protocol inference for type\[T] via metaclass (Ivan Levkivskyi, PR [14554](https://redirect.github.com/python/mypy/pull/14554)) - Allow overlapping comparisons between bytes-like types (Shantanu, PR [14658](https://redirect.github.com/python/mypy/pull/14658)) - Fix mypy daemon documentation link in README (Ivan Levkivskyi, PR [14644](https://redirect.github.com/python/mypy/pull/14644)) ##### Typeshed Updates Typeshed is now modular and distributed as separate PyPI packages for everything except the standard library stubs. Please see [git log](https://redirect.github.com/python/typeshed/commits/main?after=5ebf892d0710a6e87925b8d138dfa597e7bb11cc+0\&branch=main\&path=stdlib) for full list of typeshed changes. ##### Acknowledgements Thanks to all mypy contributors who contributed to this release: - Alex Waygood - Avasam - Chad Dombrova - dosisod - EXPLOSION - hamdanal - Ilya Konstantinov - Ivan Levkivskyi - Jared Hance - JoaquimEsteves - Jukka Lehtosalo - Marc Mueller - Max Murin - Michael Lee - Michael R. Crusoe - Richard Si - Rodrigo Silva - Shantanu - Stas Ilinskiy - Wesley Collin Wright - Yilei "Dolee" Yang - Yurii Karabas We’d also like to thank our employer, Dropbox, for funding the mypy core team. Posted by Max MurinConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.