Fix a regression introduced in v4.6.0 in the implementation of
runtime-checkable protocols. The regression meant
that doing class Foo(X, typing_extensions.Protocol), where X was a class that
had abc.ABCMeta as its metaclass, would then cause subsequent
isinstance(1, X) calls to erroneously raise TypeError. Patch by
Alex Waygood (backporting the CPython PR
python/cpython#105152).
Sync the repository's LICENSE file with that of CPython.
typing_extensions is distributed under the same license as
CPython itself.
Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due to
a bug in CPython, which will be fixed in 3.12.0b2. The
typing_extensions test suite now passes on 3.12.0b1.
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.6.2 to 4.6.3.
Changelog
Sourced from typing-extensions's changelog.
Commits
c57333b
Update version to 4.6.322c0e70
Backport CPython PR 105152 (#208)b8a2ece
Third-party tests: cattrs has switched to pdm (#209)b0be88c
Add a cron job for testing third-party users of typing_extensions (#206)32887d3
Sync LICENSE with CPython (#205)252a4a4
Add more detailed versioning policy (#197)3c630b9
Backport some new protocol tests from CPython (#202)06f7360
Minor improvements to CI workflows (#201)5d51455
Skip a problematic test on CPython 3.12.0b1 (#200)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)