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
This commit is contained in:
Dmitry Tantsur 2020-12-08 13:09:35 +01:00
parent 7b0ec19256
commit 95b69e2bbc
5 changed files with 15 additions and 9 deletions

View File

@ -7,4 +7,5 @@ skip_list:
- '702' # Tags must contain lowercase letters and digits only - '702' # Tags must contain lowercase letters and digits only
# NOTE(dtantsur): the following rules should likely stay excluded: # NOTE(dtantsur): the following rules should likely stay excluded:
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern' - '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
- '403' # Package installs should not use latest
- '503' # Tasks that run when changed should likely be handlers - '503' # Tasks that run when changed should likely be handlers

View File

@ -9,14 +9,13 @@ cmd2==0.8.9
coverage==4.0 coverage==4.0
cryptography==2.2.1 cryptography==2.2.1
debtcollector==1.19.0 debtcollector==1.19.0
doc8==0.6.0
docutils==0.14 docutils==0.14
extras==1.0.0 extras==1.0.0
fixtures==3.0.0 fixtures==3.0.0
future==0.18.2 future==0.18.2
idna==2.6 idna==2.6
iso8601==0.1.12 iso8601==0.1.12
keystoneauth1==3.4.0 keystoneauth1==3.18.0
linecache2==1.0.0 linecache2==1.0.0
monotonic==1.4 monotonic==1.4
mox3==0.25.0 mox3==0.25.0
@ -36,7 +35,6 @@ pbr==2.0.0
prettytable==0.7.2 prettytable==0.7.2
pyasn1==0.4.2 pyasn1==0.4.2
pycparser==2.18 pycparser==2.18
Pygments==2.2.0
pyinotify==0.9.6 pyinotify==0.9.6
pyOpenSSL==18.0.0 pyOpenSSL==18.0.0
pyparsing==2.2.0 pyparsing==2.2.0

View File

@ -35,6 +35,13 @@
name: "{{ required_packages }}" name: "{{ required_packages }}"
state: present state: present
# NOTE(dtantsur): workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1840485
- name: "Work around libgrypt issue on RHEL/CentOS 8.3"
package:
name: libgcrypt
state: latest
when: ansible_distribution in ['RedHat', 'CentOS']
- name: ensure installation root folder exists - name: ensure installation root folder exists
become: yes become: yes
file: file:

View File

@ -2,14 +2,8 @@
# of appearance. Changing the order has an impact on the overall integration # of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
hacking>=3.1.0,<4.0.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0
testtools>=2.2.0 # MIT testtools>=2.2.0 # MIT
Pygments>=2.2.0 # BSD license
flake8-import-order>=0.17.1 # LGPLv3
pycodestyle>=2.0.0,<2.7.0 # MIT
openstacksdk>=0.37.0 # Apache-2.0 openstacksdk>=0.37.0 # Apache-2.0

View File

@ -18,6 +18,12 @@ commands = stestr run --slowest {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:pep8] [testenv:pep8]
deps =
Pygments>=2.2.0 # BSD license
doc8>=0.6.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
hacking>=3.1.0,<4.0.0 # Apache-2.0
pycodestyle>=2.0.0,<2.7.0 # MIT
commands = commands =
flake8 {posargs} flake8 {posargs}
doc8 doc/source releasenotes/source README.rst CONTRIBUTING.rst MISSION.rst HACKING.rst doc8 doc/source releasenotes/source README.rst CONTRIBUTING.rst MISSION.rst HACKING.rst