We are glad to announce the release of: oslo.policy 4.4.0: Oslo Policy library This release is part of the dalmatian 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. 4.4.0 ^^^^^ Upgrade Notes ************* * The default value of config options "enforce_scope" and "enforce_new_defaults" have been changed to "True". Most of the OpenStack services have enabled these options by default, and now it's time to change the default in the oslo policy itself. If you want to disable them, modify the values of these config options in the service configuration file (for example, "nova.conf"): [oslo_policy] enforce_new_defaults=False enforce_scope=False Deprecation Notes ***************** * The "enforce_scope" configuration option was added temporarily to facilitate a smooth transition to the new RBAC. OpenStack will always enforce the scope checks, and they will not be configurable. This configuration option is marked as deprecated and will be removed in the 2025.2 cycle. Changes in oslo.policy 4.3.0..4.4.0 ----------------------------------- 206ae19 Enable enforce_scope and enforce_new_defaults by default c7083ec reno: Update master for unmaintained/zed db16e68 Remove old excludes 42d63af Update master for stable/2024.1 53660bd reno: Update master for unmaintained/xena 541a2a6 reno: Update master for unmaintained/wallaby 85c74ef reno: Update master for unmaintained/victoria Diffstat (except docs and test files) ------------------------------------- oslo_policy/opts.py | 11 ++- ...nforce_scope_new_defaults-aaf134e5409ae7f2.yaml | 23 ++++++ releasenotes/source/2024.1.rst | 6 ++ releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 2 +- releasenotes/source/wallaby.rst | 2 +- releasenotes/source/xena.rst | 2 +- releasenotes/source/zed.rst | 2 +- requirements.txt | 6 +- test-requirements.txt | 8 +- 13 files changed, 118 insertions(+), 65 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f2f2f85..c4ea468 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +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. - @@ -9 +5 @@ oslo.i18n>=3.15.3 # Apache-2.0 -oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 +oslo.serialization>=2.18.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 3717b43..1a6c8dd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +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. - @@ -8 +4 @@ stestr>=2.0.0 # Apache-2.0 -sphinx>=2.0.0,!=2.1.0 # BSD +sphinx>=2.0.0 # BSD @@ -11 +7 @@ sphinx>=2.0.0,!=2.1.0 # BSD -coverage!=4.4,>=4.0 # Apache-2.0 +coverage>=4.0 # Apache-2.0