From 641e20936c91f625a3e8dbe41210e46caf1d5fbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 06:24:06 +0000 Subject: [PATCH 1/2] Bump mypy from 1.2 to 1.17.1 Bumps [mypy](https://github.com/python/mypy) from 1.2 to 1.17.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.2.0...v1.17.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a64337fe..bd7094b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ dependencies = [ ] optional-dependencies.dev = [ - "mypy==1.2", + "mypy==1.17.1", "tomli", # Needed even on 3.11+ for typechecking with mypy "tox", ] From 497a090610b36ce623d2ebf7e01932b4652557b0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 5 Sep 2025 13:47:44 +0300 Subject: [PATCH 2/2] Fix lint+mypy --- pyperformance/_pyproject_toml.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyperformance/_pyproject_toml.py b/pyperformance/_pyproject_toml.py index 06fc4096..0d0f11ca 100644 --- a/pyperformance/_pyproject_toml.py +++ b/pyperformance/_pyproject_toml.py @@ -20,7 +20,7 @@ import packaging.version try: - import tomllib # type: ignore[import] # tomllib doesn't exist on 3.7-3.10 + import tomllib # type: ignore[import-not-found] # tomllib doesn't exist on 3.7-3.10 except ImportError: import tomli as tomllib diff --git a/pyproject.toml b/pyproject.toml index bd7094b1..47682401 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ dependencies = [ optional-dependencies.dev = [ "mypy==1.17.1", - "tomli", # Needed even on 3.11+ for typechecking with mypy + "tomli", # Needed even on 3.11+ for typechecking with mypy "tox", ] urls = { Homepage = "https://github.com/python/pyperformance" }