Commit Graph

11 Commits

Author SHA1 Message Date
Stephen Finucane b04cba81ac Remove lower-constraints
This is not part of the PTI and is currently broken. While discussions
are ongoing about removing it from every project, there's a definite
lean towards doing so. Let's do just that. We can re-add in the future
if necessary.

While we're here, we fix some indentation in 'tox.ini'.

Change-Id: Ib4784d9da96d05a54acdfbb3744af0cb053c0c6c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-01-27 17:14:10 +00:00
Zuul 644041f87f Merge "Remove six" 2020-11-18 19:56:56 +00:00
xuanyandong bc76d324f5 Remove six
Replace the following items with Python 3 style code.

- six.moves
- six.PY2
- six.PY3
- six.string_types
- six.text_type

Change-Id: I1656b976864c8f2343e658a4abf432d30c151d0b
2020-10-29 11:27:41 +00:00
likui 331c2df444 Update requirements
We also need to change the lower-constraint requirements to make them
py3.8 compatible. See https://bugs.launchpad.net/nova/+bug/1886298

Change-Id: Id06963dfdb20074cb9d8f0f2416a8e0937006059
2020-10-29 09:44:33 +08:00
songwenping d405a6292a Remove Babel from lower-constraints.txt
This can be removed because it's no longer a transitive dependency of oslo.i18n.

Change-Id: I2dabd2eea6d589952ecabf203f3c0d075672799f
2020-10-13 08:48:20 +08:00
Doug Hellmann 6ac510d0cd switch to stevedore for loading entry points
Switch to using stevedore now so that when the cache implementation is
released all cliff applications can take advantage of the performance
benefits.

Change-Id: Ib7bf53091470b55ab87082d315ca283d3600a636
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2020-07-05 15:58:46 -04:00
Hervé Beraud 9d20d60e89 drop mock from lower-constraints and requirements
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 and requirements.

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

Change-Id: I81e07cd68e370422675b939863138e23de444eef
2020-06-09 00:06:28 +02:00
Monty Taylor 1582c55a24 Migrate to stestr
testr isn't what we use anymore.

Change-Id: I4cb8b9ca41da6efd7053a5a7bacfce1654a73576
2020-06-06 12:14:24 -05:00
Andreas Jaeger 60ab3cdedf Switch to newer openstackdocstheme version
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_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.

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: I50caba24ba8d458e5061cf412b8f59e3815c58f7
2020-05-31 20:32:08 +02:00
Andreas Jaeger 9724108710 [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

Cleanup setup.cfg, conf.py, and tox.ini from cruft.

Change-Id: Icb08c704cb5d0d8004d0a5408822c9d53ae9c728
2020-02-04 15:05:33 +01:00
Doug Hellmann 73a5d6529f 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.

Update the lower bound for PrettyTable so the unit tests pass.

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

Change-Id: Ia146248b505e66adf871d17ae1e4921d7888bb85
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-09 10:24:28 -04:00