Skip to content

Bump mypy from 1.15.0 to 1.16.1#733

Merged
ben-edna merged 3 commits intomainfrom
dependabot/pip/main/mypy-1.16.1
Jun 27, 2025
Merged

Bump mypy from 1.15.0 to 1.16.1#733
ben-edna merged 3 commits intomainfrom
dependabot/pip/main/mypy-1.16.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 16, 2025

Bumps mypy from 1.15.0 to 1.16.1.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Remove Support for targeting Python 3.8

Mypy now requires --python-version 3.9 or greater. Support for only Python 3.8 is fully removed now. Given an unsupported version, mypy will default to the oldest supported one, currently 3.9.

This change is necessary because typeshed stopped supporting Python 3.8 after it reached its End of Life in October 2024.

Contributed by Marc Mueller (PR 19157, PR 19162).

Initial Support for Python 3.14

Mypy is now tested on 3.14 and mypyc works with 3.14.0b3 and later. Mypyc compiled wheels of mypy itself will be available for new versions after 3.14.0rc1 is released.

Note that not all new features might be supported just yet.

Contributed by Marc Mueller (PR 19164)

Deprecated Flag: --force-uppercase-builtins

Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated and a no-op. It will be removed in a future version.

Contributed by Marc Mueller (PR 19176)

Mypy 1.16

We’ve just uploaded mypy 1.16 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features 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.

Different Property Getter and Setter Types

Mypy now supports using different types for a property getter and setter:

class A:
    _value: int
@property

</tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Description by Korbit AI

What change is being made?

Bump the mypy version from 1.15.0 to 1.16.1 in pyproject.toml and remove the --strict flag from the mypy execution in the GitHub Actions workflow file.

Why are these changes being made?

Updating to mypy 1.16.1 ensures compatibility with the latest type-checking improvements and bug fixes. The removal of the --strict flag is likely to accommodate changes in strict type-checking requirements, allowing the build to pass without strict mode enabled. Additionally, setting warn_unused_ignores to false suppresses warnings about unused ignores, reducing noise in the analysis output.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

@dependabot dependabot Bot added the dependencies Packages this project depends on label Jun 16, 2025
@korbit-ai
Copy link
Copy Markdown

korbit-ai Bot commented Jun 16, 2025

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

@dependabot dependabot Bot force-pushed the dependabot/pip/main/mypy-1.16.1 branch from af54a10 to e08872a Compare June 20, 2025 05:52
Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.16.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.15.0...v1.16.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.16.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@ben-edna ben-edna force-pushed the dependabot/pip/main/mypy-1.16.1 branch from e08872a to 1ead4f5 Compare June 27, 2025 14:34
ben-edna added 2 commits June 27, 2025 14:40
Pylance also uses type ignores, mypy should not complain
The flag reenables warn_unused_ignores  but they were just disabled in the pyproject.toml
@ben-edna ben-edna merged commit 35d2423 into main Jun 27, 2025
28 checks passed
@ben-edna ben-edna deleted the dependabot/pip/main/mypy-1.16.1 branch June 27, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Packages this project depends on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant