Add typing_extensions.Any a backport of python 3.11's Any class which is
subclassable at runtime. (backport from python/cpython#31841, by Shantanu
and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234).
Add initial support for TypeVarLike default parameter, PEP 696.
Patch by Marc Mueller (@cdce8p).
Runtime support for PEP 698, adding typing_extensions.override. Patch by
Jelle Zijlstra.
Add the infer_variance parameter to TypeVar, as specified in PEP 695.
Patch by Jelle Zijlstra.
Release 4.3.0 (July 1, 2022)
Add typing_extensions.NamedTuple, allowing for generic NamedTuples on
Python <3.11 (backport from python/cpython#92027, by Serhiy Storchaka). Patch
by Alex Waygood (@AlexWaygood).
Adjust typing_extensions.TypedDict to allow for generic TypedDicts on
Python <3.11 (backport from python/cpython#27663, by Samodya Abey). Patch by
Alex Waygood (@AlexWaygood).
Release 4.2.0 (April 17, 2022)
Re-export typing.Unpack and typing.TypeVarTuple on Python 3.11.
Add ParamSpecArgs and ParamSpecKwargs to __all__.
Improve "accepts only single type" error messages.
Improve the distributed package. Patch by Marc Mueller (@cdce8p).
Update typing_extensions.dataclass_transform to rename the
field_descriptors parameter to field_specifiers and accept
arbitrary keyword arguments.
Add typing_extensions.get_overloads and
typing_extensions.clear_overloads, and add registry support to
typing_extensions.overload. Backport from python/cpython#89263.
Add typing_extensions.assert_type. Backport from bpo-46480.
Drop support for Python 3.6. Original patch by Adam Turner (@AA-Turner).
Release 4.1.1 (February 13, 2022)
Fix importing typing_extensions on Python 3.7.0 and 3.7.1. Original
patch by Nikita Sobolev (@sobolevn).
Release 4.1.0 (February 12, 2022)
Runtime support for PEP 646, adding typing_extensions.TypeVarTuple
and typing_extensions.Unpack.
Add interaction of Required and NotRequired with __required_keys__,
__optional_keys__ and get_type_hints(). Patch by David Cabot (@d-k-bo).
Runtime support for PEP 675 and typing_extensions.LiteralString.
Add Never and assert_never. Backport from bpo-46475.
ParamSpec args and kwargs are now equal to themselves. Backport from
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps typing-extensions from 3.10.0.2 to 4.4.0.
Changelog
Sourced from typing-extensions's changelog.
... (truncated)
Commits
b5f375a
Prepare release 4.4.0 (#82)354b938
Add to README (#81)3c21f33
Add@typing
.override (#78)ba776ea
Add TypeVar(infer_variance=True) (#80)fafb5c5
Initial support for TypeVarLike default parameter (PEP 696) (#77)2979419
Backport python/cpython#96479 (#73)3a61a94
Remove mention of Python 3.6 from README (#67)7d1aeea
Implement typing_extensions.Any (#68)9683c1a
Backport test case from #python/cpython/96358 (#71)db79268
Silence aflake8-bugbear
warning (#72)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)