oslo.policy 3.4.0 (victoria)
We are gleeful to announce the release of: oslo.policy 3.4.0: Oslo Policy library This release is part of the victoria 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.4.0 ^^^^^ New Features ************ * Add "oslopolicy-convert-json-to-yaml" tool to convert the json formatted policy file to yaml format in compatible way. Refer to this document (https://docs.openstack.org/oslo.policy/latest/cli /oslopolicy-convert-json-to-yaml.html) for details. Deprecation Notes ***************** * "policy_file" support for JSON formatted file is deprecated. Use YAML formatted file which will be default in future. Use oslopolicy- convert-json-to-yaml (https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy- convert-json-to-yaml.html) tool to convert the existing JSON to YAML formatted policy file in backward compatible way. JSON format support and "--format" option in "oslopolicy-sample- generator" and "oslopolicy-policy-upgrade" tools are also deprecated. In future release, "--format" option will be removed. Changes in oslo.policy 3.3.2..3.4.0 ----------------------------------- c6ed9f3 Log warning for redundant file rules d8ca7c2 Deprecate the JSON support for policy_file e40632b Add oslopolicy-convert-json-to-yaml tool c9f7cd4 Bump bandit version 884a4ea Clarify what exactly an "access file" is Diffstat (except docs and test files) ------------------------------------- oslo_policy/generator.py | 121 +++++++++++++- oslo_policy/policy.py | 39 ++++- ...convert-json-to-yaml-tool-3c93604aee79f58a.yaml | 5 + ...e-policy-file-json-format-e1921f15b5d00287.yaml | 12 ++ setup.cfg | 1 + test-requirements.txt | 2 +- 12 files changed, 475 insertions(+), 13 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 29e6739..3c503c3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14 +14 @@ coverage!=4.4,>=4.0 # Apache-2.0 -bandit>=1.1.0,<1.6.0 # Apache-2.0 +bandit>=1.6.0,<1.7.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org