Skip to content

Commit 9a410e5

Browse files
authored
update for control node min. python 3.12 now (#2934)
1 parent 578a812 commit 9a410e5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
private-key: ${{ secrets.BOT_APP_KEY }}
4949
- name: Checkout parent repository
5050
uses: actions/checkout@v4
51-
- name: Install Python 3.11
51+
- name: Install Python 3.12
5252
uses: actions/setup-python@v5
5353
with:
54-
python-version: "3.11"
54+
python-version: "3.12"
5555
- name: Set up UV
5656
run: curl -LsSf https://astral.sh/uv/install.sh | sh
5757
- name: Setup venv

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
'pip-compile(spelling)'
2929
'pip-compile(tag)'
3030
'pip-compile(pip-compile)'
31-
python-versions: "3.11"
31+
python-versions: "3.12"
3232
- base-branch: stable-2.19
3333
pr-branch: pip-compile/stable-2.19/dev
3434
nox-args: >-

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build:
88
os: ubuntu-22.04
99
tools:
1010
python: >-
11-
3.11
11+
3.12
1212
# Build with make coredocs
1313
commands:
1414
- python -m venv "${READTHEDOCS_VIRTUALENV_PATH}"

docs/docsite/rst/dev_guide/testing/sanity/compile.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ All Python source files must successfully compile using all supported Python ver
1212

1313
Control node code, including plugins in Ansible Collections, must support the following Python versions:
1414

15-
- 3.11
16-
- 3.10
17-
- 3.9
15+
- 3.14
16+
- 3.13
17+
- 3.12
1818

1919
Code which runs on targets (``modules`` and ``module_utils``) must support all control node supported Python versions,
2020
as well as the additional Python versions supported only on targets:

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def lint(session: nox.Session):
155155
)
156156

157157

158-
@nox.session(name="pip-compile", python="3.11")
158+
@nox.session(name="pip-compile", python="3.12")
159159
@nox.parametrize(["req"], requirements_files, requirements_files)
160160
def pip_compile(session: nox.Session, req: str):
161161
"""

0 commit comments

Comments
 (0)