From 74f4a48ac171cf6d11408385e7358b58a079617f Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Mon, 26 Feb 2024 16:37:23 +0100 Subject: [PATCH] Pin python version Pin the supported python version in tests/config.yaml and mention it in README.md. Signed-off-by: Felix Matouschek --- README.md | 4 ++-- tests/config.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 tests/config.yaml diff --git a/README.md b/README.md index cb90fc6..68295ee 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ This repository hosts the `kubevirt.core` Ansible Collection, which provides virtual machine operations and inventory source for use with 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**. ## Included content diff --git a/tests/config.yaml b/tests/config.yaml new file mode 100644 index 0000000..d44d25d --- /dev/null +++ b/tests/config.yaml @@ -0,0 +1,2 @@ +modules: + python_requires: ">=3.11.0,<3.12.0"