We are pumped to announce the release of: oslo.utils 7.1.0: Oslo Utility library This release is part of the caracal release series. The source is available from: https://opendev.org/openstack/oslo.utils Download the package from: https://pypi.org/project/oslo.utils Please report issues through: https://bugs.launchpad.net/oslo.utils/+bugs For more details, please see below. 7.1.0 ^^^^^ New Features * Introducing a new spec DSL operator called "<range-in>" that allows users to match a numeric value against a range of numbers that are delimited with lower and upper limits. The new operator is a binary operator that accepts 4 arguments. * The first one and the last one are brackets. "[" and "]" defines inclusive limits while "(" and ")" defines exclusive limits. * The second one is the lower limit while the third one is the upper limit. Example: "<range-in> [ 10.4 20 )" will match a value against an range such as the lower limit of the range is 10.4 and the upper limit is 20. Note that 10.4 is included while 20 is excluded. Changes in oslo.utils 7.0.0..7.1.0 ---------------------------------- 72c80f6 add <range-in> spec DSL operator 093f20d reno: Update master for unmaintained/yoga 619d312 pre-commit: Integrate bandit 2eb7a9f pre-commit: Bump versions e159cfd Bump hacking 569296d Require pytz only in Python < 3.9 Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 29 ++-- oslo_utils/excutils.py | 2 +- oslo_utils/specs_matcher.py | 52 +++++- .../new_spec_dsl_operator-21c80a46f67c56df.yaml | 17 ++ releasenotes/source/yoga.rst | 2 +- requirements.txt | 4 +- test-requirements.txt | 11 -- tox.ini | 7 +- 9 files changed, 272 insertions(+), 44 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 57158f7..be2c366 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ oslo.i18n>=3.15.3 # Apache-2.0 -pytz>=2013.6 # MIT +pytz>=2013.6;python_version<"3.9" # MIT @@ -14 +14 @@ packaging>=20.4 # BSD -tzdata>=2022.4 # MIT +tzdata>=2022.4;python_version>="3.9" # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 6a28448..2a80df1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +0,0 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - -hacking>=3.0.1,<3.1.0 # Apache-2.0 - @@ -22,5 +15,0 @@ oslo.config>=5.2.0 # Apache-2.0 - -# Bandit security code scanner -bandit>=1.7.0,<1.8.0 # Apache-2.0 - -pre-commit>=2.6.0 # MIT
participants (1)
-
no-reply@openstack.org