Commit Graph

16 Commits

Author SHA1 Message Date
Radosław Piliszek 40fc3c10ed Drop lower-constraints
Per a general OpenStack resolution [1], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html

Change-Id: I7d1595c1dc3eb834f3b13b11f608b90aaff1d349
2020-12-21 20:31:05 +01:00
Zuul 58c78e9c64 Merge "Drop Babel from reqs" 2020-09-12 17:15:32 +00:00
Radosław Piliszek 280051b1f5 [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: #40195

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

Change-Id: I9ed6d5b928f9910b5c0c276f2629727f97506240
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
2020-09-12 08:53:52 +00:00
Sean McGinnis 4bc52ecf15 Fix constraints URL enforcement for lower-constraints
Due to the upper-constraints argument being hard coded in the
install_command, even jobs like lower-constraints will end up getting
the latest upper-constraints installed.

The correct way to handle the constraints is to separate it out into
deps. This allows the l-c job to properly set what constraints to use.

Fixes some issues with libvirt-python that were masked by these issues.

Change-Id: I0d22d615e2717f12237b8d7b1e4b1071c4497a50
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-08-30 15:30:58 +02:00
Radosław Piliszek fb0a1f70bb Drop Babel from reqs
Not needed per [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: Iae00490f6ec4bf2bf874edd3bc894c7159e62616
2020-08-30 10:55:11 +02:00
Zuul 8004733630 Merge "Switch to newer openstackdocstheme and reno versions" 2020-08-29 08:52:45 +00:00
Zuul 649c583e71 Merge "Remove six" 2020-08-29 08:46:12 +00:00
Hervé Beraud bd36ed38f4 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: I88ec65a91b0fb51f9598451a3caf5c3cca86ff9a
2020-06-09 01:21:58 +02:00
Andreas Jaeger 3e93eab356 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, 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: I4d11b986ed6ce54fbc2b08234c061041099b709e
2020-05-31 18:04:55 +02:00
jacky06 33d25e3cc3 Remove six
We don't need this in a Python 3-only world.

Change-Id: I56dca98d06458174af0f3d4dc585a754e8692f89
2020-05-13 23:12:26 +08:00
Zuul e2942167cc Merge "Cleanup py27 support" 2020-04-21 03:17:36 +00:00
suzhengwei f317a24a25 reset nova-compute process name
In masakari-engine, it enable/disable nova-compute service
by the process name. So process-monitor need to reset
the nova process name to "nova-compute" when trigger
process notification.

Change-Id: Ia6f22bd1d183093bb0345f323a80268fb62df388
Close-Bug: #1858757
2020-04-21 09:27:16 +08:00
Andreas Jaeger 1cf29b9d0d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove mccabe from lower-constraints, we don't need it there,
  it is constrainted by hacking.
- Add xml and xslt libs to bindep, these are needed for building
  some requirements

Change-Id: Ia78b92c3b807623e70d85c3bce44e3b7011ca282
2020-04-17 21:48:40 +02:00
Andreas Jaeger 64e2b887db Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks to work with newer flake8.

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

Change-Id: Ic7903c61bde999685ca26b5a10d070c8d8d206a3
2020-04-01 21:07:40 +02:00
nitesh.vanarase bedf75e102 Remove python-openstackclient from global-requirements
python-openstackclient is not used in the code but it is still
included in requirements.txt and lower-constraints.txt files.

This patch removes python-openstackclient from requirements.txt
and lower-constraints.txt files.

Co-Author: shilpa.devharakar <shilpa.devharakar@nttdata.com>
Change-Id: Icd07c252002657b82b82ebd1dd664aacc8d2c80b
2018-08-08 08:41:36 +00:00
Doug Hellmann 1d9b81418b 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.

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Ibd77a8fa492836f5892de75088fadb6515812beb
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-07-21 04:32:41 +00:00