Commit Graph

18 Commits

Author SHA1 Message Date
Riccardo Pittau 986427ce8e Remove lower-constraints job
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.

Change-Id: Ie5e6a655b103dd7edb447f56bff8da870193deba
2020-12-15 18:38:49 +01:00
Dmitry Tantsur 50400ae1e4 Update lower-constraints from an up-to-date environment
Had to limit dogpile.cache to the minimum version in openstacksdk
to avoid bumping other requirements.

Change-Id: Ia07ecb378382ddf3476268fd37a9e5233a33d78b
2020-12-09 14:51:12 +01:00
Dmitry Tantsur 95b69e2bbc Fix two CI issues
* Fix lower-constraints with the new pip resolver

  First, remove pep8 dependencies from test-requirements, they're not
  needed there and are hard to constraint properly.

  Second, bump keystoneauth to the version required by openstacksdk.

* Force updating libgcrypt to work around CentOS/RHEL 8.3 bug
  https://bugzilla.redhat.com/show_bug.cgi?id=1840485

Change-Id: I65379a3d1b42e3607118bd785f580604bef7d10d
2020-12-08 17:09:05 +01:00
Radosław Piliszek 321c823636 Fix l-c testing for Ubuntu Focal (py38)
Change-Id: I5609812d4f92d88b04bc887886d1ba08893505d9
Story: 2007865
Task: 40199
Closes-Bug: #1886298
2020-09-10 10:21:52 +02:00
Dmitry Tantsur bcda97b630 Support HTTP basic auth and switch bifrost-cli to it
The voting jobs also use the new mode (since it requires more OS
coverage), the DHCP jobs are left with no-auth.

Change-Id: I8c8ee112edbc1e61b54aff13c06c518c7daa9700
2020-08-07 15:21:27 +02:00
Dmitry Tantsur da3593244f Clean up requirements
Paramiko used to be required by ironic, now it's only used by ansible
and should be handled by its requirements.

Simplify the setuptools requirement to use the version from
Bionic as a minimum and pull in the latest exclusions from g-r.

Move PyYAML to requirements since it's used in production code.

Remove test requirements that are not referenced anywhere.

Change-Id: Idc9f1cd66b123c9c9325d7fd7a557475bfdbdd68
2020-07-30 18:19:48 +02:00
Zuul aad77f701e Merge "Get rid of the shade dependency" 2020-06-15 09:25:55 +00:00
Hervé Beraud 81389bce95 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: I8a601ad5af5ba2e9290c3f36a44d94d1dc9d3e20
2020-06-08 22:23:03 +02:00
Dmitry Tantsur 8b43bf00f3 Get rid of the shade dependency
Shade is being phased out in favour of openstacksdk, which also allows
to simplify the authentication code.

Change-Id: I14210a720792c3f7f0669330ccb6d2f67d624246
2020-06-03 15:57:15 +02:00
jacky06 327cc857fa Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).

more info: https://github.com/openstack/requirements/blob/master/blacklist.txt

Change-Id: I377bb0d46df3a3fda04b3601573cc70e7779036f
2020-05-16 00:51:14 +08:00
Riccardo Pittau 999e1bbd2d Update lower-constraints.txt
We need to list all dependencies in lower-constraints

Change-Id: I13a40d76ee681168bbdd91cfcf74990ae1eefeeb
2020-05-13 10:30:16 +02:00
Riccardo Pittau 556ce37df6 Upgrade flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.

Change-Id: Ie260ace9bc1d8d5bc89e346c5eb4007fbbed2d14
2020-04-21 16:20:29 +02:00
Iury Gregory Melo Ferreira 2e5715ec34 Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:

https://snarky.ca/why-you-should-use-python-m-pip/

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

openstack-discuss thread
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html

Change-Id: I22eb2dc7935b529301c3608ac81d6b60998014fb
2020-04-17 21:20:32 +02:00
Riccardo Pittau db3d46a7d3 Switch to stestr
Use stestr for tests.

Also clean tox.ini and add check for flake8 H106:
Don't put vim configuration in source files.

Change-Id: Ia76961a091688372c6df363d5e1dcb29ff0f39bf
2020-03-17 07:48:42 +01:00
Kaifeng Wang 0bc77a53c0 Build pdf doc
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.

TeX packages are required to build PDF locally, following is recommended:

* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended

More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems

Change-Id: Iebca5c4cc8dfdecf7c561b3612691b62ca4ac0c8
2019-09-06 10:13:32 +08:00
Olivier Bourdon 1e19c45199 Fix deployment when improper version of python-openssl is installed
Without this fix, the bifrost deployment will lead to several
issues due to the incompatibility of system python-openssl and
pip version of pyOpenSSL

Change-Id: I101c2918ed81809536cf912c4aaa54a2f2052a25
2018-09-26 09:11:58 +02:00
Nguyen Van Trung fa4f095759 Fix incompatible requirements
A lot of packages in lower-constraints.txt and requirement.txt
must change to suitable version. Which raised fail in following logs:

 Validating requirements.txt
 Validating test-requirements.txt
 Validating lower constraints of requirements.txt
 Package u'oslo.log' is constrained to 3.37.0 which does not match the minimum version specifier 3.36.0 in requirements.txt
 Package u'paramiko' is constrained to 2.4.1 which does not match the minimum version specifier 2.0.0 in requirements.txt
 Package u'setuptools' is used in requirements.txt but not in lower-constraints.txt
 Package u'pbr' is constrained to 3.1.1 which does not match the minimum version specifier 2.0.0 in requirements.txt
 Validating lower constraints of test-requirements.txt
 Package u'sphinx' is constrained to 1.6.5 which does not match the minimum version specifier 1.6.2 in test-requirements.txt
 Package u'coverage' is constrained to 4.5.1 which does not match the minimum version specifier 4.0 in test-requirements.txt
 Package u'oslotest' is constrained to 3.3.0 which does not match the minimum version specifier 3.2.0 in test-requirements.txt
 Package u'openstackdocstheme' is constrained to 1.20.0 which does not match the minimum version specifier 1.18.1 in test-requirements.txt
 Package u'doc8' is constrained to 0.8.0 which does not match the minimum version specifier 0.6.0 in test-requirements.txt
 Package u'reno' is constrained to 2.7.0 which does not match the minimum version specifier 2.5.0 in test-requirements.txt
 Package u'testrepository' is constrained to 0.0.20 which does not match the minimum version specifier 0.0.18 in test-requirements.txt
 Package u'testscenarios' is constrained to 0.5.0 which does not match the minimum version specifier 0.4 in test-requirements.txt
 Package u'testtools' is constrained to 2.3.0 which does not match the minimum version specifier 2.2.0 in test-requirements.txt
 *** Incompatible requirement found!
 *** See http://docs.openstack.org/developer/requirements
 ERROR
 {
   "delta": "0:00:09.290821",
   "end": "2018-05-23 16:24:17.040257",
   "failed": true,
   "rc": 1,
   "start": "2018-05-23 16:24:07.749436"
 }

Change-Id: I5bcc2b3523c30126e88c0396a3ea080a70bb66bd
2018-05-24 14:22:47 +07:00
Doug Hellmann edb9ee31bf 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: I45e5002c7edd44b828bfe057762ff98bd2fcec4e
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 09:41:46 -04:00