mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Use PEP 508 to make dev-requirements compatible with Python 2 & 3
by specifying the appropriate versions of pylint and astroid for Python2. pylint and astroid dropped Python2 compatibility for their latest major revisions, so dev-requirements now pins the latest compatible revision for Python2 if installing in a Python2 environment. Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
This commit is contained in:
parent
c6900963f5
commit
e690e05e2d
1 changed files with 4 additions and 2 deletions
|
|
@ -6,7 +6,8 @@
|
|||
#
|
||||
-e .
|
||||
asn1crypto==0.24.0
|
||||
astroid==2.0.4
|
||||
astroid==1.6.5 ; python_version < "3.0"
|
||||
astroid==2.0.4 ; python_version >= "3.0"
|
||||
backports.functools-lru-cache==1.5
|
||||
bandit==1.4.0
|
||||
cffi==1.11.5
|
||||
|
|
@ -26,7 +27,8 @@ pbr==4.2.0
|
|||
pluggy==0.7.1
|
||||
py==1.5.4
|
||||
pycparser==2.18
|
||||
pylint==2.1.1
|
||||
pylint==2.1.1 ; python_version >= "3.0"
|
||||
pylint==1.9.3 ; python_version < "3.0"
|
||||
pynacl==1.2.1
|
||||
pyyaml==3.13
|
||||
securesystemslib[crypto,pynacl]==0.11.2
|
||||
|
|
|
|||
Loading…
Reference in a new issue