Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.
This change updates the parameters accordingly to avoid the warnings
like the example below.
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I8695d1b501f04a333caf080c835c6388415e52cf
This bumps hacking to 3.0.1 to resolve the following conflict causing
failure during installation.
ERROR: Cannot install hacking and pyflakes>=2.1.1 because these package
versions have conflicting dependencies.
The conflict is caused by:
The user requested pyflakes>=2.1.1
flake8 2.6.2 depends on pyflakes!=1.2.0, !=1.2.1, !=1.2.2, <1.3 and
>=0.8.1
The user requested pyflakes>=2.1.1
flake8 2.6.1 depends on pyflakes!=1.2.0, !=1.2.1, !=1.2.2, <1.3 and
>=0.8.1
The user requested pyflakes>=2.1.1
flake8 2.6.0 depends on pyflakes!=1.2.0, !=1.2.1, !=1.2.2, <1.3 and
>=0.8.1
Change-Id: Ie378f9bcbe6096b362cec81ab00c04e952667ea8
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I0057fe10b462ce5ae430b9ad01e8f7d72be0f13a
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: I34b5d91bb5eea3680d915a262bee4a24e2ae2752
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: Id60f5c97058646c19a8a9d0befc56e9e97b202d8
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
3. Remove unncessary "=="
Change-Id: I48206450371b557f51b0842976d48c9042173df2
Remove py35 testing, for train py35 is not supported anymore.
Update docs environment to use sphinx-build directly following PTI.
Change-Id: Idd120c50f3205be116a22af83029b1560876fa36
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I050c75a2957f42448994716f0da924a45d5f3083
keystoneauth uses os-service-types as a run time dependency.
os-service-types uses keystoneauth as a testing dependency. This causes
an issue for packagers: in order to run the unit tests at build time,
an os-service-types package must include keystoneauth as a build
dependency, but since keystoneauth includes os-service-types as a run
time dependency, it causes a circular dependency.
To make it easier on packagers, this patch changes the usage of
keystoneauth in the tests to only be used by the TestRemote class
instead of the base TestCase class. This way, a packager could avoid
including keystoneauth as a build dependency by choosing to skip just
the problematic os-service-types test instead of skipping the entire
test suite.
Change-Id: I7f8da9c09f20ae808e1dc7aef2341396d91e7cf4
This change has been motivated by below ResourceWarning Python3
is emitting when using this library:
ResourceWarning: unclosed file <_io.TextIOWrapper name='.../site-packages/os_service_types/data/service-types.json' mode='r' encoding='UTF-8'>
return json.load(open(os.path.join(DATA_DIR, filename), 'r'))
Change-Id: Id86cdedab44bf4096185ced2ed6b9379a71bc3e1