← Back to issue list

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

View original Github issue

Metadata

Project
craft-parts
Number
#1585
Type
pull request
State
closed
Author
renovate[bot]
Labels
PR: Dependencies
Created
Updated
Closed

Current evaluation

Closed unmerged after inactivity; mypy was later dropped in merged PR #1706 (commit 770e2130).

Resolution: closed stale

Reason: The Renovate PR received no reviews or merges and was eventually closed unmerged. PR #1706 later removed mypy entirely in commit 770e2130, making the proposed 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.20.0` → `~=2.2.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/2.2.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.20.0/2.2.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/445) for more information. --- ### Release Notes <details> <summary>python/mypy (mypy)</summary> ### [`v2.2.0`](https://redirect.github.com/python/mypy/compare/v2.1.0...v2.2.0) [Compare Source](https://redirect.github.com/python/mypy/compare/v2.1.0...v2.2.0) ### [`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)) </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/craft-parts). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzkuMyIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed unmerged after inactivity; mypy was later dropped in merged PR #1706 (commit 770e2130).
stealth/space-bunny-alpha — closed stale mypy 2.2.0 upgrade PR was closed unmerged after prolonged inactivity; Renovate confirmed future 2.x updates would be ignored. mypy was later dropped in #1706.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 25
Complexity: 15
Confidence: 90
needs review Updates mypy from v1.20 to v2.1. Generated by Renovate. Open and awaiting manual merge since automerge is disabled. No comments or reviews yet.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/craft-parts#1706 (confidence 99%)

    Merged commit 770e2130 removed mypy and pyright, superseding the abandoned upgrade.

Related issues

Issue Project State Summary Similarity
#2689 build(deps): update dependency mypy to v2 (main) - autoclosed charmcraft closed Renovate PR #2689 was autoclosed unmerged after four months without activity; its mypy 2.1 update was not adopted.
92%
#17 build(deps): update dependency mypy to ~=1.17.1 craft-artifacts closed Closed unmerged; PR #36 replaced it by updating mypy to ~=1.18.1 and was merged in commit 09f5fb4.
90%
#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).
90%
#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.
89%
#222 build(deps): update dependency mypy to v2 (main) craft-platforms closed Closed unmerged because mypy 2 required Python 3.10+, conflicting with Python 3.9 support; merged PR #223 then replaced mypy and pyright with ty in commit 23f2017.
88%
#239 build(deps): update dependency mypy to v2 (main) craft-archives merged Merged PR #239 updated mypy from ~=1.5 to ~=2.3, including constraint and lockfile changes, in commit cd0759b.
88%
#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).
87%
#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).
87%
#619 build(deps): update dependency mypy to ~=2.4.0 (main) starbase merged Merged dependency update upgrading mypy from ~=2.3.0 to ~=2.4.0.
87%
#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.
87%