Runtime support for PEP 702, adding typing_extensions.deprecated. Patch
by Jelle Zijlstra.
Add better default value for TypeVar default parameter, PEP 696. Enables
runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p).
The @typing_extensions.override decorator now sets the .__override__
attribute. Patch by Steven Troxler.
Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10.
Patch by Carl Meyer.
Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte.
Release 4.4.0 (October 6, 2022)
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.
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.3.0 to 4.5.0.
Changelog
Sourced from typing-extensions's changelog.
Commits
8dcd899
Prepare release 4.5.0 (#116)e81cb82
PEP 702: Runtime warnings (#112)1039bb2
fix PEP 702 link in theREADME.md
(#108)673e5ce
Add@typing
_extensions.deprecated (#105)27646ec
Fix tests on Python 3.11 (#106)57226b4
Addfrozen_default
parameter ondataclass_transform
(#101)0ea104b
Expand the pyproject.toml sdist include expression to include src/_typed_dict...93ac93b
CI: test on Ubuntu-20.04, not Ubuntu-2004 (#100)5f9258d
Test on Ubuntu 20.04ad3966d
Replace type comments with annotations (#98)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)