From d5932346ba6de3295c94e1d43c3bf71e4911248d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 20:20:32 +0000 Subject: [PATCH 1/3] CI(deps): Update dependency python to v3.14.0 --- .github/workflows/additional_checks.yml | 2 +- .github/workflows/create_release_draft.yml | 2 +- .github/workflows/documentation.yml | 2 +- .github/workflows/python-code-quality.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/additional_checks.yml b/.github/workflows/additional_checks.yml index 0a49c104217..8f8aab4f9ab 100644 --- a/.github/workflows/additional_checks.yml +++ b/.github/workflows/additional_checks.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Python uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 with: - python-version: "3.13" + python-version: "3.14" - name: Install uv and restore its cache uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 with: diff --git a/.github/workflows/create_release_draft.yml b/.github/workflows/create_release_draft.yml index b7d909ae76e..436fd8b0b9d 100644 --- a/.github/workflows/create_release_draft.yml +++ b/.github/workflows/create_release_draft.yml @@ -38,7 +38,7 @@ jobs: - name: Set up Python uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 with: - python-version: '3.13' + python-version: '3.14' - name: Create output directory run: | mkdir "${OUT_DIR}" diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index eea8ce0be2b..bb4d0111b8b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -23,7 +23,7 @@ jobs: env: PYTHONWARNINGS: always # renovate: datasource=python-version depName=python - PYTHON_VERSION: "3.13" + PYTHON_VERSION: "3.14" steps: - name: Checkout core diff --git a/.github/workflows/python-code-quality.yml b/.github/workflows/python-code-quality.yml index 2286814aa6d..29b94879adb 100644 --- a/.github/workflows/python-code-quality.yml +++ b/.github/workflows/python-code-quality.yml @@ -27,7 +27,7 @@ jobs: env: # renovate: datasource=python-version depName=python - PYTHON_VERSION: "3.13" + PYTHON_VERSION: "3.14" MIN_PYTHON_VERSION: "3.9" # renovate: datasource=pypi depName=flake8 FLAKE8_VERSION: "7.3.0" From 7404e6b8bd0a42ba74123dc49954ebcb85238fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Thu, 9 Oct 2025 17:20:20 -0400 Subject: [PATCH 2/3] CI: Change Python versions to 3.10 and 3.14 in pytest workflow --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c065a2c14a2..2ce5af46b15 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -23,8 +23,8 @@ jobs: os: - ubuntu-22.04 python-version: - - "3.9" - - "3.13" + - "3.10" + - "3.14" fail-fast: true runs-on: ${{ matrix.os }} From 80b17801810f8a066fac0da6f82221a08918ada6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:09:07 -0400 Subject: [PATCH 3/3] Update Python version requirements to 3.10 --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f50b474fdc2..d9598c82d8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "grass" -requires-python = ">=3.9" +requires-python = ">=3.10" # *GRASS TODO: keep in sync with MIN_PYTHON_VERSION supported* [tool.black] line-length = 88 required-version = '25' -target-version = ['py39', 'py310', 'py311', 'py312', 'py313'] +target-version = ['py310', 'py311', 'py312', 'py313', 'py314'] # 'extend-exclude' excludes files or directories in addition to the defaults extend-exclude = ''' ( @@ -533,7 +533,7 @@ load-plugins = [ # version used to run pylint. # *GRASS modified* # *GRASS TODO: keep in sync with MIN_PYTHON_VERSION supported* -py-version = "3.9" +py-version = "3.10" # Add paths to the list of the source roots. Supports globbing patterns. The # source root is an absolute path or a path relative to the current working @@ -810,7 +810,7 @@ include = ["python"] # *GRASS modified* # *GRASS TODO: keep in sync with MIN_PYTHON_VERSION supported* -pythonVersion = "3.9" +pythonVersion = "3.10" [tool.pyrefact] line_length = 88 @@ -818,4 +818,4 @@ line_length = 88 [tool.isort] profile = "black" # *GRASS TODO: keep in sync with MIN_PYTHON_VERSION supported* -py_version = 39 +py_version = 310