Skip to content

Commit ff0f79c

Browse files
authored
Allow to configure Python version to compile docs build dependencies. (#3257)
1 parent 2aada29 commit ff0f79c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/pip-compile-docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ name: "Refresh docs build dependencies"
1818
labels:
1919
required: false
2020
type: string
21+
python-version:
22+
description: >-
23+
Python version to use to compile the dependencies.
24+
Must be correctly chosen for every stable branch.
25+
type: string
26+
default: "3.12"
2127

2228
jobs:
2329
refresh:
@@ -32,5 +38,5 @@ jobs:
3238
'pip-compile(requirements)'
3339
reset-branch: "${{ inputs.reset-branch || false }}"
3440
labels: "${{ inputs.labels || 'doc builds,no_backport' }}"
35-
python-versions: "3.12"
41+
python-versions: "${{ inputs.python-version }}"
3642
secrets: inherit

0 commit comments

Comments
 (0)