chore(deps): update dependency mypy to v1 #27

Open
renovate-bot wants to merge 1 commits from renovate/mypy-1.x into master
Owner

This PR contains the following updates:

Package Type Update Change
mypy (changelog) dev-dependencies major ^0.961 -> ^1.19

Release Notes

python/mypy

v1.19.1

Compare Source

  • Fix noncommutative joins with bounded TypeVars (Shantanu, PR 20345)
  • Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, PR 20372)
  • Allow types.NoneType in match cases (A5rocks, PR 20383)
  • Fix mypyc generator regression with empty tuple (BobTheBuidler, PR 20371)
  • Fix crash involving Unpack-ed TypeVarTuple (Shantanu, PR 20323)
  • Fix crash on star import of redefinition (Ivan Levkivskyi, PR 20333)
  • Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, PR 20334)
  • Fail with an explicit error on PyPy (Ivan Levkivskyi, PR 20389)

v1.19.0

Compare Source

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, PR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, PR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR 19846)

v1.18.1

Compare Source

v1.17.1

Compare Source

  • Retain None as constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)
  • Fix "ignored exception in hasattr" in dmypy (Stanislav Terliakov, PR 19428)
  • Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, PR 19453)

v1.17.0

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source

v1.15.0

Compare Source

v1.14.1

Compare Source

v1.14.0

Compare Source

v1.13.0

Compare Source

v1.12.1

Compare Source

  • Fix crash when showing partially analyzed type in error message (Ivan Levkivskyi, PR 17961)
  • Fix iteration over union (when self type is involved) (Shantanu, PR 17976)
  • Fix type object with type var default in union context (Jukka Lehtosalo, PR 17991)
  • Revert change to os.path stubs affecting use of os.PathLike[Any] (Shantanu, PR 17995)

v1.12.0

Compare Source

v1.11.2

Compare Source

  • Alternative fix for a union-like literal string (Ivan Levkivskyi, PR 17639)
  • Unwrap TypedDict item types before storing (Ivan Levkivskyi, PR 17640)

v1.11.1

Compare Source

  • Fix RawExpressionType.accept crash with --cache-fine-grained (Anders Kaseorg, PR 17588)
  • Fix PEP 604 isinstance caching (Shantanu, PR 17563)
  • Fix typing.TypeAliasType being undefined on python < 3.12 (Nikita Sobolev, PR 17558)
  • Fix types.GenericAlias lookup crash (Shantanu, PR 17543)

v1.11.0

Compare Source

v1.10.1

Compare Source

  • Fix error reporting on cached run after uninstallation of third party library (Shantanu, PR 17420)

v1.10.0

Compare Source

v1.9.0

Compare Source

v1.8.0

Compare Source

v1.7.1

Compare Source

v1.7.0

Compare Source

v1.6.1

Compare Source

v1.6.0

Compare Source

v1.5.1

Compare Source

v1.5.0

Compare Source

v1.4.1

Compare Source

v1.4.0

Compare Source

v1.3.0

Compare Source

v1.2.0

Compare Source

v1.1.1

Compare 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:

python3 -m pip install -U mypy

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
  • Fix a crash on walrus in comprehension at class scope (Ivan Levkivskyi, PR 14556)
  • Fix crash related to value-constrained TypeVar (Shantanu, PR 14642)
Fixes to Cache Corruption
  • Fix generic TypedDict/NamedTuple caching (Ivan Levkivskyi, PR 14675)
Mypyc Fixes and Improvements
  • Raise "non-trait base must be first..." error less frequently (Richard Si, PR 14468)
  • Generate faster code for bool comparisons and arithmetic (Jukka Lehtosalo, PR 14489)
  • Optimize _(a)enter__/_(a)exit__ for native classes (Jared Hance, PR 14530)
  • Detect if attribute definition conflicts with base class/trait (Jukka Lehtosalo, PR 14535)
  • Support __(r)divmod__ dunders (Richard Si, PR 14613)
  • Support __pow__, __rpow__, and __ipow__ dunders (Richard Si, PR 14616)
  • Fix crash on star unpacking to underscore (Ivan Levkivskyi, PR 14624)
  • Fix iterating over a union of dicts (Richard Si, PR 14713)
Fixes to Detecting Undefined Names (used-before-def)
  • Correctly handle walrus operator (Stas Ilinskiy, PR 14646)
  • Handle walrus declaration in match subject correctly (Stas Ilinskiy, PR 14665)
Stubgen Improvements

