Commit Graph

16 Commits

Author SHA1 Message Date
Stephen Finucane f0e64f7624 Remove lower-constraints.txt
This is no longer used.

Change-Id: Ief5a0fad9b1a3ef6b31342e691fb68598d68a541
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-11-15 10:06:18 +00:00
Zuul ec1b7dda0e Merge "requirements: Drop os-testr" 2020-09-23 07:54:08 +00:00
Ghanshyam Mann 8ff3f80102 Fix l-c testing for ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

- Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40206

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

Change-Id: I3205d196ebaa1c7eaf5345b3c42aa818cdee0f21
2020-09-09 17:26:43 -05:00
Stephen Finucane c666fcefb3 requirements: Drop os-testr
We've switched to stestr.

Change-Id: If5c2395e66322fbb38a6cbfa0196aa8edfc5c442
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-07-09 11:33:48 +01:00
Zuul 5b65b5f000 Merge "Remove commandmanager subclass" 2020-06-12 14:58:08 +00:00
Monty Taylor b6d1d539c8 Remove commandmanager subclass
We've moved this functionality into cliff, so remove it here. This
will let us update cliff to optimize away the common case pkg_resources.

Change-Id: I75922010bdb29dbea530b6527c8b71eb064fdb30
2020-06-10 19:10:20 -05:00
Andreas Jaeger eac4ac1267 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.

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 and test-requirements, 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: I67fd82bf3755ee6942f8c97a05cd939225ddf5ad
2020-05-31 20:42:26 +02:00
Riccardo Pittau a55d153635 Remove six library from dependencies
Since we're not testing or supporting Python 2 anymore, we can
convert six calls to Python 3 and get rid of it.

Change-Id: I474c01ab6ed60aecf16524935f2866e76a66569a
2020-05-07 11:11:09 +02:00
Riccardo Pittau 20b922357e Add pep8 import order check
Set flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.

Change-Id: I787202eee18c99aaa659e0267235f4c413a389e9
2020-05-01 23:11:56 +02:00
Riccardo Pittau 2d98486d06 Use mock from unittest
Since mock is part of unittest std lib now, we can just use it and
remove the external dependency.

Change-Id: Id71c701b8053af5f8ab26c9f6fa66140e76aa8fc
2020-05-01 20:28:01 +02:00
Dmitry Tantsur dfe47ced5a Remove Babel from requirements
It's not used in runtime and is only needed (presumably) for building
i18n catalogs.

Change-Id: I0a8b15e6680f8ef13693fb961b8eb4c729b37dae
2020-04-17 11:28:58 +02:00
Daniel Bengtsson 8d55112d75 Fix the requirement of keystoneauth1.
Fix the version in lower-constraints file for keystoneauth1 requirement.

Change-Id: Ic7bfe5432bee4eb22f116078f9b99c6f6a475180
2020-04-01 09:37:33 +02:00
Monty Taylor 891ed89657 Stop processing requests verify args
Now that openstacksdk handles insecure properly, we can get rid of the
logic here that re-does things.

Change-Id: I5a1abd781b12b73fa73f166d91687c2d5dd35356
Depends-On: https://review.openstack.org/580795
2018-07-11 05:26:19 +00:00
Monty Taylor ee79f6166e
Use openstack.config for config and Session objects
The TimingSession functionality has been merged into keystoneauth. This
allows us to use the CloudRegion object to get the Session directly.

Change-Id: Ib4c9210e681a2d2d9c5fc40de2c3ede1a5003154
2018-07-05 08:30:32 -05:00
Monty Taylor bcf08b9c06
Update sphinx lower-constraint to match test-requirements
The lower-constraint for sphinx conflicts with the range in
test-requirements, but since nothing has changed the requirements files
the check-requirements job hadn't gotten run and it didn't get caught.

Set the lower constraint to the lower bound of the range.

Change-Id: I7f7b15193993542d2c8949a0f99ae86a34753035
2018-07-05 08:30:32 -05:00
Doug Hellmann 892b073220 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: Ieafa2beff7b8d26726765e9044dc0b5824e9339c
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 17:31:55 -04:00