mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
update for control node min. python 3.12 now (#2934)
This commit is contained in:
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@@ -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
|
||||||
|
|||||||
2
.github/workflows/pip-compile-dev.yml
vendored
2
.github/workflows/pip-compile-dev.yml
vendored
@@ -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: >-
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user