Stubgen is a tool for automatically generating draft stubs for libraries.

  • Allow aliases below the top level (Chad Dombrova, PR 14388)
  • Fix crash with PEP 604 union in type variable bound (Shantanu, PR 14557)
  • Preserve PEP 604 unions in generated .pyi files (hamdanal, PR 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)
  • Handle name-mangling edge cases better (Alex Waygood, PR 14596)
Changes to Error Reporting and Messages
  • Add new TypedDict error code typeddict-unknown-key (JoaquimEsteves, PR 14225)
  • Give arguments a more reasonable location in error messages (Max Murin, PR 14562)
  • In error messages, quote just the module's name (Ilya Konstantinov, PR 14567)
  • Improve misleading message about Enum() (Rodrigo Silva, PR 14590)
  • Suggest importing from typing_extensions if definition is not in typing (Shantanu, PR 14591)
  • Consistently use type-abstract error code (Ivan Levkivskyi, PR 14619)
  • Consistently use literal-required error code for TypedDicts (Ivan Levkivskyi, PR 14621)
  • Adjust inconsistent dataclasses plugin error messages (Wesley Collin Wright, PR 14637)
  • Consolidate literal bool argument error messages (Wesley Collin Wright, PR 14693)
Other Fixes and Improvements
  • Check that type guards accept a positional argument (EXPLOSION, PR 14238)
  • Fix bug with in operator used with a union of Container and Iterable (Max Murin, PR 14384)
  • Support protocol inference for type[T] via metaclass (Ivan Levkivskyi, PR 14554)
  • Allow overlapping comparisons between bytes-like types (Shantanu, PR 14658)
  • Fix mypy daemon documentation link in README (Ivan Levkivskyi, PR 14644)
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:

  • 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 Murin

v1.0.1

Compare Source

v1.0.0

Compare Source

v0.991

Compare Source

v0.990

Compare Source

v0.982

Compare Source

v0.981

Compare Source

v0.971

