Fix lower-constraints with the new pip resolver

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

Change lower-constraints to make pip resolver happy.

Add bindep.txt to provide dev libraries to build python modules.

Change-Id: I4edc2ebc7b29849901964279b5cc551944d830a9
This commit is contained in:
Riccardo Pittau 2020-12-09 15:37:42 +01:00 committed by Julia Kreger
parent e788188f23
commit c99fae9393
4 changed files with 19 additions and 5 deletions

9
bindep.txt Normal file
View File

@ -0,0 +1,9 @@
# these are needed to compile Python dependencies from sources
python-dev [platform:dpkg test]
python3-all-dev [platform:dpkg test]
python-devel [platform:rpm test]
python3-devel [platform:rpm test]
build-essential [platform:dpkg test]
libffi-dev [platform:dpkg test]
libffi-devel [platform:rpm test]

View File

@ -1,6 +1,7 @@
appdirs==1.3.0
Babel==2.3.4
bcrypt==3.1.3
cffi==1.1.0
chardet==3.0.4
coverage==4.0
debtcollector==1.2.0

View File

@ -3,11 +3,9 @@
# process, which may cause wedges in the gate later.
coverage!=4.4,>=4.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
hacking>=3.1.0,<4.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
pycodestyle>=2.0.0,<2.7.0 # MIT
Pygments>=2.2.0 # BSD
# doc requirements
doc8>=0.6.0 # Apache-2.0

View File

@ -35,6 +35,12 @@ application-import-names = ironic_lib
enable-extensions=H106,H203,H204,H205,H210,H904
[testenv:pep8]
deps =
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
Pygments>=2.2.0 # BSD
doc8>=0.6.0 # Apache 2.0
commands =
flake8 {posargs}
doc8 README.rst doc/source --ignore D001