python/typing_extensions (typing_extensions)
### [`v4.12.2`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4122-June-7-2024)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.12.1...4.12.2)
- Fix regression in v4.12.0 where specialization of certain
generics with an overridden `__eq__` method would raise errors.
Patch by Jelle Zijlstra.
- Fix tests so they pass on 3.13.0b2
### [`v4.12.1`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4121-June-1-2024)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.12.0...4.12.1)
- Preliminary changes for compatibility with the draft implementation
of PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
- Fix regression in v4.12.0 where nested `Annotated` types would cause
`TypeError` to be raised if the nested `Annotated` type had unhashable
metadata. Patch by Alex Waygood.
### [`v4.12.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4120-May-23-2024)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.11.0...4.12.0)
This release is mostly the same as 4.12.0rc1 but fixes one more
longstanding bug.
- Fix incorrect behaviour of `typing_extensions.ParamSpec` on Python 3.8 and
3.9 that meant that
`isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)` would have a
different result in some situations depending on whether or not a profiling
function had been set using `sys.setprofile`. Patch by Alex Waygood.
### [`v4.11.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4110-April-5-2024)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.10.0...4.11.0)
This feature release provides improvements to various recently
added features, most importantly type parameter defaults (PEP 696).
There are no changes since 4.11.0rc1.
### [`v4.10.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4100-February-24-2024)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.9.0...4.10.0)
This feature release adds support for PEP 728 (TypedDict with extra
items) and PEP 742 (`TypeIs`).
There are no changes since 4.10.0rc1.
### [`v4.9.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-490-December-9-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.8.0...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.
### [`v4.8.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-480-September-17-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.7.1...4.8.0)
No changes since 4.8.0rc1.
### [`v4.7.1`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-471-July-2-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.7.0...4.7.1)
- Fix support for `TypedDict`, `NamedTuple` and `is_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.
### [`v4.7.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-470-June-28-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.6.3...4.7.0)
- 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 raise `TypeError` when `issubclass()`
was called against it, even if it defined a custom `__subclasshook__`
method. The correct behaviour -- which has now been restored -- is not to
raise `TypeError` in these situations if a custom `__subclasshook__` method
is defined. Patch by Alex Waygood (backport[https://github.com/python/cpython/pull/105976](https://togithub.com/python/cpython/pull/105976)l/105976).
Configuration
📅 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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
<=4.6.3
-><=4.12.2
Release Notes
python/typing_extensions (typing_extensions)
### [`v4.12.2`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4122-June-7-2024) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.12.1...4.12.2) - Fix regression in v4.12.0 where specialization of certain generics with an overridden `__eq__` method would raise errors. Patch by Jelle Zijlstra. - Fix tests so they pass on 3.13.0b2 ### [`v4.12.1`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4121-June-1-2024) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.12.0...4.12.1) - Preliminary changes for compatibility with the draft implementation of PEP 649 in Python 3.14. Patch by Jelle Zijlstra. - Fix regression in v4.12.0 where nested `Annotated` types would cause `TypeError` to be raised if the nested `Annotated` type had unhashable metadata. Patch by Alex Waygood. ### [`v4.12.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4120-May-23-2024) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.11.0...4.12.0) This release is mostly the same as 4.12.0rc1 but fixes one more longstanding bug. - Fix incorrect behaviour of `typing_extensions.ParamSpec` on Python 3.8 and 3.9 that meant that `isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)` would have a different result in some situations depending on whether or not a profiling function had been set using `sys.setprofile`. Patch by Alex Waygood. ### [`v4.11.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4110-April-5-2024) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.10.0...4.11.0) This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696). There are no changes since 4.11.0rc1. ### [`v4.10.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4100-February-24-2024) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.9.0...4.10.0) This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (`TypeIs`). There are no changes since 4.10.0rc1. ### [`v4.9.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-490-December-9-2023) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.8.0...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. ### [`v4.8.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-480-September-17-2023) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.7.1...4.8.0) No changes since 4.8.0rc1. ### [`v4.7.1`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-471-July-2-2023) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.7.0...4.7.1) - Fix support for `TypedDict`, `NamedTuple` and `is_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. ### [`v4.7.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-470-June-28-2023) [Compare Source](https://togithub.com/python/typing_extensions/compare/4.6.3...4.7.0) - 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 raise `TypeError` when `issubclass()` was called against it, even if it defined a custom `__subclasshook__` method. The correct behaviour -- which has now been restored -- is not to raise `TypeError` in these situations if a custom `__subclasshook__` method is defined. Patch by Alex Waygood (backport[https://github.com/python/cpython/pull/105976](https://togithub.com/python/cpython/pull/105976)l/105976).Configuration
📅 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.