Commit Graph

13 Commits

Author SHA1 Message Date
wu.shiming 85d0c7987b Remove lower-constraints remnants
These were missed in change: Iae7ce24bfd718a9a2102ce64e8dd2ad08d2b4dd6

Change-Id: I03f47af49cda61e18b0eaa96770a174b867fe2bc
2021-02-19 14:49:39 +08:00
wangzihao 0e62293a43 Remove six
Replace the following items with Python 3 style code.

- six.moves
- six.StringIO

Change-Id: Ie06dc3b6cc5a3d88defa4fdfd071ed2c9dcfb1d0
2020-10-09 09:19:18 +08:00
Ghanshyam Mann 499dcad437 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40207

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>

Change-Id: I6f4947668b5372eace7fb1eb32ab221ac88f4b4f
2020-08-04 00:34:05 +00:00
Zuul a5063a4b43 Merge "Remove the unused coding style modules" 2020-05-26 13:30:35 +00:00
Andreas Jaeger 4c0480648d 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.

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.

Depends-On: https://review.opendev.org/728938
Change-Id: Ie162c8e72f4edec345c20de4517304cc14f7fe0d
2020-05-18 20:58:01 +02:00
jacky06 0332ffcd03 Remove the unused coding style modules
Change-Id: I1b517c44bd3e9bbb613ea90f692bd1c9736c058a
2020-05-16 01:10:09 +08:00
Andreas Jaeger 4445f3296b Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: If75153300f07e6d1c5bf433af35a0dd4d98e6c7f
2020-04-02 15:05:26 +02:00
Sean McGinnis fd21b6e096
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Icd7019c924386fb9c047fc55fb98e45fcb79f2eb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-31 14:44:54 -05:00
caoyuan 5a91d686de tox: Keeping going with docs
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.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I2858ce6bf73471328b92b52be1cdc18ab46254d9
2019-11-03 02:10:35 +08:00
pengyuesheng 6c5995a952 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ie89fa05774e224a9b8c05f0442fda7592df9aa5d
2019-10-12 14:58:52 +08:00
Vu Cong Tuan de7e0f0df2 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Ibee9bd5c371f6f94131cccf093ec2100e258f411
2018-07-03 16:00:44 +07:00
Doug Hellmann b9b6cc1841 fix lower constraints and uncap eventlet
Fix the lower constraints values to match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I1ff1e6af8906539340a768cf68af3b9c388885ac
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-12 10:48:11 -04:00
Doug Hellmann fbc837e75a 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: I4bf5b081d630414cdd8beb7fd322aeb6fd90d7d7
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-24 21:02:51 -04:00