diff options
author | Sorin Sbarnea <ssbarnea@redhat.com> | 2021-04-06 12:49:59 +0100 |
---|---|---|
committer | Sorin Sbarnea <ssbarnea@redhat.com> | 2021-04-06 17:43:14 +0100 |
commit | e0e2b8422a78b446c33ab3e5d1b38f8ad89b4bda (patch) | |
tree | b684f740b0cf61a209b97da5bb587e29839cc6a0 | |
parent | 2297988a7f41b8cb9d03aaea7d5ad9ba4378e54c (diff) | |
download | pbr-e0e2b8422a78b446c33ab3e5d1b38f8ad89b4bda.tar.gz |
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
-rw-r--r-- | test-requirements.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index caca8d1..4d586e4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 |