jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101153?usp=email )
Change subject: tests: don't use pytest-skiptest 0.14.0 with Python 3.9 and 3.10 ......................................................................
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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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]