Some links still pointed to out-of-date openstack.org URLs. This updates
references to point to the current opendev.org locations.
Change-Id: I03a006948bf3f8b056cc7787c5fcda51aa9373fb
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: I46b1da90c8cd3e912fcd9e945b15d84a4732760f
Switch to py38 jobs and add pep8 and publish-tarball, they are not part
of the py3x templates anymore.
Depends-On: https://review.opendev.org/737701
Change-Id: I13b7f8556f6839110d82abf57dd9146992c98d7c
* Remove unused files babel.cfg and openstack-common.conf.
* Remove obsolete entries from setup.cfg.
* Remove six as requirement
* Switch to newer hacking version and fix all problems.
* Remove Babel requirement, update requirements for python3
Change-Id: I1fc46288e54a5b787afbd9ee31b32a0e7d28c6de
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_version to not auto-version the documents.
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.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
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: I33db298dd24f1e9795fb789f7c6964a97ba0651f
We can now use the standard library mock library instead of the third
party one previously needed for py27 compatibility.
Change-Id: I6b80b62d8e3c8bd9432f567e0725c191cef6f715
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Removes docs requirements from test-requirements since those are now
tracked in doc/requirements.txt.
Updates docs requirements since we are now py3-only.
Change-Id: Id1472978e32d22564a944ccaf3804ba11f176be5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This drops testing of py2 environments and removes it from the package
metadata.
Story: #2003229
Task: #23646
Change-Id: Ieb6ed753705aa5f35e58ec4f3796b4ad9e5e33c3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This switches the job template to move from py35 to py37.
Depends-on: https://review.opendev.org/699679
Change-Id: Ib8d498377d1b321fb0ef829d38619f1d7e065a4f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
When using the reviewers command to get stats on stable branch
reviews, I always think I can specify --stable and --project nova
to get nova stable reviews, but that's not how the command
works and the --project option is ignored resulting in a report
which I don't expect, i.e. there are non-nova reviewers in the
report.
This makes --project and --stable mutually exclusive to avoid that
confusion.
Change-Id: Ie9938f5e68f27b9a5a58635be2185365f041136f
optparse is deprecated in python 2.7 and not available
starting in python3. This changes the reviewers command
to use argparse instead.
Change-Id: I76f270b4e998e8cf2a56c12d7bf70c0651c69d16
Various issues hit when switching to using stestr to run tests.
Presumably from other pulled in dependencies. This raises hacking to a
version that fixes a pyflakes issue [0] and addresses other pep8
violations that are then identified.
[0] https://github.com/PyCQA/pyflakes/pull/80
Change-Id: I9d8637d50067d6618aa408f4dbd9c736956099ed
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Instead of manually curating a list of all the subprojects in a
project, we should use the governance repo that already includes
most, if not all, of this information.
For the moment, this change just adds the governance data to the
data already in the json files. This is because I'm not sure whether
there is a 1:1 relationship between what is in governance and what
is in the json files. It's possible we could eliminate the json files
entirely at some point, but for the moment this gets us updated
subproject lists for essentially free, since it's likely that many
projects' json files are missing subprojects added in the past few
years.
Change-Id: Ia3992dd30f83294a96ace155691e50838cd5543b
Follow PTI for this and add all needed changes, remove obsolete
options. Switch to openstackdocstheme instead of oslosphinx
since that is retired.
Remove module index - this repo has no modules and thus nothing is
generated.
Add job to publish documents.
Change-Id: Ida269f9755099f32a12f46082b529311ecb7e2b6
We handle errors loading the cache, but if we run out of memory while
writing the cache file it can also cause the run to fail unnecessarily.
If the cache is not written it just means data will have to be
retrieved from Gerrit.
Change-Id: I64ec3030000fc9d62fa8e55ba1524aeaf4f4095c
review.openstack.org is now a redirect to review.opendev.org. We
should just point at the new location.
Change-Id: Ibae768aa25464e6133d4d65d9a59b919ee689fe4
The pickle file is just a local cache of Gerrit data. If we fail to
load it, it will just be regenerated from Gerrit. We should never
allow a failure in pickle.load to be fatal.
Change-Id: If433fa5f335db8db63cdd264919c0dbeb3a7a32e