]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: enforce pytest-rerunfailures version
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 1 Jul 2020 16:22:00 +0000 (18:22 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 18 Nov 2020 15:49:30 +0000 (10:49 -0500)
This commit enforces the pytest-rerunfailures installed so it's <9.0

This is to avoid the following error:

```
ERROR: pytest-rerunfailures 9.0 has requirement pytest>=5.0, but you'll have pytest 4.6.11 which is incompatible.
```

latest version of pytest-rerunfailures isn't compatible with the version
of pytest we are using.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 19097026fbda71752a500119b0c99c1a9f8d523d)

tests/requirements.txt

index d79bb55cc317cc09c5489a7b8daac4f8ccd5160a..04ada956be07de63b70a62c4138f00b150750df8 100644 (file)
@@ -8,4 +8,4 @@ Jinja2>=2.10
 netaddr
 mock
 jmespath
-pytest-rerunfailures
\ No newline at end of file
+pytest-rerunfailures<9.0