We are chuffed to announce the release of: oslo.policy 4.5.0 This release is part of the epoxy 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.5.0 ^^^^^ New Features ************ * The new "[oslo_policy] remote_timeout" option has been added. This option determines timeout in HTTP(S) requests in REST based policy check. Its default value is 60 seconds. Upgrade Notes ************* * Python 3.8 support has been removed. The minimum python version supported is 3.9 . * Default value of the "[oslo_policy] policy_file" has been updated from "policy.json" to "policy.yaml". * The following options are no longer loaded from the "[DEFAULT]" section. Use the "[oslo_policy]" section instead. * "policy_file" * "policy_default_rule" * "policy_dirs" Changes in oslo.policy 4.4.0..4.5.0 ----------------------------------- 59fc343 Add note about requirements lower bounds a33edec Run pyupgrade to clean up Python 2 syntaxes e84ab5a Use native pre-commit hook for hacking e9910da Drop python 3.8 support 73e9cac Declare Python 3.12 support 26b04a4 Switch default policy_file 9c17b41 Update master for stable/2024.2 a795af3 Add timeout in HTTP requests d139433 pre-commit: Bump versions and integrate bandit bbbc11c Remove fallback to DEFAULT section Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 34 ++-- .zuul.yaml | 20 +-- oslo_policy/_cache_handler.py | 2 +- oslo_policy/_checks.py | 3 +- oslo_policy/_external.py | 34 ++-- oslo_policy/_parser.py | 3 +- oslo_policy/fixture.py | 8 +- oslo_policy/generator.py | 18 +- oslo_policy/opts.py | 15 +- oslo_policy/policy.py | 19 +-- oslo_policy/shell.py | 2 +- oslo_policy/sphinxext.py | 6 +- oslo_policy/sphinxpolicygen.py | 2 +- releasenotes/notes/drop-py38-e6f497fd0af1dbe1.yaml | 5 + .../policy-yaml-by-default-8c88efb7f5db14d1.yaml | 5 + ...-default-section-fallback-d1485959653438b6.yaml | 9 + .../notes/requests-timeout-fbd57c7a4fdd908f.yaml | 6 + releasenotes/source/2024.2.rst | 6 + releasenotes/source/conf.py | 1 - releasenotes/source/index.rst | 1 + requirements.txt | 4 + setup.cfg | 4 +- tox.ini | 3 - 31 files changed, 237 insertions(+), 213 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c4ea468..76c2c3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. +
participants (1)
-
no-reply@openstack.org