From 391a9b6fb877a22b7bf7b48c775c30177bc8e761 Mon Sep 17 00:00:00 2001 From: Dominik Gresch Date: Thu, 5 Dec 2024 15:53:25 +0100 Subject: [PATCH] Use Python 3.12 in code style checks --- .github/workflows/ci_cd.yml | 5 ++++- tox.ini | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2ebc49cbb..46ac9ecf5 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -32,7 +32,10 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ env.MAIN_PYTHON_VERSION }} + # TODO: switch back to using ${{ env.MAIN_PYTHON_VERSION }} + # once https://github.com/pylint-dev/pylint/issues/10000#issuecomment-2519899671 + # is resolved. + python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip tox diff --git a/tox.ini b/tox.ini index 5a3012ff9..38459fe15 100644 --- a/tox.ini +++ b/tox.ini @@ -64,7 +64,7 @@ commands = description = Checks project code style skip_install = true basepython = - python3.13 + python3.12 # TODO: move to 3.13 once https://github.com/pylint-dev/pylint/issues/10000#issuecomment-2519899671 is fixed allowlist_externals = poetry commands =