Skip to content

Commit cb28eac

Browse files
Bump: Minimum Python version 3.10 and ansible-core version 2.16 (#721)
Co-authored-by: Claus Holbech <[email protected]>
1 parent 02b78bc commit cb28eac

File tree

8 files changed

+22
-37
lines changed

8 files changed

+22
-37
lines changed

.github/workflows/pull-request-management.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
strategy:
107107
fail-fast: true
108108
matrix:
109-
python_version: ['3.9','3.10','3.11']
109+
python_version: ['3.10','3.11','3.12','3.13']
110110
steps:
111111
- name: 'set environment variables'
112112
run: |
@@ -131,7 +131,7 @@ jobs:
131131
strategy:
132132
fail-fast: true
133133
matrix:
134-
python_version: ['3.9','3.10','3.11','3.12']
134+
python_version: ['3.10','3.11','3.12','3.13']
135135
steps:
136136
- name: 'set environment variables'
137137
run: |
@@ -143,9 +143,8 @@ jobs:
143143
with:
144144
python-version: ${{ matrix.python_version }}
145145
- name: Install requirements
146-
# Removing ansible-lint in requirement-dev-3.9 to allow requirements installation for Python 3.9.
147146
run: |
148-
pip install -r ansible_collections/arista/cvp/requirements-dev-pytest.txt
147+
pip install -r ansible_collections/arista/cvp/requirements-dev.txt
149148
pip install -r ansible_collections/arista/cvp/requirements.txt
150149
- name: 'Execute pytest validation'
151150
run: |
@@ -165,7 +164,7 @@ jobs:
165164
fail-fast: true
166165
matrix:
167166
ansible_version:
168-
- 'ansible-core>=2.15.0,<2.18.0 --upgrade'
167+
- 'ansible-core>=2.16.0,<2.19.0 --upgrade'
169168
cvp_scenario:
170169
- cv_configlet_loose
171170
- cv_configlet_strict
@@ -200,7 +199,7 @@ jobs:
200199
strategy:
201200
fail-fast: true
202201
matrix:
203-
ansible_version: ['ansible-core==2.15.0', 'ansible-core<2.18.0']
202+
ansible_version: ['ansible-core==2.16.0', 'ansible-core<2.19.0']
204203
cvp_scenario:
205204
- dhcp_management_mac
206205
- dhcp_management_offline

ansible_collections/arista/cvp/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Even if the `arista.cvp` collection is integrated with the `arista.avd` collecti
1616

1717
The CVP collection has the following requirements:
1818

19-
- Python 3.9+
20-
- Ansible Core 2.15.0 to 2.18.x
19+
- Python 3.10+
20+
- Ansible Core 2.16.0 to 2.18.x
2121
- Install the arista.cvp collection
2222
- [Additional Python packages](#additional-python-dependencies)
2323

@@ -43,7 +43,7 @@ Please check the minimum version supported by your ansible installation on the [
4343

4444
**Ansible version:**
4545

46-
- ansible-core>=2.15.0,<2.19.0
46+
- ansible-core>=2.16.0,<2.19.0
4747

4848
**3rd party Python libraries:**
4949

ansible_collections/arista/cvp/docs/installation/requirements.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626

2727
## Python
2828

29-
- Python **3.9** or later
29+
- Python **3.10** or later
3030

3131
## Supported Ansible Versions
3232

33-
- ansible-core from **2.15.0** to **2.17.x**
33+
- ansible-core from **2.16.0** to **2.18.x**
3434

3535
## Additional Python Libraries required
3636

ansible_collections/arista/cvp/docs/release-notes/v3.x.md

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
- On premise version higher than 2021.3.0
1515
- CloudVision as a Service
1616

17+
## Release 3.13.0
18+
19+
### Requirements
20+
21+
- Ansible-cvp now requires Python **3.10** or later
22+
- Ansible-cvp now requires a newer minimum version of the Python package `ansible-core>=2.16.0,<2.19.0`
23+
The latest version can be installed with `pip install "ansible-core>=2.16.0,<2.19.0" --upgrade`
24+
1725
## Release 3.12.0
1826

1927
Full release note available on [github](https://github.com/aristanetworks/ansible-cvp/releases/tag/v3.12.0)

ansible_collections/arista/cvp/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Current active branch:
3737

3838
### Python
3939

40-
- Python `>=3.9`
40+
- Python `>=3.10`
4141

4242
Please check the minimum version supported by your ansible installation on the [ansible website](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#control-node-requirements).
4343

4444
### Additional Python Libraries required
4545

4646
**Ansible version:**
4747

48-
- ansible-core>=2.15.0,<2.19.0
48+
- ansible-core>=2.16.0,<2.19.0
4949

5050
**3rd party Python libraries:**
5151

ansible_collections/arista/cvp/meta/runtime.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
requires_ansible: '>=2.15.0,<2.19.0'
2+
requires_ansible: '>=2.16.0,<2.19.0'
33
plugin_routing:
44
modules:
55
cv_facts:

ansible_collections/arista/cvp/requirements-dev-pytest.txt

-22
This file was deleted.

ansible_collections/arista/cvp/requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ansible-core>=2.15.0,<2.19.0
1+
ansible-core>=2.16.0,<2.19.0
22
ansible-builder
33
ansible-lint>=24.7.0
44
galaxy-importer>=0.3.1

0 commit comments

Comments
 (0)