Commit Graph

11 Commits

Author SHA1 Message Date
Ghanshyam Mann a4a603a8ca Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Id32dd2ffe030ce58c9f0861310b5f08f7a02eb94
2022-04-30 15:46:49 -05:00
Takashi Kajinami 87bf822283 Bump mccabe in lower-constraints.txt
... to solve the following conflict detected in lower-constraints job.

ERROR: Cannot install hacking because these package versions have conflicting dependencies.

The conflict is caused by: 
    flake8 3.7.9 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.8 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.7 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.6 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.5 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.4 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.3 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.2 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.1 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.7.0 depends on mccabe<0.7.0 and >=0.6.0
    flake8 3.6.0 depends on mccabe<0.7.0 and >=0.6.0

Change-Id: I757ef4591d4ae386cfe71f268008efe251f05e86
2021-01-24 23:33:56 +00:00
Ghanshyam Mann 9ff4975fcd 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: #40183

Closes-Bug: #1886298

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

Change-Id: I5c7bbd9bd43f507a5e45901be10110f2a96f5433
2020-08-02 19:26:43 +00:00
Stephen Finucane f1edb6de90 requirements: Drop references to os-testr
We now use stestr, which was only being included because it's a
requirement of os-testr.

Change-Id: I4c7cd309fb23b60f6a7458547647e081d7755a1c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-07-09 11:24:45 +01:00
Hervé Beraud 8de17cfe6f 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: Iea74614fd8b93325bfa0da0da3ab1063ba799762
2020-06-09 00:08:55 +02:00
Andreas Jaeger 69f4b79813 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.

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: I10e31a8883739e8844b9d974cf4da62cfc28efe0
2020-05-30 16:44:50 +02:00
Andreas Jaeger 80bd123e50 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, it's not needed
there.

Change-Id: I48fcd2521d99d0b77b976e87cc638fe5ac051315
2020-03-31 17:02:37 +02:00
Andreas Jaeger 2bf5e4c0b3 Cleanup docs building
* Switch to newer openstackdocstheme version and remove values that are
  set now by openstackdocstheme.
* Remove py2 requirments for docs, we only build with python3.
* Update deps for docs building, we don't need the default.
* Remove modindex, this is not build, see
  https://docs.openstack.org/ec2-api/latest/py-modindex.html

Change-Id: I6958cbed944de0a1eea02de10c5a4916b6a7293d
2020-02-23 14:18:20 +01:00
caoyuan 9ccf7cf414 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: I96e52fe2f0b14d359f37964c3bd51b1ba985dac0
2019-10-24 21:07:06 +08:00
Stephen Finucane dacb35cae2 Fix lower-constraints
The 'install_command' section was being overridden in 'tox.ini', meaning
we were never using the constraints 'lower-constraints.txt'. Fix this
and update the few requirements necessary.

- oslo.db so we get Ifb2c59c2cfbd615b04570b31fcfe868f4ffea3c6 which is
  necessary for Python 3.7 support
- python-glanceclient so we get the HTTP error messages expected in unit
  tests since I1608f82eeaa6ff4c5ac55f57989bb1cfe17dbdc7. This also
  necessitates updating keystoneauth1.
- The minimum of Sphinx is bumped to 1.7.0 to avoid the need to
  blacklist multiple 1.6.x versions

In addition, these minimums are reflected in test-requirements.txt and
requirements.txt. This is expected by the 'requirements-check' job in
the gate.

Change-Id: Ib96387c1e295a2c92debf761893708d110e544c5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-10-02 09:47:03 +01:00
Doug Hellmann f3adc74c90 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: I092758f7553860040990790a31651cd35affbc67
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 12:26:50 -04:00