fix: Increase Ansible and Python compatibility range to [2.16, 2.18.2[ ()

This commit is contained in:
Mohamed El Mouctar Haidara 2024-12-13 22:42:24 +01:00 committed by GitHub
parent a1908bfac7
commit 68e41a6ad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 5 deletions

View file

@ -22,9 +22,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.11', '3.12' ]
# See https://www.ansible.com/blog/ansible-3.0.0-qa and https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html
ansible-core-version: [ '2.17.*', '2.18.*' ]
include:
- ansible-core-version: '2.16.*'
python-version: '3.10'
- ansible-core-version: '2.16.*'
python-version: '3.11'
- ansible-core-version: '2.17.*'
python-version: '3.10'
- ansible-core-version: '2.17.*'
python-version: '3.11'
- ansible-core-version: '2.18.*'
python-version: '3.11'
- ansible-core-version: '2.18.*'
python-version: '3.12'
steps:
- name: Checkout code

View file

@ -6,6 +6,7 @@
* ci: Collapse the mermaid graphs in the job summary by @haidaraM in https://github.com/haidaraM/ansible-playbook-grapher/pull/221
* feat: Add support for ignoring standalone tasks and role tasks with `--only-roles` in the graph view by @Eltryo in https://github.com/haidaraM/ansible-playbook-grapher/pull/218
* fix: Tasks in 'include_role' were being wrongly included in the graph by default by @haidaraM in https://github.com/haidaraM/ansible-playbook-grapher/pull/222
* fix: Increase Ansible and Python compatibility range to [2.16, 2.18.2[ by @haidaraM in https://github.com/haidaraM/ansible-playbook-grapher/pull/220
**Full Changelog**: https://github.com/haidaraM/ansible-playbook-grapher/compare/v2.5.1...v2.6.0

View file

@ -39,8 +39,10 @@ JavaScript:
## Prerequisites
- Python 3.11 at least. It might work with previous versions, but the code is NOT tested against them.
See [support matrix](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix).
- Python 3.10 at least. It might work with previous versions, but the code is NOT tested against them.
See
the [support matrix](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix)
and the matrix in the [testing workflow](.github/workflows/testing.yaml).
- A virtual environment from which to run the grapher. This is **highly recommended** because the grapher depends on
some versions of ansible-core which are not necessarily installed in your environment and may cause issues if you use
some older versions of Ansible (

View file

@ -1,4 +1,4 @@
ansible-core>=2.17.5,<2.18.2
ansible-core>=2.16,<2.18.2
graphviz>=0.18,<1
colour<1
lxml<6

View file

@ -73,6 +73,7 @@ setup(
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Environment :: Console",
"Topic :: Utilities",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],