ansible-collections / news-for-maintainers

Announcements of changes impacting collection contributors and maintainers
27 stars 4 forks source link

ansible-core devel dropping controller support for Python 3.9 #49

Closed s-hertel closed 5 months ago

s-hertel commented 1 year ago

Amending https://github.com/ansible-collections/news-for-maintainers/issues/48:

On July 6th, the version of ansible-core will be updated to drop controller support for Python 3.9. The devel version of the controller will then require Python 3.10, 3.11, or 3.12. Target Python versions are not affected. To develop and test against multiple versions of ansible-core in the same environment, the oldest version used will determine the Python version required.

Oldest ansible-core version used for dev/test Use Python version
2.16 / devel 3.10 - 3.12
2.14 and 2.15 3.10 - 3.11
2.12 and 2.13 3.10

If you maintain a collection tested on Azure Pipelines in the Ansible org:

If you maintain a collection tested by another CI system:

The following is a checklist of collections tested on Azure Pipelines which need to update their container version. Many of these will also need to drop end-of-life versions of ansible-core from their test matrix.

felixfontein commented 1 year ago

If you still need to run tests with ansible-core 2.11 or earlier, you need to run them with GHA.

For example community.general still supports Ansible 2.9+, and runs tests with EOL'ed Ansible/ansible-base/ansible-core versions with GHA, and others with AZP. The config files are as follows: https://github.com/ansible-collections/community.crypto/blob/main/.github/workflows/ansible-test.yml and https://github.com/ansible-collections/community.crypto/blob/main/.azure-pipelines/azure-pipelines.yml