update for control node min. python 3.12 now (#2934)

This commit is contained in:
Sandra McCann
2025-07-31 16:54:38 -04:00
committed by GitHub
parent 578a812a0c
commit 9a410e589f
5 changed files with 8 additions and 8 deletions

View File

@@ -48,10 +48,10 @@ jobs:
private-key: ${{ secrets.BOT_APP_KEY }} private-key: ${{ secrets.BOT_APP_KEY }}
- name: Checkout parent repository - name: Checkout parent repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Python 3.11 - name: Install Python 3.12
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.12"
- name: Set up UV - name: Set up UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Setup venv - name: Setup venv

View File

@@ -28,7 +28,7 @@ jobs:
'pip-compile(spelling)' 'pip-compile(spelling)'
'pip-compile(tag)' 'pip-compile(tag)'
'pip-compile(pip-compile)' 'pip-compile(pip-compile)'
python-versions: "3.11" python-versions: "3.12"
- base-branch: stable-2.19 - base-branch: stable-2.19
pr-branch: pip-compile/stable-2.19/dev pr-branch: pip-compile/stable-2.19/dev
nox-args: >- nox-args: >-

View File

@@ -8,7 +8,7 @@ build:
os: ubuntu-22.04 os: ubuntu-22.04
tools: tools:
python: >- python: >-
3.11 3.12
# Build with make coredocs # Build with make coredocs
commands: commands:
- python -m venv "${READTHEDOCS_VIRTUALENV_PATH}" - python -m venv "${READTHEDOCS_VIRTUALENV_PATH}"

View File

@@ -12,9 +12,9 @@ All Python source files must successfully compile using all supported Python ver
Control node code, including plugins in Ansible Collections, must support the following Python versions: Control node code, including plugins in Ansible Collections, must support the following Python versions:
- 3.11 - 3.14
- 3.10 - 3.13
- 3.9 - 3.12
Code which runs on targets (``modules`` and ``module_utils``) must support all control node supported Python versions, Code which runs on targets (``modules`` and ``module_utils``) must support all control node supported Python versions,
as well as the additional Python versions supported only on targets: as well as the additional Python versions supported only on targets:

View File

@@ -155,7 +155,7 @@ requirements_files = list(
) )
@nox.session(name="pip-compile", python="3.11") @nox.session(name="pip-compile", python="3.12")
@nox.parametrize(["req"], requirements_files, requirements_files) @nox.parametrize(["req"], requirements_files, requirements_files)
def pip_compile(session: nox.Session, req: str): def pip_compile(session: nox.Session, req: str):
""" """