From 4327c653161c52f812d8638111bf58f59db96da7 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 16 Nov 2023 14:07:09 +0100 Subject: [PATCH] Pinned voluptuous to <0.14 on Python<3.6 Signed-off-by: Andreas Maier --- dev-requirements.txt | 6 ++++-- docs/source/release_notes.rst | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 113653192..689e7bbf0 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -16,8 +16,10 @@ # Ansible validate-modules (no imports, invoked via validate-modules script) mock>=2.0.0 # voluptous 0.13.0 uses 'enum' module which is not available on py27 (it also does not use enum34 for backport). This has been fixed in 0.13.1. -voluptuous>=0.11.7,!=0.13.0; python_version == '2.7' -voluptuous>=0.11.7; python_version >= '3.5' +# voluptuous 0.14.0 requires Python >=3.6 without properly declaring that in the package metadata. +voluptuous>=0.11.7,!=0.13.0,<0.14; python_version == '2.7' +voluptuous>=0.11.7,<0.14; python_version == '3.5' +voluptuous>=0.11.7; python_version >= '3.6' # Unit test (imports into testcases): # packaging is specified in requirements.txt diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index b13d2b17d..65a93d5a5 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -75,6 +75,8 @@ Availability: `AutomationHub`_, `Galaxy`_, `GitHub`_ * Fixed and improved the description of the 'zhmc_lpar' module for state=active/loaded; cleaned up the code without functional changes. +* Dev: Pinned voluptuous package to <0.14 on Python < 3.6. + **Enhancements:** * Increased minimum version of zhmcclient to 1.11.3 to pick up fixes.