Bump typing-extensions from 4.5.0 to 4.9.0
Bumps typing-extensions from 4.5.0 to 4.9.0.
Release notes
Sourced from typing-extensions's releases.
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
@deprecated
on a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning
. Patch by Jelle Zijlstra.@deprecated
now gives a better error message if you pass a non-str
argument to themsg
parameter. Patch by Alex Waygood.@deprecated
is now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__
fromProtocol
members. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTuple
class, ensure__set_name__
is called on all objects that define__set_name__
and exist in the values of theNamedTuple
class's class dictionary. Patch by Alex Waygood, backporting python/cpython#111876.- Improve the error message when trying to call
issubclass()
against aProtocol
that has non-method members. Patch by Alex Waygood (backporting python/cpython#112344, by Randolph Scholz).4.8.0
Changes since 4.7.1:
- Add
typing_extensions.Doc
, as proposed by PEP 727. Patch by Sebastián Ramírez.- Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.
- Fix bug where
get_original_bases()
would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood (backporting python/cpython#107584, by James Hilton-Balfe).- Fix bug where
ParamSpec(default=...)
would raise aTypeError
on Python versions <3.11. Patch by James Hilton-BalfeNo changes since 4.8.0rc1.
4.8.0rc1
- Add
typing_extensions.Doc
, as proposed by PEP 727. Patch by Sebastián Ramírez.- Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.
- Fix bug where
get_original_bases()
would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
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
@deprecated
on a mixin class. Inheriting from a deprecated class now raises aDeprecationWarning
. Patch by Jelle Zijlstra.@deprecated
now gives a better error message if you pass a non-str
argument to themsg
parameter. Patch by Alex Waygood.@deprecated
is now implemented as a class for better introspectability. Patch by Jelle Zijlstra.- Exclude
__match_args__
fromProtocol
members. Backport of python/cpython#110683 by Nikita Sobolev.- When creating a
typing_extensions.NamedTuple
class, ensure__set_name__
is called on all objects that define__set_name__
and exist in the values of theNamedTuple
class's class dictionary. Patch by Alex Waygood, backporting python/cpython#111876.- Improve the error message when trying to call
issubclass()
against aProtocol
that has non-method members. Patch by Alex Waygood (backporting python/cpython#112344, by Randolph Scholz).Release 4.8.0 (September 17, 2023)
No changes since 4.8.0rc1.
Release 4.8.0rc1 (September 7, 2023)
- Add
typing_extensions.Doc
, as proposed by PEP 727. Patch by Sebastián Ramírez.- Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.
- Fix bug where
get_original_bases()
would return incorrect results when called on a concrete subclass of a generic class. Patch by Alex Waygood (backporting python/cpython#107584, by James Hilton-Balfe).- Fix bug where
ParamSpec(default=...)
would raise aTypeError
on Python versions <3.11. Patch by James Hilton-BalfeRelease 4.7.1 (July 2, 2023)
- Fix support for
TypedDict
,NamedTuple
andis_protocol
on PyPy-3.7 and
... (truncated)
Commits
-
fc461d6
Release 4.9.0 (#313) -
f82d636
Prepare release 4.9.0rc1 (#306) -
daa7931
Run typed-argument-parser tests on 3.12 in the daily workflow (#307) -
0b0166d
Add support for PEP 705 (#284) -
db6f9b4
Update@deprecated
implementation (#302) -
18ae2b3
Backport recent improvements to the error message when trying to call `issubc... -
e4d9d8b
fix typo inoverride()
docstring (#305) -
4f91502
Backport recent change toNamedTuple
classes regarding__set_name__
(#303) -
7af82f9
@deprecated
: will be in warnings, not typing (#298) -
f9f257c
Fix deprecating a mixin; warn when inheriting from a deprecated class (#294) - Additional commits viewable in compare view