Commit Graph

11 Commits

Author SHA1 Message Date
wu.shiming 0d208eb0aa Remove lower-constraints remnants
These were missed in change: I63153d3258e10d232f86f7a8b652eb7028aab4c6

Change-Id: I47388f13483d2938208ba385be4c94731e79e3ae
2021-02-20 09:28:34 +08:00
Zuul bc223f9b1d Merge "Revert "Revert "Switch to unittest.mock from mock""" 2020-06-08 09:06:23 +00:00
Andreas Jaeger 58b40e7f2a Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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

Update Sphinx version as well.

Create doc/requirements.txt file and use it, 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.

Set openstackdocs_auto_name to use 'project' as name.

Depends-On: https://review.opendev.org/728938
Change-Id: Ic3503a8b38e67e50669428b36f6581cb980d687f
2020-05-18 20:59:21 +02:00
Ben Nemec 21beb1537f Revert "Revert "Switch to unittest.mock from mock""
This reverts commit c743e68f72af45b24f783a271368aa07923c00d9.

Change-Id: Ia5a87ec7a65703692cba2edf8aa01202dab68173
2020-04-03 14:24:43 +00:00
Ben Nemec cdee551ae6 Revert "Switch to unittest.mock from mock"
This reverts commit ffdf6f10be.

Switching oslotest to unittest.mock has broken a bunch of other
projects because they were (incorrectly) relying on oslotest to
pull in third-party mock for them. Until we get everyone migrated,
let's hold off on doing this for oslotest.

Change-Id: I0bdca39686f3653a56f9e4a554662727e2dbaafd
2020-04-03 14:24:35 +00:00
Monty Taylor ffdf6f10be Switch to unittest.mock from mock
In python3 mock is in the unittest package and doesn't need to
install mock directly.

Change-Id: I195ac9739936372042b5d7d3c0c3f3bd82b04107
2020-03-29 13:28:39 -05:00
Monty Taylor 549e051026 Remove os-client-config and debtcollector
Neither are used by oslotest anymore as of the 4.0 release.

Change-Id: I43897837b20c59f04617e9f707ca838980e32fec
2020-03-29 10:21:23 -05:00
Stephen Finucane 94f102e75f Remove 'oslotest.moxstubout' module
This has been deprecated for some time and codesearch.o.o suggests there
are only three or so 'openstack/xxx' projects still using this, all of
which should drop the usage shortly. Time to drop this module.

Change-Id: I315254ede8353a0cd88828f520c596b1f02a56a7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-25 17:12:16 +00:00
Andreas Jaeger 4d45f96942 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Update docs building to use modern sphinx-build.
Update to use apidoc for newer sphinx.
Remove cruft from setup.cfg and doc/source.conf.py

Change-Id: I6a0643fcf8e28e09b1c69cda98dc53c71e6c508d
2020-02-03 20:37:28 +01:00
wangqi 897823fbd6 Switch to using stestr
When the TC merged I2637dd714cbb6d38ef8b8dc1083e359207118284 we're
supposed to invoke stestr rather than testr so lets do that

Change-Id: Iba54c6540644d3d4942686b9f1c33fce6d19d431
2018-06-14 18:51:15 +00:00
Doug Hellmann 9460095d7d add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Idf28fdf830bf9524df8fbeb684658719bccf4f0a
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-24 21:03:05 -04:00