[release-announce] oslo.policy 3.7.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Wed Mar 3 13:48:41 UTC 2021


We are tickled pink to announce the release of:

oslo.policy 3.7.0: Oslo Policy library

This release is part of the wallaby release series.

The source is available from:

    https://opendev.org/openstack/oslo.policy

Download the package from:

    https://pypi.org/project/oslo.policy

Please report issues through:

    https://bugs.launchpad.net/oslo.policy/+bugs

For more details, please see below.

3.7.0
^^^^^


New Features
************

* "DeprecatedRule" now accepts two new parameters:
  "deprecated_reason" and "deprecated_since". These should be used in
  place of the equivalent parameters on the rule that is replacing
  this rule in order to avoid confusion.


Upgrade Notes
*************

* Users with a "RuleDefault" or "DocumentedRuleDefault" that have
  configured a "deprecated_rule" should move the "deprecated_reason"
  and "deprecated_since" parameters to this "DeprecatedRule".

Changes in oslo.policy 3.6.2..3.7.0
-----------------------------------

d853485 trivial: Tweak docstrings
45249db Make 'Rule' attributes read-only
d933ca8 Don't modify 'Rule.check'
d57dd1a Add nova/neutron project unit/functional tests job in gate
16840b6 Add documentation parameters for DeprecatedRule
3e2025b tests: Unset requests-related environment variables
ca3e551 remove unicode from code


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |  46 +++
oslo_policy/generator.py                           |  31 +-
oslo_policy/policy.py                              | 443 ++++++++++++---------
...etadata-to-DeprecatedRule-79d2e8a3f5d11743.yaml |  12 +
releasenotes/source/conf.py                        |  14 +-
9 files changed, 472 insertions(+), 305 deletions(-)







More information about the Release-announce mailing list