Update dependencies to avoid failure with old pip

We do perform linting via pep8 job which runs on modern python only.
This fixes an error that recently broke py27 job due to failure to
install hacking, where hacking is in fact not even needed by it.

We also need to add some extra conditions for mock to avoid possible
failure with older pip version.

Change-Id: I5007154caa7493652a424a4fad4918b7dbefcfb9
This commit is contained in:
Sorin Sbarnea 2021-04-06 12:49:59 +01:00
parent 2297988a7f
commit e0e2b8422a
1 changed files with 3 additions and 2 deletions

View File

@ -4,8 +4,9 @@
wheel>=0.32.0 # MIT
fixtures>=3.0.0 # Apache-2.0/BSD
hacking>=1.1.0,<4.0.0 # Apache-2.0
mock>=2.0.0 # BSD
hacking>=1.1.0,<4.0.0;python_version>='3.6' # Apache-2.0
mock>=2.0.0,<4.0.0;python_version=='2.7' # BSD
mock>=2.0.0;python_version>='3.6' # BSD
six>=1.12.0 # MIT
stestr>=2.1.0,<3.0;python_version=='2.7' # Apache-2.0
stestr>=2.1.0;python_version>='3.0' # Apache-2.0