jenkins-bot submitted this change.
tests: don't use pytest-skiptest 0.14.0 with Python 3.9 and 3.10
see also:
https://github.com/pytest-dev/pytest-subtests/issues/173
Bug: T381719
Change-Id: I2c7a0e5cc7aea7617070dbce32bc46b072092270
---
M dev-requirements.txt
M tox.ini
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 60cc9e9..5bf1f40 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -4,7 +4,8 @@
pytest >= 7.0.1
pytest-cov >= 3.0.0; python_version>="3.10"
pytest-cov >= 2.11.1; python_version<"3.10"
-pytest-subtests >= 0.3.2
+pytest-subtests >= 0.3.2, < 0.14.0; python_version<"3.11"
+pytest-subtests >= 0.3.2; python_version>"3.10"
pytest-attrib>=0.1.3
pytest-xvfb>=3.0.0
diff --git a/tox.ini b/tox.ini
index 7695eaf..7d38ffb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,7 +47,8 @@
fasttest: pytest >= 7.0.1
fasttest: pytest-attrib>=0.1.3
- fasttest: pytest-subtests >= 0.3.2
+ fasttest: pytest-subtests >= 0.3.2, < 0.14.0; python_version < "3.11"
+ fasttest: pytest-subtests >= 0.3.2; python_version > "3.10"
fasttest: mock
fasttest: .[scripts]
To view, visit change 1101153. To unsubscribe, or for help writing mail filters, visit settings.