From 82d70c31f3988a3c9e07708c5c9057013b5986bf Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 16 Nov 2025 21:03:36 +0100 Subject: [PATCH] Allow to configure Python version to compile docs build dependencies. --- .github/workflows/pip-compile-docs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pip-compile-docs.yml b/.github/workflows/pip-compile-docs.yml index 4e6d44fce54..2583bbd99c1 100644 --- a/.github/workflows/pip-compile-docs.yml +++ b/.github/workflows/pip-compile-docs.yml @@ -18,6 +18,12 @@ name: "Refresh docs build dependencies" labels: required: false type: string + python-version: + description: >- + Python version to use to compile the dependencies. + Must be correctly chosen for every stable branch. + type: string + default: "3.12" jobs: refresh: @@ -32,5 +38,5 @@ jobs: 'pip-compile(requirements)' reset-branch: "${{ inputs.reset-branch || false }}" labels: "${{ inputs.labels || 'doc builds,no_backport' }}" - python-versions: "3.12" + python-versions: "${{ inputs.python-version }}" secrets: inherit