Compare 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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mypy](https://github.com/python/mypy) ([changelog](https://mypy-lang.blogspot.com/)) | dev-dependencies | major | `^0.961` -> `^1.19` | --- ### Release Notes <details> <summary>python/mypy</summary> ### [`v1.19.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1191) [Compare Source](https://github.com/python/mypy/compare/v1.19.0...v1.19.1) - Fix noncommutative joins with bounded TypeVars (Shantanu, PR [20345](https://github.com/python/mypy/pull/20345)) - Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, PR [20372](https://github.com/python/mypy/pull/20372)) - Allow `types.NoneType` in match cases (A5rocks, PR [20383](https://github.com/python/mypy/pull/20383)) - Fix mypyc generator regression with empty tuple (BobTheBuidler, PR [20371](https://github.com/python/mypy/pull/20371)) - Fix crash involving Unpack-ed TypeVarTuple (Shantanu, PR [20323](https://github.com/python/mypy/pull/20323)) - Fix crash on star import of redefinition (Ivan Levkivskyi, PR [20333](https://github.com/python/mypy/pull/20333)) - Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, PR [20334](https://github.com/python/mypy/pull/20334)) - Fail with an explicit error on PyPy (Ivan Levkivskyi, PR [20389](https://github.com/python/mypy/pull/20389)) ### [`v1.19.0`](https://github.com/python/mypy/compare/v1.18.2...v1.19.0) [Compare Source](https://github.com/python/mypy/compare/v1.18.2...v1.19.0) ### [`v1.18.2`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1182) [Compare Source](https://github.com/python/mypy/compare/v1.18.1...v1.18.2) - Fix crash on recursive alias (Ivan Levkivskyi, PR [19845](https://github.com/python/mypy/pull/19845)) - Add additional guidance for stubtest errors when runtime is `object.__init__` (Stephen Morton, PR [19733](https://github.com/python/mypy/pull/19733)) - Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR [19846](https://github.com/python/mypy/pull/19846)) ### [`v1.18.1`](https://github.com/python/mypy/compare/v1.17.1...v1.18.1) [Compare Source](https://github.com/python/mypy/compare/v1.17.1...v1.18.1) ### [`v1.17.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1171) [Compare Source](https://github.com/python/mypy/compare/v1.17.0...v1.17.1) - Retain `None` as constraints bottom if no bottoms were provided (Stanislav Terliakov, PR [19485](https://github.com/python/mypy/pull/19485)) - Fix "ignored exception in `hasattr`" in dmypy (Stanislav Terliakov, PR [19428](https://github.com/python/mypy/pull/19428)) - Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, PR [19453](https://github.com/python/mypy/pull/19453)) ### [`v1.17.0`](https://github.com/python/mypy/compare/v1.16.1...v1.17.0) [Compare Source](https://github.com/python/mypy/compare/v1.16.1...v1.17.0) ### [`v1.16.1`](https://github.com/python/mypy/compare/v1.16.0...v1.16.1) [Compare Source](https://github.com/python/mypy/compare/v1.16.0...v1.16.1) ### [`v1.16.0`](https://github.com/python/mypy/compare/v1.15.0...v1.16.0) [Compare Source](https://github.com/python/mypy/compare/v1.15.0...v1.16.0) ### [`v1.15.0`](https://github.com/python/mypy/compare/v1.14.1...v1.15.0) [Compare Source](https://github.com/python/mypy/compare/v1.14.1...v1.15.0) ### [`v1.14.1`](https://github.com/python/mypy/compare/v1.14.0...v1.14.1) [Compare Source](https://github.com/python/mypy/compare/v1.14.0...v1.14.1) ### [`v1.14.0`](https://github.com/python/mypy/compare/v1.13.0...v1.14.0) [Compare Source](https://github.com/python/mypy/compare/v1.13.0...v1.14.0) ### [`v1.13.0`](https://github.com/python/mypy/compare/v1.12.1...v1.13.0) [Compare Source](https://github.com/python/mypy/compare/v1.12.1...v1.13.0) ### [`v1.12.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1121) [Compare Source](https://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://github.com/python/mypy/pull/17961)) - Fix iteration over union (when self type is involved) (Shantanu, PR [17976](https://github.com/python/mypy/pull/17976)) - Fix type object with type var default in union context (Jukka Lehtosalo, PR [17991](https://github.com/python/mypy/pull/17991)) - Revert change to `os.path` stubs affecting use of `os.PathLike[Any]` (Shantanu, PR [17995](https://github.com/python/mypy/pull/17995)) ### [`v1.12.0`](https://github.com/python/mypy/compare/v1.11.2...v1.12.0) [Compare Source](https://github.com/python/mypy/compare/v1.11.2...v1.12.0) ### [`v1.11.2`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1112) [Compare Source](https://github.com/python/mypy/compare/v1.11.1...v1.11.2) - Alternative fix for a union-like literal string (Ivan Levkivskyi, PR [17639](https://github.com/python/mypy/pull/17639)) - Unwrap `TypedDict` item types before storing (Ivan Levkivskyi, PR [17640](https://github.com/python/mypy/pull/17640)) ### [`v1.11.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1111) [Compare Source](https://github.com/python/mypy/compare/v1.11.0...v1.11.1) - Fix `RawExpressionType.accept` crash with `--cache-fine-grained` (Anders Kaseorg, PR [17588](https://github.com/python/mypy/pull/17588)) - Fix PEP 604 isinstance caching (Shantanu, PR [17563](https://github.com/python/mypy/pull/17563)) - Fix `typing.TypeAliasType` being undefined on python < 3.12 (Nikita Sobolev, PR [17558](https://github.com/python/mypy/pull/17558)) - Fix `types.GenericAlias` lookup crash (Shantanu, PR [17543](https://github.com/python/mypy/pull/17543)) ### [`v1.11.0`](https://github.com/python/mypy/compare/v1.10.1...v1.11.0) [Compare Source](https://github.com/python/mypy/compare/v1.10.1...v1.11.0) ### [`v1.10.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1101) [Compare Source](https://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://github.com/python/mypy/pull/17420)) ### [`v1.10.0`](https://github.com/python/mypy/compare/v1.9.0...v1.10.0) [Compare Source](https://github.com/python/mypy/compare/v1.9.0...v1.10.0) ### [`v1.9.0`](https://github.com/python/mypy/compare/v1.8.0...v1.9.0) [Compare Source](https://github.com/python/mypy/compare/v1.8.0...v1.9.0) ### [`v1.8.0`](https://github.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://github.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://github.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://github.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://github.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://github.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://github.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://github.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://github.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://github.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://github.com/python/mypy/compare/v1.4.1...v1.5.0) ### [`v1.4.1`](https://github.com/python/mypy/compare/v1.4.0...v1.4.1) [Compare Source](https://github.com/python/mypy/compare/v1.4.0...v1.4.1) ### [`v1.4.0`](https://github.com/python/mypy/compare/v1.3.0...v1.4.0) [Compare Source](https://github.com/python/mypy/compare/v1.3.0...v1.4.0) ### [`v1.3.0`](https://github.com/python/mypy/compare/v1.2.0...v1.3.0) [Compare Source](https://github.com/python/mypy/compare/v1.2.0...v1.3.0) ### [`v1.2.0`](https://github.com/python/mypy/compare/v1.1.1...v1.2.0) [Compare Source](https://github.com/python/mypy/compare/v1.1.1...v1.2.0) ### [`v1.1.1`](https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-111) [Compare Source](https://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://github.com/python/mypy/pull/14570)). ##### Fixes to Crashes - Fix a crash on walrus in comprehension at class scope (Ivan Levkivskyi, PR [14556](https://github.com/python/mypy/pull/14556)) - Fix crash related to value-constrained TypeVar (Shantanu, PR [14642](https://github.com/python/mypy/pull/14642)) ##### Fixes to Cache Corruption - Fix generic TypedDict/NamedTuple caching (Ivan Levkivskyi, PR [14675](https://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://github.com/python/mypy/pull/14468)) - Generate faster code for bool comparisons and arithmetic (Jukka Lehtosalo, PR [14489](https://github.com/python/mypy/pull/14489)) - Optimize \__(a)enter\_\_/\__(a)exit\_\_ for native classes (Jared Hance, PR [14530](https://github.com/python/mypy/pull/14530)) - Detect if attribute definition conflicts with base class/trait (Jukka Lehtosalo, PR [14535](https://github.com/python/mypy/pull/14535)) - Support \__(r)divmod\_\_ dunders (Richard Si, PR [14613](https://github.com/python/mypy/pull/14613)) - Support \__pow\_\_, \__rpow\_\_, and \__ipow\_\_ dunders (Richard Si, PR [14616](https://github.com/python/mypy/pull/14616)) - Fix crash on star unpacking to underscore (Ivan Levkivskyi, PR [14624](https://github.com/python/mypy/pull/14624)) - Fix iterating over a union of dicts (Richard Si, PR [14713](https://github.com/python/mypy/pull/14713)) ##### Fixes to Detecting Undefined Names (used-before-def) - Correctly handle walrus operator (Stas Ilinskiy, PR [14646](https://github.com/python/mypy/pull/14646)) - Handle walrus declaration in match subject correctly (Stas Ilinskiy, PR [14665](https://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://github.com/python/mypy/pull/14388)) - Fix crash with PEP 604 union in type variable bound (Shantanu, PR [14557](https://github.com/python/mypy/pull/14557)) - Preserve PEP 604 unions in generated .pyi files (hamdanal, PR [14601](https://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://github.com/python/mypy/pull/14437)) - Handle name-mangling edge cases better (Alex Waygood, PR [14596](https://github.com/python/mypy/pull/14596)) ##### Changes to Error Reporting and Messages - Add new TypedDict error code typeddict-unknown-key (JoaquimEsteves, PR [14225](https://github.com/python/mypy/pull/14225)) - Give arguments a more reasonable location in error messages (Max Murin, PR [14562](https://github.com/python/mypy/pull/14562)) - In error messages, quote just the module's name (Ilya Konstantinov, PR [14567](https://github.com/python/mypy/pull/14567)) - Improve misleading message about Enum() (Rodrigo Silva, PR [14590](https://github.com/python/mypy/pull/14590)) - Suggest importing from `typing_extensions` if definition is not in typing (Shantanu, PR [14591](https://github.com/python/mypy/pull/14591)) - Consistently use type-abstract error code (Ivan Levkivskyi, PR [14619](https://github.com/python/mypy/pull/14619)) - Consistently use literal-required error code for TypedDicts (Ivan Levkivskyi, PR [14621](https://github.com/python/mypy/pull/14621)) - Adjust inconsistent dataclasses plugin error messages (Wesley Collin Wright, PR [14637](https://github.com/python/mypy/pull/14637)) - Consolidate literal bool argument error messages (Wesley Collin Wright, PR [14693](https://github.com/python/mypy/pull/14693)) ##### Other Fixes and Improvements - Check that type guards accept a positional argument (EXPLOSION, PR [14238](https://github.com/python/mypy/pull/14238)) - Fix bug with in operator used with a union of Container and Iterable (Max Murin, PR [14384](https://github.com/python/mypy/pull/14384)) - Support protocol inference for type\[T] via metaclass (Ivan Levkivskyi, PR [14554](https://github.com/python/mypy/pull/14554)) - Allow overlapping comparisons between bytes-like types (Shantanu, PR [14658](https://github.com/python/mypy/pull/14658)) - Fix mypy daemon documentation link in README (Ivan Levkivskyi, PR [14644](https://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://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 Murin ### [`v1.0.1`](https://github.com/python/mypy/compare/v1.0.0...v1.0.1) [Compare Source](https://github.com/python/mypy/compare/v1.0.0...v1.0.1) ### [`v1.0.0`](https://github.com/python/mypy/compare/v0.991...v1.0.0) [Compare Source](https://github.com/python/mypy/compare/v0.991...v1.0.0) ### [`v0.991`](https://github.com/python/mypy/compare/v0.990...v0.991) [Compare Source](https://github.com/python/mypy/compare/v0.990...v0.991) ### [`v0.990`](https://github.com/python/mypy/compare/v0.982...v0.990) [Compare Source](https://github.com/python/mypy/compare/v0.982...v0.990) ### [`v0.982`](https://github.com/python/mypy/compare/v0.981...v0.982) [Compare Source](https://github.com/python/mypy/compare/v0.981...v0.982) ### [`v0.981`](https://github.com/python/mypy/compare/v0.971...v0.981) [Compare Source](https://github.com/python/mypy/compare/v0.971...v0.981) ### [`v0.971`](https://github.com/python/mypy/compare/v0.961...v0.971) [Compare Source](https://github.com/python/mypy/compare/v0.961...v0.971) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate-bot added 1 commit 2023-02-07 01:32:06 +00:00
chore(deps): update dependency mypy to v1
Some checks failed
gitea-physics/pdme/pipeline/head There was a failure building this commit
gitea-physics/pdme/pipeline/pr-master There was a failure building this commit
be3a01725b
deepak was assigned by renovate-bot 2023-02-07 01:32:06 +00:00
renovate-bot force-pushed renovate/mypy-1.x from be3a01725b to 06fc24914c 2023-03-08 01:32:03 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 06fc24914c to 084c40b714 2023-04-07 01:32:20 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 084c40b714 to caeb67f8d9 2023-04-10 01:33:53 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from caeb67f8d9 to 444e09fc1f 2023-05-11 01:31:50 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 444e09fc1f to 6847f0a55d 2023-06-21 01:32:00 +00:00 Compare
Author
Owner

⚠ 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
The currently activated Python version 3.10.2 is not supported by the project (>=3.8.1,<3.10).
Trying to find and use a compatible version. 

  NoCompatiblePythonVersionFound

  Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.

  at /usr/local/poetry/1.1.13/venv/lib/python3.10/site-packages/poetry/utils/env.py:768 in create_venv
       764│                     python_minor = ".".join(python_patch.split(".")[:2])
       765│                     break
       766│ 
       767│             if not executable:
    →  768│                 raise NoCompatiblePythonVersionFound(
       769│                     self._poetry.package.python_versions
       770│                 )
       771│ 
       772│         if root_venv:


### ⚠ 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: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: poetry.lock ``` The currently activated Python version 3.10.2 is not supported by the project (>=3.8.1,<3.10). Trying to find and use a compatible version. NoCompatiblePythonVersionFound Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command. at /usr/local/poetry/1.1.13/venv/lib/python3.10/site-packages/poetry/utils/env.py:768 in create_venv 764│ python_minor = ".".join(python_patch.split(".")[:2]) 765│ break 766│ 767│ if not executable: → 768│ raise NoCompatiblePythonVersionFound( 769│ self._poetry.package.python_versions 770│ ) 771│ 772│ if root_venv: ```
renovate-bot force-pushed renovate/mypy-1.x from 6847f0a55d to 82aa9d9ddf 2023-07-24 01:31:28 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 82aa9d9ddf to 910f19d42f 2023-08-11 01:31:15 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 910f19d42f to d376c54e96 2023-10-11 01:31:28 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from d376c54e96 to 5264dc9db2 2023-11-11 01:31:24 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 5264dc9db2 to 3b02071ac0 2023-12-22 01:31:29 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 3b02071ac0 to ead887f314 2024-03-09 01:31:34 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from ead887f314 to ebb96c9df9 2024-04-25 01:31:30 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from ebb96c9df9 to 42da1501c5 2024-07-20 01:31:38 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 42da1501c5 to ffe42ede4b 2024-10-15 01:31:51 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from ffe42ede4b to 7d99910e4e 2024-10-23 01:32:05 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 7d99910e4e to 022d117105 2024-12-21 01:31:36 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 022d117105 to 15bdbb80da 2025-02-06 01:31:51 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 15bdbb80da to ce57a4b06c 2025-05-30 01:32:06 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from ce57a4b06c to be9c5ece09 2025-07-15 01:31:57 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from be9c5ece09 to 4e966d8366 2025-09-12 01:37:26 +00:00 Compare
renovate-bot force-pushed renovate/mypy-1.x from 4e966d8366 to 2d89b59619 2025-12-15 01:32:37 +00:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
gitea-physics/pdme/pipeline/pr-master There was a failure building this commit
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/mypy-1.x:renovate/mypy-1.x
git checkout renovate/mypy-1.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: physics/pdme#27