From 92b387aa2743bdb32f111d12a018dd8a3b0c8ac8 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 15 Oct 2019 15:53:58 -0700 Subject: [PATCH] Fix hcloud requirements. Avoid installing hcloud on Python 3.9 since it is not supported. --- changelogs/fragments/ansible-test-hcloud-constraint.yml | 2 ++ .../_data/requirements/integration.cloud.hcloud.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/ansible-test-hcloud-constraint.yml diff --git a/changelogs/fragments/ansible-test-hcloud-constraint.yml b/changelogs/fragments/ansible-test-hcloud-constraint.yml new file mode 100644 index 00000000000..df068825fab --- /dev/null +++ b/changelogs/fragments/ansible-test-hcloud-constraint.yml @@ -0,0 +1,2 @@ +bugfixes: + - ansible-test now limits installation of ``hcloud`` to Python 2.7 and 3.5 - 3.8 since other versions are unsupported diff --git a/test/lib/ansible_test/_data/requirements/integration.cloud.hcloud.txt b/test/lib/ansible_test/_data/requirements/integration.cloud.hcloud.txt index b6b791777b9..a6580e69c03 100644 --- a/test/lib/ansible_test/_data/requirements/integration.cloud.hcloud.txt +++ b/test/lib/ansible_test/_data/requirements/integration.cloud.hcloud.txt @@ -1 +1 @@ -hcloud>=1.6.0 ; python_version >= '2.7' # Python 2.6 is not supported (sanity_ok); Only hcloud >= 1.6.0 supports Floating IPs with names +hcloud>=1.6.0 ; python_version >= '2.7' and python_version < '3.9' # Python 2.6 is not supported (sanity_ok); Only hcloud >= 1.6.0 supports Floating IPs with names; Python 3.9 and later are not supported