Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinned voluptuous to <0.14 on Python<3.6 #823

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,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:**

* Added support for Python 3.12. (issue #796)
Expand Down