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).
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 4.1.1 to 4.2.0.
Changelog
Sourced from typing-extensions's changelog.
Commits
9a39406
prepare release 4.2.0 (#1144)783c8ca
Fix tests on Python 3.11 (#1139)2312c74
Add to the CHANGELOG (#1141)b595c73
dataclass_transform: accept **kwargs, rename field_descriptors (#1120)35dff91
Add get_overloads() (#1140)2acaa5a
test that all names are present in all (#1138)e7bc381
Addassert_type
to__all__
(#1136)cba3a90
Fix "accepts only single type" errors (#1130)db20497
Add assert_type (#1103)07fb800
LiteralString, NotRequired, Required will be in 3.11 (#1110)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)