oslo.policy 5.0.0 (gazpacho)
We are satisfied to announce the release of: oslo.policy 5.0.0 This release is part of the gazpacho 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. 5.0.0 ^^^^^ Upgrade Notes ************* * JSON format policy files are no longer supported. Use YAML format policy files instead. Use the "oslopolicy-convert-json-to-yaml" tool to convert existing JSON format policy files. * The "--format" option of "oslo-config-generator" tool and "oslopolicy-policy-upgrade" tool has been removed. Deprecation Notes ***************** * The "oslopolicy-convert-json-to-yaml" tool has been deprecated, and will be removed in a future release. Changes in oslo.policy 4.8.0..5.0.0 ----------------------------------- b9bf836 Skip functional tests for .gitignore update 3dc28b9 Remove support for JSON format policy file c5751ef Add typing 778f694 parser: Introduce Token class 007a4e1 parser: Inline methods e678647 parser: Remove use of metaclass de18dfc checks: Use consistent creds argument 23c94f7 trivial: Rename arguments fbe7034 tests: Correct types used in tests 7fc4af4 Add ruff Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 18 +- .zuul.yaml | 1 + oslo_policy/_cache_handler.py | 40 +- oslo_policy/_checks.py | 268 ++-- oslo_policy/_external.py | 105 +- oslo_policy/_parser.py | 293 ++-- oslo_policy/fixture.py | 27 +- oslo_policy/generator.py | 433 +++--- oslo_policy/opts.py | 187 +-- oslo_policy/policy.py | 692 ++++----- oslo_policy/py.typed | 0 oslo_policy/shell.py | 146 +- oslo_policy/sphinxext.py | 50 +- oslo_policy/sphinxpolicygen.py | 59 +- oslo_policy/version.py | 1 - pyproject.toml | 35 +- ...emove-json-format-support-e6a32981dff45139.yaml | 15 + releasenotes/source/conf.py | 34 +- setup.py | 3 +- tox.ini | 45 +- 39 files changed, 3699 insertions(+), 3267 deletions(-)
participants (1)
-
no-reply@openstack.org