diff --git a/.github/workflows/pull-request-management.yml b/.github/workflows/pull-request-management.yml index 1fa4be365..55c805499 100644 --- a/.github/workflows/pull-request-management.yml +++ b/.github/workflows/pull-request-management.yml @@ -106,7 +106,7 @@ jobs: strategy: fail-fast: true matrix: - python_version: ['3.9','3.10','3.11'] + python_version: ['3.10','3.11','3.12','3.13'] steps: - name: 'set environment variables' run: | @@ -131,7 +131,7 @@ jobs: strategy: fail-fast: true matrix: - python_version: ['3.9','3.10','3.11','3.12'] + python_version: ['3.10','3.11','3.12','3.13'] steps: - name: 'set environment variables' run: | @@ -143,9 +143,8 @@ jobs: with: python-version: ${{ matrix.python_version }} - name: Install requirements - # Removing ansible-lint in requirement-dev-3.9 to allow requirements installation for Python 3.9. run: | - pip install -r ansible_collections/arista/cvp/requirements-dev-pytest.txt + pip install -r ansible_collections/arista/cvp/requirements-dev.txt pip install -r ansible_collections/arista/cvp/requirements.txt - name: 'Execute pytest validation' run: | @@ -165,7 +164,7 @@ jobs: fail-fast: true matrix: ansible_version: - - 'ansible-core>=2.15.0,<2.18.0 --upgrade' + - 'ansible-core>=2.16.0,<2.19.0 --upgrade' cvp_scenario: - cv_configlet_loose - cv_configlet_strict @@ -200,7 +199,7 @@ jobs: strategy: fail-fast: true matrix: - ansible_version: ['ansible-core==2.15.0', 'ansible-core<2.18.0'] + ansible_version: ['ansible-core==2.16.0', 'ansible-core<2.19.0'] cvp_scenario: - dhcp_management_mac - dhcp_management_offline diff --git a/ansible_collections/arista/cvp/README.md b/ansible_collections/arista/cvp/README.md index c808ee96b..0a685bcc2 100644 --- a/ansible_collections/arista/cvp/README.md +++ b/ansible_collections/arista/cvp/README.md @@ -16,8 +16,8 @@ Even if the `arista.cvp` collection is integrated with the `arista.avd` collecti The CVP collection has the following requirements: -- Python 3.9+ -- Ansible Core 2.15.0 to 2.18.x +- Python 3.10+ +- Ansible Core 2.16.0 to 2.18.x - Install the arista.cvp collection - [Additional Python packages](#additional-python-dependencies) @@ -43,7 +43,7 @@ Please check the minimum version supported by your ansible installation on the [ **Ansible version:** -- ansible-core>=2.15.0,<2.19.0 +- ansible-core>=2.16.0,<2.19.0 **3rd party Python libraries:** diff --git a/ansible_collections/arista/cvp/docs/installation/requirements.md b/ansible_collections/arista/cvp/docs/installation/requirements.md index 9a9e4460d..ec4e013c7 100644 --- a/ansible_collections/arista/cvp/docs/installation/requirements.md +++ b/ansible_collections/arista/cvp/docs/installation/requirements.md @@ -26,11 +26,11 @@ ## Python -- Python **3.9** or later +- Python **3.10** or later ## Supported Ansible Versions -- ansible-core from **2.15.0** to **2.17.x** +- ansible-core from **2.16.0** to **2.18.x** ## Additional Python Libraries required diff --git a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md index f96139ea8..61553ef31 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md @@ -14,6 +14,14 @@ - On premise version higher than 2021.3.0 - CloudVision as a Service +## Release 3.13.0 + +### Requirements + +- Ansible-cvp now requires Python **3.10** or later +- Ansible-cvp now requires a newer minimum version of the Python package `ansible-core>=2.16.0,<2.19.0` + The latest version can be installed with `pip install "ansible-core>=2.16.0,<2.19.0" --upgrade` + ## Release 3.12.0 Full release note available on [github](https://github.com/aristanetworks/ansible-cvp/releases/tag/v3.12.0) diff --git a/ansible_collections/arista/cvp/index.md b/ansible_collections/arista/cvp/index.md index 0d98f391c..5b26d6154 100644 --- a/ansible_collections/arista/cvp/index.md +++ b/ansible_collections/arista/cvp/index.md @@ -37,7 +37,7 @@ Current active branch: ### Python -- Python `>=3.9` +- Python `>=3.10` 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). @@ -45,7 +45,7 @@ Please check the minimum version supported by your ansible installation on the [ **Ansible version:** -- ansible-core>=2.15.0,<2.19.0 +- ansible-core>=2.16.0,<2.19.0 **3rd party Python libraries:** diff --git a/ansible_collections/arista/cvp/meta/runtime.yml b/ansible_collections/arista/cvp/meta/runtime.yml index 9d4223d29..b81480ebb 100644 --- a/ansible_collections/arista/cvp/meta/runtime.yml +++ b/ansible_collections/arista/cvp/meta/runtime.yml @@ -1,5 +1,5 @@ --- -requires_ansible: '>=2.15.0,<2.19.0' +requires_ansible: '>=2.16.0,<2.19.0' plugin_routing: modules: cv_facts: diff --git a/ansible_collections/arista/cvp/requirements-dev-pytest.txt b/ansible_collections/arista/cvp/requirements-dev-pytest.txt deleted file mode 100644 index 7664e55d9..000000000 --- a/ansible_collections/arista/cvp/requirements-dev-pytest.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Temp requirements for pytest testing. Required ansible-lint version as it's not compatible with Python 3.9, so it is removed. -ansible-core>=2.15.0,<2.19.0 -ansible-builder -galaxy-importer>=0.3.1 -pycodestyle -flake8 -pylint>=2.16.1 -twine -pre-commit>=2.9.2 -pre-commit-hooks>=3.3.0 -identify>=1.4.20 -docker -molecule>=3.2.0,<6.0 -molecule-docker>=0.2.4 -mitogen -pytest -pytest-cov>=2.11.1 -pytest-html>=3.1.1 -pytest-metadata>=1.11.0 -pytest-dependency -jmespath -pytest-mock diff --git a/ansible_collections/arista/cvp/requirements-dev.txt b/ansible_collections/arista/cvp/requirements-dev.txt index ac9c433d6..ab723649b 100644 --- a/ansible_collections/arista/cvp/requirements-dev.txt +++ b/ansible_collections/arista/cvp/requirements-dev.txt @@ -1,4 +1,4 @@ -ansible-core>=2.15.0,<2.19.0 +ansible-core>=2.16.0,<2.19.0 ansible-builder ansible-lint>=24.7.0 galaxy-importer>=0.3.1