Skip to content

Update dependency mypy to v2#244

Merged
lukemerrett merged 1 commit into
mainfrom
renovate/mypy-2.x
May 18, 2026
Merged

Update dependency mypy to v2#244
lukemerrett merged 1 commit into
mainfrom
renovate/mypy-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 11, 2026

This PR contains the following updates:

Package Change Age Confidence
mypy (changelog) ~=1.11~=2.1 age confidence

Release Notes

python/mypy (mypy)

v2.1.0

Compare Source

v2.0.0

Compare Source

v1.20.2

Compare Source

v1.20.1

Compare Source

  • Always disable sync in SQLite cache (Ivan Levkivskyi, PR 21184)
  • Temporarily skip few base64 tests (Ivan Levkivskyi, PR 21193)
  • Revert dict.__or__ typeshed change (Ivan Levkivskyi, PR 21186)
  • Fix narrowing for match case with variadic tuples (Shantanu, PR 21192)
  • Avoid narrowing type[T] in type calls (Shantanu, PR 21174)
  • Fix regression for catching empty tuple in except (Shantanu, PR 21153)
  • Fix reachability for frozenset and dict view narrowing (Shantanu, PR 21151)
  • Fix narrowing with chained comparison (Shantanu, PR 21150)
  • Avoid narrowing to unreachable at module level (Shantanu, PR 21144)
  • Allow dangerous identity comparisons to Any typed variables (Shantanu, PR 21142)
  • --warn-unused-config should not be a strict flag (Ivan Levkivskyi, PR 21139)

v1.20.0

Compare Source

v1.19.1

Compare Source

  • Fix noncommutative joins with bounded TypeVars (Shantanu, PR 20345)
  • Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, PR 20372)
  • Allow types.NoneType in match cases (A5rocks, PR 20383)
  • Fix mypyc generator regression with empty tuple (BobTheBuidler, PR 20371)
  • Fix crash involving Unpack-ed TypeVarTuple (Shantanu, PR 20323)
  • Fix crash on star import of redefinition (Ivan Levkivskyi, PR 20333)
  • Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, PR 20334)
  • Fail with an explicit error on PyPy (Ivan Levkivskyi, PR 20389)

v1.19.0

Compare Source

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, PR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, PR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR 19846)

v1.18.1

Compare Source

v1.17.1

Compare Source

  • Retain None as constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)
  • Fix "ignored exception in hasattr" in dmypy (Stanislav Terliakov, PR 19428)
  • Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, PR 19453)

v1.17.0

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner May 11, 2026 23:03
@renovate renovate Bot requested review from lukemerrett and removed request for a team May 11, 2026 23:03
Copy link
Copy Markdown
Member

@doistbot doistbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR updates the mypy dependency to version 2.0, which is great for maintaining code quality and taking advantage of the latest type-checking features. No issues were flagged during the review.

Share FeedbackReview Logs

@lukemerrett
Copy link
Copy Markdown
Contributor

Based on the message this needs to wait a few days before we merge to pass minimum age. Scheduling a reminder to revisit in 2 days

@goncalossilva
Copy link
Copy Markdown
Member

"prCreation": "not-pending", may be a more ergonomic choice than default (it waits to create the PR).

@renovate renovate Bot force-pushed the renovate/mypy-2.x branch from be27ec2 to 87397ec Compare May 15, 2026 06:15
@lukemerrett lukemerrett changed the title Update dependency mypy to v2 rebase! Update dependency mypy to v2 May 15, 2026
@renovate renovate Bot force-pushed the renovate/mypy-2.x branch from 87397ec to 1cd7479 Compare May 15, 2026 09:45
@renovate renovate Bot changed the title rebase! Update dependency mypy to v2 Update dependency mypy to v2 May 15, 2026
@renovate renovate Bot force-pushed the renovate/mypy-2.x branch from 1cd7479 to 9e891c3 Compare May 16, 2026 22:06
@lukemerrett lukemerrett merged commit ac284e5 into main May 18, 2026
7 checks passed
@lukemerrett lukemerrett deleted the renovate/mypy-2.x branch May 18, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants