← Back to issue list

build(deps): update dependency mypy to v2 (main) - autoclosed

View original Github issue

Metadata

Project
charmcraft
Number
#2689
Type
pull request
State
closed
Author
renovate[bot]
Labels
PR: Dependencies
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/2.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.19.1/2.1.0?slim=true) | --- ### 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
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.
qwen3.6-35b-a3b-mtp-q6 Autoclosed due to persistent ty type checking failures. The mypy v2 dependency update was abandoned without merging.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#6246 build(deps): update dependency mypy to v2 (main) - autoclosed snapcraft closed Mypy v2.1.0 dependency update was autoclosed without merging. Multiple CI checks failed, causing Renovate to automatically discard the pull request.
90%
#961 build(deps): update dependency mypy to v2 (main) craft-providers closed Updating mypy to v2 was closed without merging. Manual closure caused Renovate to ignore all future 2.x releases.
86%
#1585 build(deps): update dependency mypy to v2 (main) craft-parts closed Closed without merging. The maintainer rejected the mypy v2 dependency update, causing Renovate to ignore all future 2.x releases until a manual upgrade occurs.
85%
#196 build(deps): update dependency mypy to ~=2.2.0 (main) craft-grammar merged Merged an automated dependency update upgrading mypy from ~=2.1.0 to ~=2.2.0. Generated by Renovate bot, the change received one approval, passed all CI checks, and was manually merged after configuration disabled automerge.
85%
#84 build(deps): update dependency mypy to v2 (main) craft-artifacts merged Merged automated dependency update upgrading mypy from v1.20.0 to v2.1.0 on main. Approved by one reviewer and merged despite a failing typecheck workflow.
83%
#378 build(deps): update dependency mypy to v2 (main) imagecraft merged Merged automated dependency update upgrading mypy from v1.20.2 to v2.3.0 on main. The change modified two files with 157 additions and 112 deletions. All required CI checks passed before manual merge, as automerge was disabled in configuration.
82%
#577 build(deps): update dependency mypy to ~=2.3.0 (main) starbase merged Merged automated dependency update upgrading mypy from ~=2.2.0 to ~=2.3.0. The change passed all CI checks, received approval from two reviewers, and was successfully integrated into the main branch.
82%
#779 build(deps): update dependency mypy to v1.16.1 (main) craft-application closed Closed without merging. The mypy update to v1.16.1 was abandoned despite passing CI checks. Renovate will ignore this version and wait for a newer release to generate a replacement PR.
82%
#239 build(deps): update dependency mypy to v2 (main) craft-archives merged Merged automated dependency update upgrading mypy from v1.5 to v2.3. Approved by one reviewer, passed all CI checks, and merged into the main branch.
82%
#574 build(deps): update dependency mypy to ~=2.2.0 (main) starbase merged Merged automated dependency update upgrading mypy from ~=2.1.0 to ~=2.2.0 on main. Approved by one reviewer, passed all CI checks, and successfully applied.
82%