Pin python version

Pin the supported python version in tests/config.yaml and mention it in
README.md.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-02-26 16:37:23 +01:00
parent bb132b1682
commit 74f4a48ac1
2 changed files with 4 additions and 2 deletions

View File

@@ -6,9 +6,9 @@
This repository hosts the `kubevirt.core` Ansible Collection, which provides virtual machine operations and inventory source for use with Ansible.
<!--start requires_ansible-->
## Ansible version compatibility
## Ansible and Python version compatibility
This collection has been tested against following Ansible versions: **>=2.14.0**.
This collection has been tested against following Ansible versions **>=2.14.0** and the following Python versions **>=3.11.0,<3.12.0**.
<!--end requires_ansible-->
## Included content

2
tests/config.yaml Normal file
View File

@@ -0,0 +1,2 @@
modules:
python_requires: ">=3.11.0,<3.12.0"