Skip to content

Chore(deps-dev): update mypy requirement from <2.0,>=1.16 to >=1.16,<3.0 in the dev-tools group#265

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dev-tools-6615f4149c
Closed

Chore(deps-dev): update mypy requirement from <2.0,>=1.16 to >=1.16,<3.0 in the dev-tools group#265
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/dev-tools-6615f4149c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mypy to permit the latest version.
Updates mypy 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

  • 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)

Changes to Messages

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.

Updates `mypy` to 2.1.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.16.0...v2.1.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.1.0
  dependency-type: direct:development
  dependency-group: dev-tools
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 11, 2026
MinhHaDuong added a commit that referenced this pull request Jun 23, 2026
Consolidates five Dependabot floor bumps that each touched pyproject.toml
in isolation (#261 plotly, #262 seaborn, #263 ibis-framework, #264 pyarrow,
#265 mypy). Three raised the lower bound above the locked version without
updating uv.lock, which would leave the lockfile inconsistent with
pyproject.toml after merge (CI only runs plain `uv sync`, never --locked,
so the drift goes uncaught).

Landing them together with a regenerated uv.lock keeps the lockfile
consistent (`uv lock --locked` passes) and avoids four sequential
Dependabot rebases on the same file.

  plotly        >=5.0.0  -> >=6.7.0   (locked 6.3.1 -> 6.8.0)
  ibis-framework>=8.0.0  -> >=12.0.0  (locked 11.0.0 -> 12.0.0)
  pyarrow       >=14.0.0 -> >=23.0.1  (locked 21.0.0 -> 24.0.0)
  seaborn       >=0.13.0 -> >=0.13.2  (already locked at 0.13.2)
  mypy          <2.0     -> <3.0      (locked 1.16.1 unchanged)

Verified: uv sync, uv lock --locked, ruff check, ruff format --check all
pass; plotly/ibis/pyarrow/seaborn import at the new versions.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@MinhHaDuong

Copy link
Copy Markdown
Collaborator

Superseded by #271, which lands this floor bump together with the other four Dependabot updates and a regenerated uv.lock (this PR raised the floor above the locked version without updating the lockfile).

@dependabot @github

dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@MinhHaDuong MinhHaDuong deleted the dependabot/pip/dev-tools-6615f4149c branch June 23, 2026 08:35
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.

1 participant