chore(deps): update dependency typing_extensions to v4.7.1 - autoclosed
Metadata
Current evaluation
Renovate autoclosed unmerged PR #1168; its typing_extensions 4.7.1 update was abandoned. Later PR #1276 merged as 436a0f3b, advancing the dependency to 4.8.0.
Resolution: closed stale
Reason: Renovate autoclosed the PR as unmerged after prolonged inactivity, with no maintainer explanation. Later merged PR #1276 (commit 436a0f3b) updated typing_extensions from 4.7.1 to 4.8.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [typing_extensions](https://togithub.com/python/typing_extensions) ([changelog](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.5.0` -> `==4.7.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>python/typing_extensions (typing_extensions)</summary>
### [`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).
### [`v4.6.3`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-463-June-1-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.6.2...4.6.3)
- 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[https://github.com/python/cpython/pull/105152](https://togithub.com/python/cpython/pull/105152)l/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.
### [`v4.6.2`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-462-May-25-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.6.1...4.6.2)
- Fix use of `@deprecated` on classes with `__new__` but no `__init__`.
Patch by Jelle Zijlstra.
- Fix regression in version 4.6.1 where comparing a generic class against a
runtime-checkable protocol using `isinstance()` would cause `AttributeError`
to be raised if using Python 3.7.
### [`v4.6.1`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-461-May-23-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.6.0...4.6.1)
- Change deprecated `@runtime` to formal API `@runtime_checkable` in the error
message. Patch by Xuehai Pan.
- Fix regression in 4.6.0 where attempting to define a `Protocol` that was
generic over a `ParamSpec` or a `TypeVarTuple` would cause `TypeError` to be
raised. Patch by Alex Waygood.
### [`v4.6.0`](https://togithub.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-460-May-22-2023)
[Compare Source](https://togithub.com/python/typing_extensions/compare/4.5.0...4.6.0)
- `typing_extensions` is now documented at
https://typing-extensions.readthedocs.io/en/latest/. Patch by Jelle Zijlstra.
- Add `typing_extensions.Buffer`, a marker class for buffer types, as proposed
by PEP 688. Equivalent to `collections.abc.Buffer` in Python 3.12. Patch by
Jelle Zijlstra.
- Backport two CPython PRs fixing various issues with `typing.Literal`:
[https://github.com/python/cpython/pull/23294](https://togithub.com/python/cpython/pull/23294)3294 [https://github.com/python/cpython/pull/23383](https://togithub.com/python/cpython/pull/23383)ll/23383. Both CPython PRs were
originally by Yurii Karabas, and both were backported to Python >=3.9.1, but
no earlier. Patch by Alex Waygood.
A side effect of one of the changes is that equality comparisons of `Literal`
objects will now raise a `TypeError` if one of the `Literal` objects being
compared has a mutable parameter. (Using mutable parameters with `Literal` is
not supported by PEP 586 or by any major static type checkers.)
- `Literal` is now reimplemented on all Python versions <= 3.10.0. The
`typing_extensions` version does not suffer from the bug that was fixed in
[https://github.com/python/cpython/pull/29334](https://togithub.com/python/cpython/pull/29334)9334. (The CPython bugfix was
backported to CPython 3.10.1 and 3.9.8, but no earlier.)
- Backport [CPython PR 26067](https://togithub.com/python/cpython/pull/26067)
(originally by Yurii Karabas), ensuring that `isinstance()` calls on
protocols raise `TypeError` when the protocol is not decorated with
`@runtime_checkable`. Patch by Alex Waygood.
- Backport several significant performance improvements to runtime-checkable
protocols that have been made in Python 3.12 ([https://github.com/python/cpython/issues/74690](https://togithub.com/python/cpython/issues/74690)es/74690 for details). Patch by Alex
Waygood.
A side effect of one of the performance improvements is that the members of
a runtime-checkable protocol are now considered “frozen” at runtime as soon
as the class has been created. Monkey-patching attributes onto a
runtime-checkable protocol will still work, but will have no impact on
`isinstance()` checks comparing objects to the protocol. See
["What's New in Python 3.12"](https://docs.python.org/3.12/whatsnew/3.12.html#typing)
for more details.
- `isinstance()` checks against runtime-checkable protocols now use
`inspect.getattr_static()` rather than `hasattr()` to lookup whether
attributes exist (backport[https://github.com/python/cpython/pull/103034](https://togithub.com/python/cpython/pull/103034)3034).
This means that descriptors and `__getattr__` methods are no longer
unexpectedly evaluated during `isinstance()` checks against runtime-checkable
protocols. However, it may also mean that some objects which used to be
considered instances of a runtime-checkable protocol on older versions of
`typing_extensions` may no longer be considered instances of that protocol
using the new release, and vice versa. Most users are unlikely to be affected
by this change. Patch by Alex Waygood.
- Backport the ability to define `__init__` methods on Protocol classes, a
change made in Python 3.11 (originally implemented[https://github.com/python/cpython/pull/31628](https://togithub.com/python/cpython/pull/31628)ll/31628 by Adrian Garcia Badaracco).
Patch by Alex Waygood.
- Speedup `isinstance(3, typing_extensions.SupportsIndex)` by >10x on Python
<3.12. Patch by Alex Waygood.
- Add `typing_extensions` versions of `SupportsInt`, `SupportsFloat`,
`SupportsComplex`, `SupportsBytes`, `SupportsAbs` and `SupportsRound`. These
have the same semantics as the versions from the `typing` module, but
`isinstance()` checks against the `typing_extensions` versions are >10x faster
at runtime on Python <3.12. Patch by Alex Waygood.
- Add `__orig_bases__` to non-generic TypedDicts, call-based TypedDicts, and
call-based NamedTuples. Other TypedDicts and NamedTuples already had the attribute.
Patch by Adrian Garcia Badaracco.
- Add `typing_extensions.get_original_bases`, a backport of
[`types.get_original_bases`](https://docs.python.org/3.12/library/types.html#types.get_original_bases),
introduced in Python 3.12 (CPython[https://github.com/python/cpython/pull/101827](https://togithub.com/python/cpython/pull/101827)l/101827, originally by James
Hilton-Balfe). Patch by Alex Waygood.
This function should always produce correct results when called on classes
constructed using features from `typing_extensions`. However, it may
produce incorrect results when called on some `NamedTuple` or `TypedDict`
classes that use `typing.{NamedTuple,TypedDict}` on Python <=3.11.
- Constructing a call-based `TypedDict` using keyword arguments for the fields
now causes a `DeprecationWarning` to be emitted. This matches the behaviour
of `typing.TypedDict` on 3.11 and 3.12.
- Backport the implementation of `NewType` from 3.10 (where it is implemented
as a class rather than a function). This allows user-defined `NewType`s to be
pickled. Patch by Alex Waygood.
- Fix tests and import on Python 3.12, where `typing.TypeVar` can no longer be
subclassed. Patch by Jelle Zijlstra.
- Add `typing_extensions.TypeAliasType`, a backport of `typing.TypeAliasType`
from PEP 695. Patch by Jelle Zijlstra.
- Backport changes to the repr of `typing.Unpack` that were made in order to
implement [PEP 692](https://peps.python.org/pep-0692/) (backport of
[https://github.com/python/cpython/pull/104048](https://togithub.com/python/cpython/pull/104048)4048). Patch by Alex Waygood.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "before 07:00" in timezone Etc/UTC.
🚦 **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuOC4xMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Renovate autoclosed unmerged PR #1168; its typing_extensions 4.7.1 update was abandoned. Later PR #1276 merged as 436a0f3b, advancing the dependency to 4.8.0. | |
| stealth/space-bunny-alpha | — | closed stale | Renovate autoclosed unmerged PR #1168; its typing_extensions 4.7.1 update was abandoned, while later merged PR #1276 advanced the dependency to 4.8.0. | |
| qwen/qwen3.6-35b-a3b | — | — | Automatically closed by Renovate without review or merge. The dependency update for typing_extensions to v4.7.1 was abandoned or superseded by a newer bot-generated PR. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Renovate bot PR updating typing_extensions to v4.7.1 was autoclosed without merging. The branch was likely marked stale or superseded by a newer update, resulting in automatic closure with no manual intervention. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/charmcraft#1276
(confidence 98%)
Merged later update that advanced typing_extensions to 4.8.0.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #451 chore(deps): update dependency typing_extensions to v4.9.0 - autoclosed | rockcraft | closed | Renovate PR #451 was autoclosed without merging, abandoning the proposed typing_extensions 4.8.0-to-4.9.0 update. | |
| #1603 chore(deps): update dependency typing_extensions to v4.10.0 - autoclosed | charmcraft | closed | PR #1603 was autoclosed unmerged; PR #1637 superseded it by updating typing_extensions from 4.9.0 to 4.11.0 and merged as commit cb0292b4. | |
| #1276 chore(deps): update dependency typing_extensions to v4.8.0 | charmcraft | merged | Renovate PR merged as commit 436a0f3b, bumping typing_extensions 4.7.1 -> 4.8.0 in pyproject.toml and requirements.txt (+2/-2). Later superseded by #1446 (4.9.0) and #1637 (4.11.0). | |
| #1446 chore(deps): update dependency typing_extensions to v4.9.0 | charmcraft | merged | Renovate PR merged as commit ae269867, bumping typing_extensions 4.8.0 -> 4.9.0 in pyproject.toml and requirements (+2/-2). Later superseded by #1637 (4.11.0). | |
| #1637 chore(deps): update dependency typing_extensions to v4.11.0 | charmcraft | merged | Renovate bot PR #1637 bumped typing_extensions from 4.10.0 to 4.11.0; merged into main as commit cb0292b4, updating pyproject.toml and requirements files (+2/-2). | |
| #1170 chore(deps): update dependency humanize to v4.7.0 - autoclosed | charmcraft | closed | Autoclosed unmerged; the humanize 4.7.0 update was superseded by merged PR #1251, which updated the dependency to 4.8.0 in commit 3b693244. | |
| #191 chore(deps): update development dependencies (non-major) - autoclosed | craft-store | closed | Renovate PR #437 was auto-closed unmerged after 790 days; no resolving commit was provided. | |
| #1174 chore(deps): update dependency pytest-cov to v4.1.0 - autoclosed | charmcraft | closed | Renovate PR #1174 was auto-closed unmerged after the pytest-cov 4.0.0→4.1.0 bump landed via #1148 (a4b33f17); it later advanced to v5 in #1618. | |
| #734 chore(deps): update documentation dependencies | craft-parts | closed | Renovate PR #734 was closed unmerged after five days of inactivity; its dependency versions appeared in 84e96162 and were later carried forward by 67623b5d. | |
| #1027 chore(deps): update patch updates | charmcraft | merged | Merged PR #1027 via commit afdb9db6, bumping tox 4.4.5→4.4.6, types-Deprecated 1.2.9→1.2.9.1, and types-toml 0.10.8.3→0.10.8.5. |