jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1206375?usp=email )

Change subject: tests: update pytest dependency
......................................................................

tests: update pytest dependency

pytst-subtest is included since 9.0

Change-Id: Iaf26da8cae5c7ff64e6122aa17e9361eaaac9e3d
Signed-off-by: Xqt <[email protected]>
---
M dev-requirements.txt
M tox.ini
2 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/dev-requirements.txt b/dev-requirements.txt
index 1c96116..ee40156 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,8 +1,9 @@
 # This is a requirements file for development dependencies
 #

-pytest >= 8.4.2, != 9.0.0
-pytest-subtests >= 0.15.0
+pytest >= 9.0.1; python_version > "3.9"
+pytest == 8.4.2; python_version == "3.9"
+pytest-subtests >= 0.15.0; python_version == "3.9"
 pytest-attrib >= 0.1.3
 pytest-xvfb>=3.1.1

diff --git a/tox.ini b/tox.ini
index 73d628e..2dbee88 100644
--- a/tox.ini
+++ b/tox.ini
@@ -48,18 +48,17 @@

     fasttest: pytest != 9.0.0
     fasttest: pytest-attrib
-    fasttest: pytest-subtests
     fasttest: mock
     fasttest: .[scripts]

     fasttest-py39: .[html]
+    fasttest-py39: pytest-subtests
     fasttest-py310: .[wikitextparser]

     deeptest: .[html]
     deeptest: .[scripts]
     deeptest-py313: .[wikitextparser]
-    deeptest-py313: pytest != 9.0.0
-    deeptest-py313: pytest-subtests
+    deeptest-py313: pytest >= 9.0.1

 [testenv:typing]
 basepython = python3.9

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1206375?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iaf26da8cae5c7ff64e6122aa17e9361eaaac9e3d
Gerrit-Change-Number: 1206375
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to