Skip to content

Bump mypy from 2.0.0 to 2.1.0#122

Merged
docktermj merged 1 commit into
mainfrom
dependabot/pip/mypy-2.1.0
Jun 4, 2026
Merged

Bump mypy from 2.0.0 to 2.1.0#122
docktermj merged 1 commit into
mainfrom
dependabot/pip/mypy-2.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Bumps mypy from 2.0.0 to 2.1.0.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Mypy 2.1

We’ve just uploaded mypy 2.1.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

librt.vecs: Fast Growable Array Type for Mypyc

The new librt.vecs module provides an efficient growable array type vec that is optimized for mypyc use. It provides fast, packed arrays with integer and floating point value types, which can be several times faster than list, and tens of times faster than array.array in code compiled using mypyc. It also supports nested vec objects and non-value-type items, such as vec[vec[str]].

Refer to the documentation for the details.

Contributed by Jukka Lehtosalo.

librt.random: Fast Pseudo-Random Number Generation

The new librt.random module provides fast pseudo-random number generation that is optimized for code compiled using mypyc. It can be 3x to 10x faster than the stdlib random module in compiled code.

Refer to the documentation for the details.

Contributed by Jukka Lehtosalo (PR 21433).

Mypyc Improvements

  • Enable incremental self-compilation (Vaggelis Danias, PR 21369)
  • Make compilation order with multiple files consistent (Piotr Sawicki, PR 21419)
  • Fix crash on accessing StopAsyncIteration (Piotr Sawicki, PR 21406)
  • Fix incremental compilation with separate flag (Vaggelis Danias, PR 21299)

Fixes to Crashes

  • Fix crash on partial type with --allow-redefinition and global declaration (Jukka Lehtosalo, PR 21428)
  • Fix broken awaitable generator patching (Ivan Levkivskyi, PR 21435)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 3, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 3, 2026 22:18
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

🤖 Claude Code Review

Code Review

This PR bumps mypy from 2.0.0 to 2.1.0 in pyproject.toml — a single-line dependency version update.


Code Quality

  • Style guide: No style concerns; single version string change.
  • No commented-out code: None present.
  • Meaningful variable names: N/A.
  • DRY principle: N/A.
  • Defects: No logic changes; dependency version bump carries no bug risk beyond mypy's own release notes.
  • CLAUDE.md: No issues.

Testing

  • Unit/integration tests: Not required for a lint-tool version bump. mypy runs in CI and would surface any new type errors introduced by the updated version.

Documentation

  • README/API docs: No update needed.
  • CHANGELOG.md: Not updated. Dependency bumps should be recorded in the changelog per standard practice, even if minor. Consider adding an entry under the appropriate version section (e.g., - Bump mypy from 2.0.0 to 2.1.0).
  • Markdown formatting: N/A.

Security

  • No hardcoded credentials, sensitive data, or license files.

Summary

The change is correct and safe. The only gap is a missing CHANGELOG.md entry. Everything else passes.

Automated code review analyzing defects and coding standards

Bumps [mypy](https://github.com/python/mypy) from 2.0.0 to 2.1.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/mypy-2.1.0 branch from 5755a04 to ef72361 Compare June 3, 2026 22:21
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

🤖 Claude Code Review

PR Code Review

Change: Bump mypy from 2.0.0 to 2.1.0 in pyproject.toml (lint dependency group)


Code Quality

  • Style guide — Single-line change in pyproject.toml, no style concerns.
  • No commented-out code — N/A.
  • Meaningful variable names — N/A.
  • DRY principle — N/A.
  • Defects — No logic changes; straightforward version pin update.
  • CLAUDE.md — No issues; project instructions are general and environment-agnostic.

Testing

  • Unit/integration tests — No functional code changed; no new tests required.
  • Coverage — N/A for a dependency bump.

Documentation

  • README — No update needed.
  • API docs — N/A.
  • Inline comments — N/A.
  • CHANGELOG.md — Dependency bumps of dev/lint tools typically don't require changelog entries; acceptable.
  • Markdown formatting — N/A.

Security

  • No hardcoded credentials — N/A.
  • Input validation — N/A.
  • Error handling — N/A.
  • Sensitive data in logs — N/A.
  • License files — None present.

Summary: Clean, minimal dependency bump with no issues. The mypy version constraint is correctly placed in the lint extras group (pyproject.toml:77), consistent with how other lint tools are pinned. No concerns.

Automated code review analyzing defects and coding standards

@docktermj docktermj merged commit 799d829 into main Jun 4, 2026
12 checks passed
@docktermj docktermj deleted the dependabot/pip/mypy-2.1.0 branch June 4, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants