Bump typing-extensions from 4.5.0 to 4.10.0
Bumps typing-extensions from 4.5.0 to 4.10.0.
Release notes
Sourced from typing-extensions's releases.
4.10.0
Release 4.10.0 (February 25, 2024)
This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (
TypeIs).There are no changes since 4.10.0rc1.
4.10.0rc1
Release 4.10.0rc1 (February 17, 2024)
- Add support for PEP 728, supporting the
closedkeyword argument and the special__extra_items__key for TypedDict. Patch by Zixuan James Li.- Add support for PEP 742, adding
typing_extensions.TypeIs. Patch by Jelle Zijlstra.- Drop runtime error when a read-only
TypedDictitem overrides a mutable one. Type checkers should still flag this as an error. Patch by Jelle Zijlstra.- Speedup
issubclass()checks against simple runtime-checkable protocols by around 6% (backporting python/cpython#112717, by Alex Waygood).- Fix a regression in the implementation of protocols where
typing.Protocolclasses that were not marked as@runtime_checkablewould be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. Patch by Alex Waygood, backporting python/cpython#113401.4.9.0
This feature release adds
typing_extensions.ReadOnly, as specified by PEP 705, and makes various other improvements, especially to@typing_extensions.deprecated().There are no changes since 4.9.0rc1.
4.9.0rc1
- Add support for PEP 705, adding
typing_extensions.ReadOnly. Patch by Jelle Zijlstra.- All parameters on
NewType.__call__are now positional-only. This means that the signature oftyping_extensions.NewType.__call__now exactly matches the signature oftyping.NewType.__call__. Patch by Alex Waygood.- Fix bug with using
@deprecatedon a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning. Patch by Jelle Zijlstra.@deprecatednow gives a better error message if you pass a non-strargument to themsgparameter. Patch by Alex Waygood.@deprecatedis now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__fromProtocolmembers. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTupleclass, ensure__set_name__is called on all objects that define__set_name__and exist in the values
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
Release 4.10.0 (February 24, 2024)
This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (
TypeIs).There are no changes since 4.10.0rc1.
Release 4.10.0rc1 (February 17, 2024)
- Add support for PEP 728, supporting the
closedkeyword argument and the special__extra_items__key for TypedDict. Patch by Zixuan James Li.- Add support for PEP 742, adding
typing_extensions.TypeIs. Patch by Jelle Zijlstra.- Drop runtime error when a read-only
TypedDictitem overrides a mutable one. Type checkers should still flag this as an error. Patch by Jelle Zijlstra.- Speedup
issubclass()checks against simple runtime-checkable protocols by around 6% (backporting python/cpython#112717, by Alex Waygood).- Fix a regression in the implementation of protocols where
typing.Protocolclasses that were not marked as@runtime_checkablewould be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. Patch by Alex Waygood, backporting python/cpython#113401.Release 4.9.0 (December 9, 2023)
This feature release adds
typing_extensions.ReadOnly, as specified by PEP 705, and makes various other improvements, especially to@typing_extensions.deprecated().There are no changes since 4.9.0rc1.
Release 4.9.0rc1 (November 29, 2023)
- Add support for PEP 705, adding
typing_extensions.ReadOnly. Patch by Jelle Zijlstra.- All parameters on
NewType.__call__are now positional-only. This means that the signature oftyping_extensions.NewType.__call__now exactly matches the signature oftyping.NewType.__call__. Patch by Alex Waygood.- Fix bug with using
@deprecatedon a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning. Patch by Jelle Zijlstra.@deprecatednow gives a better error message if you pass a non-strargument to themsgparameter. Patch by Alex Waygood.@deprecatedis now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__fromProtocolmembers. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTupleclass, ensure__set_name__is called on all objects that define__set_name__and exist in the values
... (truncated)
Commits
-
ed81f2bPrepare release 4.10.0 (#343) -
06b23e3Release 4.10.0rc1 (#340) -
b7bf949Add support for PEP 728 (#329) -
9f040abFix changelog entry and mutable_keys tracking for PEP 705 (#334) -
566e01eAdd support for TypeIs (PEP 742) (#330) -
d6c50f5Drop runtime error in PEP 705 implementation (#333) -
ff530f5Update GitHub Actions versions (#332) -
05ffab5Catch a deprecation warning on Python 3.13 (#331) -
69b48c3Fix display of TypedDict.readonly_keys (#328) -
004b893Backport recent improvements to the implementation ofProtocol(#324) - Additional commits viewable in compare view