As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: Id4b8fafa733bc1f2f95e7c78389bea855b571e1e
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
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: I74e80a0f336cd0ae890f6883df118f40085179aa
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,
example nova:
- 56b5aed08c/setup.cfg (L13)
Also indicates that we support python 3.9.
Change-Id: I6ebd945c34e8aabd9dd9915557e83fa6f34d8141
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I84d8f96178486ec694b7732dbce637b302c7278f
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I3da0593718fa0196e238a2d5a343b958ce34f201
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I36d26f34df8e5791533dc1a290a77d01981625af
Switch to openstackdocstheme 2.2.1 version. Using
this version 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: Ie0bbbbf0c725e19f07db8bdc21485e523fa6854c
Remove translation sections from setup.fg and the file babel.cfg.
These are not needed for this repo.
Change-Id: I293632bacaea85ad79b18a24f630cf3cd6f695f1
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. remove the unnecessary ==
3. update the url to latest
[1] sphinx-doc/sphinx@e3483e9
Change-Id: I337c1f756dde3ff6277b1e8d1ad1e3eff49a7e47
We do not build the modindex, so let's not link to it - and produce a
broken link.
also, remove demo boilerplate.
Change-Id: Ia91dac139702d0b45de711a86ea9b5fa6aaf4659
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I915850168b70b5e94defa478fa739a76795a75eb
Closes-Bug: #1831520
By default setuptools produces a version-specific wheel file so
installation under other versions of Python require extra work at
install time. This change turns on "universal" wheel support, so that
the wheel file will be marked as supporting both Python 2 and 3.
Change-Id: Id16b70ae3b957a9a6e2cca46f4a730ec84b1cdf8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch fixes the bug tracker link in the readme. It is set to
depend on a job definition change in project-config so we can use this
patch to test the new release jobs.
Change-Id: I1e0aeae7b0cbc44f4b5d2054fec91ea5552fda22
Depends-On: https://review.openstack.org/580740
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Import the zuul settings to set the test jobs for this project from
project-config.
Change-Id: I117190a1611ad03a957770b987d3129a47c7d6f4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: If16e79070324776e14279ec0ab12cbebb6a04a5b