From c4cc47e107b58e7378ad48169ed4a2b2e66494a3 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Wed, 16 Oct 2024 17:27:19 +0300 Subject: [PATCH] [3.13] CI: Bump Python to 3.13 and mypy to 1.12 in mypy workflow (GH-125592) * Bump mypy to 1.12 & Python to 3.13 * Remove unnecessary `type: ignore` (cherry picked from commit d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c) Co-authored-by: Kirill Podoprigora --- .github/workflows/mypy.yml | 2 +- Tools/requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 1b2d998182e0f7..e5b05302b5ac27 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -53,7 +53,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" cache: pip cache-dependency-path: Tools/requirements-dev.txt - run: pip install -r Tools/requirements-dev.txt diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt index 1767727373918f..a4261ff0a38d1b 100644 --- a/Tools/requirements-dev.txt +++ b/Tools/requirements-dev.txt @@ -1,6 +1,6 @@ # Requirements file for external linters and checks we run on # Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI -mypy==1.10.0 +mypy==1.12 # needed for peg_generator: types-psutil==5.9.5.20240423