In python 3, all strings are considered as unicode string.
This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.
Change-Id: Ie70f5dc84a07c40f3743c56ad6d3673e6e78e1a6
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.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: Ib2101f13171940857fe81f64dd9798dfe489743a
- use the the python3 guestfs bindings, not the old python2
(not availbale anymore on the newer systems);
- fix the compatibility with mysql 8, which unfortunately
removes the shortend for user creation + password setting;
- bump the values in lower-requirements.txt (also requirements.txt
and test-requirements.txt when needed) so they they work with
python 3.8 (inspired by other similar bumps).
Change-Id: Icaa3c008bbe179098244f7bb9d80790068430fe2
- Updated CONTRIBUTING.rst per goal guidelines
- Created doc/source/contributor/contributing.rst per goal guidelines
- Remove some now-redundant docs
Change-Id: I997c8eab905e37f46e4cb546ea69e284673eea6b
OpenStack is dropping the py2.7 support in ussuri cycle.
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove ancient pbr section from setup.cfg
- Update requirements
- Use newer openstackdocstheme and setup storyboard support for it
- Remove Babel as requirement, this is not needed here anymore.
Change-Id: I0fd6fbdcbe788b0dfc2b1e20989b0a19ceec59f5
I get when building sahara this error:
File "/usr/lib/python3.6/site-packages/sphinx/writers/html5.py", line 548, in visit_image
atts['width'] = int(atts['width']) * scale
ValueError: invalid literal for int() with base 10: '800px'
As it turns out, the default is pixels anyway, so we don't need to add a
type suffix. For scale to work, we need to specify both width and height
for images, otherwise sphinx reports an error.
Change-Id: If0f8383e37a8b1185a8a08b24c79b313fdcb498c
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.
Note that redirects will be set up as well but let's point now to the
new location.
For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html
Change-Id: Ia2242298903dd9eab02042860b554b5fc0d73312
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
This will show other versions of the doc, too.
Change-Id: Id73bbf0a844dee39f9c72df72b1bdb49fa094806
The auth_uri parameter of keystonemiddleware was renamed to
'www_authenticate_uri'[1], so update the documentation accordingly.
Additionally, the identity_uri parameter was deprecated in favor of
using a keystoneauth plugin[2], so this change updates the documentation
to point to the plugin parameters. Finally, the keystone v2 API was
dropped[3], so reference the v3 API.
[1] https://review.opendev.org/508522
[2] https://review.opendev.org/127066
[3] https://review.opendev.org/572846
Change-Id: I146e6d92008409ce219b18caaaa643c7f4496054
Requirements:
- bandit 1.6.0 contains a regression in the handling of patterns.
A fix is in place in bandit master, but newer versions introduces
more checks so they are not working as well.
The version is excluded there because is not handled by global
requirements.
Remove the separate requirement file for bandit, because
bandit has been part of test-requirements.txt in the last 3 years.
There is noneed for a separate requirements file anymore.
Even more, the bandit tox environment could be probably removed.
- synchronize the requirements for sphinx and jsonschema with the
current values from the requirements repository to make
the requirements-check job happy.
Jobs:
- temporarily disable the scenario-py3 job until a new stestr
(>2.3.1) is tagged.
Change-Id: Ief8e392fcd2d66a73593abcfda06fc7dbe2e53a6
- more replacements (review.openstack.org->review.opendev.org)
- fix an error introduced in the previous commit (by me)
Change-Id: I41ed93390a501e82ff70f4abec0b217e6b5d4707
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.
Depends-On: https://review.opendev.org/653988
Change-Id: I6c7fffc1a32cb35ff7fe2ba964510b4f32805842
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Ic57069fd0acc405347e263a082ea8ba9915e9d41
Remove the detailed information about the plugins from the
core documentation and redirect to the plugins documentation instead.
A redirect has been set to not break the existing links.
Change-Id: Ief8593b02242748a5ffd4f55515975faebd19523