From c8ebbdf4884c8ffd6e801ca4121978082380617c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 7 May 2026 14:42:40 +0200 Subject: [PATCH] increase minimum Python version for mypy to 3.10 Not raising the minimum required version yet. --- .github/workflows/ci-tests.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 2542ba9d..8670263b 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -127,7 +127,7 @@ jobs: if: matrix.dependencies == 'pip' - name: Python static typechecking - run: ../venv/bin/python -m mypy --strict --python-version 3.9 src + run: ../venv/bin/python -m mypy --strict --python-version 3.10 src working-directory: Nominatim if: matrix.dependencies == 'pip' diff --git a/Makefile b/Makefile index 2d501808..8729cc8f 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ build-api: tests: mypy lint pytest bdd mypy: - mypy --strict --python-version 3.9 src + mypy --strict --python-version 3.10 src pytest: pytest test/python -- 2.47.3