]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-detect-init & ceph-disk: Pin testtools test requirement 33986/head
authorThomas Bechtold <tbechtold@suse.com>
Mon, 16 Mar 2020 09:12:55 +0000 (10:12 +0100)
committerThomas Bechtold <tbechtold@suse.com>
Tue, 17 Mar 2020 11:47:36 +0000 (12:47 +0100)
When running make-check on python 3.4, the test requirements
installation fails with:

ERROR: testtools requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, \
  !=3.3.*, !=3.4.*' but the running Python is 3.4.6

This happens because there is a new testtols release on pypi from Mar
14, 2020. Pinning to an older version fixes this.

This is not needed for Master, Octopus and Nautilus  given that python
3.4 is already EOL[1] before Nautilus got released.

[1] https://www.python.org/downloads/release/python-3410/

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
src/ceph-detect-init/test-requirements.txt
src/ceph-disk/test-requirements.txt

index dfbe9aeaf7feee007ab6da8b8503703167c4761f..8ba0acea354aea6f5ae073de3c8895e37f712571 100644 (file)
@@ -3,7 +3,7 @@ discover
 fixtures>=0.3.14
 python-subunit
 testrepository>=0.0.17
-testtools>=0.9.32
+testtools>=0.9.32,<=2.3.0
 mock
 pytest
 tox
index d803f4cfd02d38af0ea46e96289f94504790c29e..6a390b38d806040be8c794dc503048cbc3cc442f 100644 (file)
@@ -4,7 +4,7 @@ discover
 fixtures>=0.3.14
 python-subunit
 testrepository>=0.0.17
-testtools>=0.9.32
+testtools>=0.9.32,<=2.3.0
 mock
 pytest
 tox>=2.0