From 383e03905211ed7805d4780244e5ff500d9bda06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 2 Dec 2024 12:39:25 +0100 Subject: [PATCH] Renovate shouldn't update the Python minimum version --- .github/workflows/main.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 596fc5bef50..68ae0119a76 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -31,6 +31,10 @@ jobs: env: MAIN_BRANCH: master MAJOR_VERSION: '2.10' + # When we upgrade this we should also upgrade the requirements + # in the documentation: doc/integrator/requirements.rst + # and the first pyupgrade pre-commit hook in .pre-commit-config.yaml + MIN_PYTHON_VERSION: '3.8' steps: - run: '! ls BACKPORT_TODO' @@ -183,11 +187,7 @@ jobs: # Use minimal version from the documentation - uses: actions/setup-python@v5 with: - # When we upgrade this we should also upgrade the requirements - # in the documentation: doc/integrator/requirements.rst - # and the first pyupgrade pre-commit hook in .pre-commit-config.yaml - python-version: '3.8' # Shouldn't be upgraded to latest Python version - - run: python --version|grep ' 3\.8\.' + python-version: '{{ env.MIN_PYTHON_VERSION }}' - run: pip install --requirement=ci/requirements-project.txt - run: docker compose version