build(deps): update dependency mypy to v2 (main) - autoclosed
Metadata
Current evaluation
Renovate PR #2689 was autoclosed unmerged after four months without activity; its mypy 2.1 update was not adopted.
Resolution: closed stale
Reason: The PR was automatically closed after four months of inactivity, with no merge commit. PR #2726, merged as f2e05e81, switched Charmcraft's type checking from mypy to ty, making the pending upgrade obsolete.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [mypy](https://redirect.github.com/python/mypy) ([changelog](https://mypy.readthedocs.io/en/latest/changelog.html)) | `~=1.11` β `~=2.1` |  |  |
---
### Release Notes
<details>
<summary>python/mypy (mypy)</summary>
### [`v2.1.0`](https://redirect.github.com/python/mypy/compare/v2.0.0...v2.1.0)
[Compare Source](https://redirect.github.com/python/mypy/compare/v2.0.0...v2.1.0)
### [`v2.0.0`](https://redirect.github.com/python/mypy/compare/v1.20.2...v2.0.0)
[Compare Source](https://redirect.github.com/python/mypy/compare/v1.20.2...v2.0.0)
### [`v1.20.2`](https://redirect.github.com/python/mypy/compare/v1.20.1...v1.20.2)
[Compare Source](https://redirect.github.com/python/mypy/compare/v1.20.1...v1.20.2)
### [`v1.20.1`](https://redirect.github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1201)
[Compare Source](https://redirect.github.com/python/mypy/compare/v1.20.0...v1.20.1)
- Always disable sync in SQLite cache (Ivan Levkivskyi, PR [21184](https://redirect.github.com/python/mypy/pull/21184))
- Temporarily skip few base64 tests (Ivan Levkivskyi, PR [21193](https://redirect.github.com/python/mypy/pull/21193))
- Revert `dict.__or__` typeshed change (Ivan Levkivskyi, PR [21186](https://redirect.github.com/python/mypy/pull/21186))
- Fix narrowing for match case with variadic tuples (Shantanu, PR [21192](https://redirect.github.com/python/mypy/pull/21192))
- Avoid narrowing `type[T]` in type calls (Shantanu, PR [21174](https://redirect.github.com/python/mypy/pull/21174))
- Fix regression for catching empty tuple in except (Shantanu, PR [21153](https://redirect.github.com/python/mypy/pull/21153))
- Fix reachability for frozenset and dict view narrowing (Shantanu, PR [21151](https://redirect.github.com/python/mypy/pull/21151))
- Fix narrowing with chained comparison (Shantanu, PR [21150](https://redirect.github.com/python/mypy/pull/21150))
- Avoid narrowing to unreachable at module level (Shantanu, PR [21144](https://redirect.github.com/python/mypy/pull/21144))
- Allow dangerous identity comparisons to `Any` typed variables (Shantanu, PR [21142](https://redirect.github.com/python/mypy/pull/21142))
- `--warn-unused-config` should not be a strict flag (Ivan Levkivskyi, PR [21139](https://redirect.github.com/python/mypy/pull/21139))
### [`v1.20.0`](https://redirect.github.com/python/mypy/compare/v1.19.1...v1.20.0)
[Compare Source](https://redirect.github.com/python/mypy/compare/v1.19.1...v1.20.0)
</details>
---
### Configuration
π
**Schedule**: (in timezone Etc/UTC)
- Branch creation
- "every weekend"
- Automerge
- At any time (no schedule defined)
π¦ **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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | β | closed stale | Renovate PR #2689 was autoclosed unmerged after four months without activity; its mypy 2.1 update was not adopted. | |
| stealth/space-bunny-alpha | β | closed stale | Autoclosed unmerged after four months without activity; mypy 2.1 was not adopted. Separately, #2726 (f2e05e81) switched Charmcraft from mypy to ty. | |
| qwen/qwen3.6-35b-a3b | β | β | Renovate PR updating mypy to v2 was autoclosed after static type checking failed due to incompatible assignments and missing attributes in the codebase. The dependency update was abandoned pending code fixes. | |
| qwen/qwen3.6-35b-a3b | β | β | Renovate dependency update for mypy v2 was autoclosed due to failing CI checks and type checking warnings. The change was abandoned without merging. | |
| qwen/qwen3.6-35b-a3b | β | β | Renovate bot proposed updating mypy to v2. Type checking with ty failed due to incompatible assignments and unresolved attributes. The pull request was autoclosed without merging due to persistent type errors. | |
| qwen/qwen3.6-35b-a3b | β | β | Renovate PR updating mypy to v2 was autoclosed after static type checking failed due to incompatible assignments and missing attributes. The dependency update remains abandoned pending codebase fixes. | |
| qwen/qwen3.6-35b-a3b | β | β | Automated dependency update for mypy v2 was autoclosed due to persistent type checking failures with ty. CI reported incompatible assignments and unresolved attributes, resulting in the PR being abandoned without merging. | |
| qwen3.6-35b-a3b-mtp-q6 | β | β | The mypy v2 dependency update was autoclosed and abandoned after the ty type checker reported multiple errors. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#2726
(confidence 90%)
Commit f2e05e81 switched type checking to ty, reducing the need for this stalled mypy update.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1585 build(deps): update dependency mypy to v2 (main) | craft-parts | closed | Closed unmerged after inactivity; mypy was later dropped in merged PR #1706 (commit 770e2130). | |
| #6246 build(deps): update dependency mypy to v2 (main) - autoclosed | snapcraft | closed | Renovateβs mypy 2.1.0 update was autoclosed unmerged after lint/files and several integration and security checks failed; no resolving commit landed. | |
| #961 build(deps): update dependency mypy to v2 (main) | craft-providers | closed | Renovate PR #961 was closed unmerged after lint and test failures; no mypy 2.x upgrade landed, and Renovate began ignoring future 2.x updates. | |
| #461 build(deps): update dependency mypy to v2.2.0 (main) | craft-cli | merged | Renovate PR updating mypy from 2.1.0 to 2.2.0 was approved with all CI checks green and merged into main via commit 5c694ef (#461). | |
| #378 build(deps): update dependency mypy to v2 (main) | imagecraft | merged | Merged the mypy upgrade from ~=1.20.2 to ~=2.3.0 into main via PR #378 (commit 19ebdf6). | |
| #533 build(deps): update dependency mypy to v2 (main) | starbase | merged | Renovate PR #533 merged into main, updating mypy from ~=1.20.0 to ~=2.1.0 in pyproject.toml and uv.lock via commit 5641f05. | |
| #365 build(deps): update dependency mypy to v2 (main) | craft-store | merged | Merged PR #365 upgraded mypy from ~=1.13 to ~=2.1 and updated related configuration in commit 5d7b688. | |
| #202 build(deps): update dependency mypy to ~=2.3.0 (main) | craft-grammar | merged | Renovate bump of mypy from ~=2.2.0 to ~=2.3.0 was approved with all CI checks green and merged into main as commit 1effa68 (PR #202). | |
| #465 build(deps): update dependency mypy to v2.3.0 (main) | craft-cli | merged | Renovate PR merged as commit c8b5b4b, bumping mypy from 2.2.0 to 2.3.0 in main (+49/-49). Mypy was later removed entirely in #479, switching type checking to ty. | |
| #455 build(deps): update dependency mypy to v2 (main) | craft-cli | merged | Merged Renovate PR #455 into main, updating mypy from 1.20.2 to 2.1.0 in commit ef7bd49. |