As per the community goal of migrating the policy file the format from JSON to YAML[1], we need to do two things: 1. Change the default value of '[oslo_policy] policy_file'' config option from 'policy.json' to 'policy.yaml' with upgrade checks. 2. Deprecate the JSON formatted policy file on the project side via warning in doc and releasenotes. Also replace policy.json to policy.yaml ref from doc and tests. CONF object needs to be initialized before policy enforcer(). That need to remove cfg.CONF.unregister_opts from TestAuthUtils cleanup as this is taken care by cfg.clear() with proper workflow otherwise it end up with error "oslo_config.cfg.ArgsAlreadyParsedError: arguments already parsed: reset before unregistering options" - https://b132754ee7062a9ab187-9add4719a9922a9385555a8552fc2366.ssl.cf5.rackcdn.com/768520/5/check/openstack-tox-py38/7964354/testr_results.html [1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html Change-Id: I1b6c6485bc651fd0b87244a68204036dd4aa37f4
24 lines
813 B
Plaintext
24 lines
813 B
Plaintext
# 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.
|
|
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
|
|
|
coverage!=4.4,>=4.0 # Apache-2.0
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
nose>=1.3.7 # LGPL
|
|
oslotest>=4.4.1 # Apache-2.0
|
|
sqlalchemy-migrate>=0.11.0 # Apache-2.0
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testresources>=2.0.0 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
pylint==1.4.5 # GPLv2
|
|
pycodestyle>=2.5.0 # MIT License
|
|
requests>=2.20.0 # Apache-2.0
|
|
stestr>=2.0.0 # Apache-2.0
|
|
murano-pkg-check>=0.3.0 # Apache-2.0
|
|
bandit>=1.1.0,!=1.6.0 # Apache-2.0
|
|
|
|
# Some of the tests use real MySQL and Postgres databases
|
|
PyMySQL>=0.8.0 # MIT License
|
|
psycopg2>=2.8.5 # LGPL/ZPL
|