Bump typing-extensions from 4.5.0 to 4.8.0
Bumps typing-extensions from 4.5.0 to 4.8.0.
Release notes
Sourced from typing-extensions's releases.
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 (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-Balfe4.7.1
- Fix support for
TypedDict
,NamedTuple
andis_protocol
on PyPy-3.7 and PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are unsupported by the PyPy project. The next feature release of typing-extensions will drop support for PyPy-3.7 and may also drop support for PyPy-3.8.4.7.0
This is a feature release. Major changes include:
- All non-deprecated names from
typing
are now re-exported bytyping_extensions
for convenience- Add
typing_extensions.get_protocol_members
andtyping_extensions.is_protocol
- Declare support for Python 3.12
- This will be the last feature release to support Python 3.7, which recently reached its end-of-life
Full changelog of versions 4.7.0 and 4.7.0rc1:
Release 4.7.0 (June 28, 2023)
- This is expected to be the last feature release supporting Python 3.7, which reaches its end of life on June 27, 2023. Version 4.8.0 will support only Python 3.8.0 and up.
- Fix bug where a
typing_extensions.Protocol
class that had one or more non-callable members would raiseTypeError
whenissubclass()
was called against it, even if it defined a custom__subclasshook__
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
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 PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are unsupported by the PyPy project. The next feature release of typing-extensions will drop support for PyPy-3.7 and may also drop support for PyPy-3.8.Release 4.7.0 (June 28, 2023)
- This is expected to be the last feature release supporting Python 3.7, which reaches its end of life on June 27, 2023. Version 4.8.0 will support only Python 3.8.0 and up.
- Fix bug where a
typing_extensions.Protocol
class that had one or more non-callable members would raiseTypeError
whenissubclass()
was called against it, even if it defined a custom__subclasshook__
method. The correct behaviour -- which has now been restored -- is not to raiseTypeError
in these situations if a custom__subclasshook__
method is defined. Patch by Alex Waygood (backporting python/cpython#105976).Release 4.7.0rc1 (June 21, 2023)
- Add
typing_extensions.get_protocol_members
andtyping_extensions.is_protocol
(backport of CPython PR #104878). Patch by Jelle Zijlstra.typing_extensions
now re-exports all names in the standard library'styping
module, except the deprecatedByteString
. Patch by Jelle Zijlstra.- Due to changes in the implementation of
typing_extensions.Protocol
,typing.runtime_checkable
can now be used ontyping_extensions.Protocol
(previously, users had to usetyping_extensions.runtime_checkable
if they were usingtyping_extensions.Protocol
).- Align the implementation of
TypedDict
with the implementation in the standard library on Python 3.9 and higher.
... (truncated)
Commits
-
c17c499
Prepare release 4.8.0 (#283) -
df9e322
Run tests on py312 for more third-party projects (#281) -
7e29499
Release 4.8.0rc1 (#280) -
ca2a739
Add Doc from PEP 727: https://peps.python.org/pep-0727/ (#277) -
13c9484
Fix ParamSpec ellipsis default for <3.10 (#279) -
4705e74
Improve documentation (#278) -
99fa708
Backport CPython PR 107584 (#275) -
688fbd2
Revert "Skip runningcattrs
tests on PyPy (#272)" (#273) -
8dfa0a5
Skip runningcattrs
tests on PyPy (#272) -
7bb3f3f
Fix third-party workflow (#269) - Additional commits viewable in compare view