Commit Graph

11 Commits

Author SHA1 Message Date
Stephen Finucane 3b44adc6e7 requirements: Uncap prettytable, remove l-c
Fix the requirements job by uncapping this dependency. The upper cap
will now be managed by global-requirements like everything else.

Since we're modifying the requirements, the requirements job are run and
we see that the lower-constraints job is failing. Remove this job and
related artefacts also.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I09bdc40e34b219c6bdf880d2511585a921018477
2021-10-13 12:17:56 +01:00
Ghanshyam Mann 019f79ec2e [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: #40198

Closes-Bug: #1886298

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

Change-Id: If52778edf7ab5ade5794f12d9d167d6ad562b983
2020-08-05 01:41:11 +00:00
Andreas Jaeger 8054a326d1 Small cleanups
- Remove Babel from requirements, it's not needed for running.
- remove unused file setup.sh
- Update to hacking 3.1.0; fix problems found.
- Remove hacking and friends from lower-constraints, they are not
  needed there at all.

Depends-On: https://review.opendev.org/736382
Change-Id: I8b2a8c06de0282f797fab51d90aeac1ca2eef9c4
2020-06-18 09:43:43 +02:00
Hervé Beraud acc71afab3 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I754ae15755b41d8ae449904917b92aa02677bde9
2020-06-09 11:58:02 +02:00
Andreas Jaeger fc9b08fc6e Switch to newer openstackdocstheme and reno versions
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.

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.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I4fe9ea8ee88dad673849cbb9e1a469ca12705740
2020-05-22 17:23:41 +00:00
zhurong 85abf25358 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: I57d447e034c088c83fdd5fb8854dbd9826a200a8
2020-05-11 11:06:58 +08:00
zhurong 13658a7b0c Remove six usage
Depends-On: https://review.opendev.org/#/c/720634/
Change-Id: Ic5ebbb6ca39292a8e0548030f01f964076fa882d
2020-04-16 23:07:08 -07:00
pengyuesheng b3f4d15e14 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: If2ca7919c0a4a488b2719e4063a2c700f23d3e59
2019-07-04 16:20:40 +08:00
ljhuang 167545e89e Bump the sphinx to 1.6.2 for lower-constraints.txt
1. Package 'sphinx' is constrained to 1.6.5 which does not match the
minimum version specifier 1.6.2 in doc/requirements.txt[0]

[0]: refer to https://github.com/openstack/python-muranoclient/blob/master/doc/requirements.txt#L5

Change-Id: Ia15cc48ce020ff936185d6a94312e68c3c1603b3
2019-06-11 04:13:05 +00:00
Vu Cong Tuan a90ede0d6c 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: I9a52c912ef5ad19fe24e9294f573a2770436d5e3
2018-07-13 07:57:12 +07:00
Doug Hellmann 9e5e762cc5 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: Ifa9219475d600591cf7ca181779824f89ddb048e
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 17:56:07 -04:00