jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1203261?usp=email )
Change subject: tests: avoid Pytest 9.0.0 ...................................................................... tests: avoid Pytest 9.0.0 Do not use Pytest 9.0.0 for tests due to known issues: https://github.com/pytest-dev/pytest/issues/13895 Bug: T409656 Change-Id: I4e214530a4c7f0eb43a0fbac8d63e7580951731c --- M .github/workflows/doctest.yml M dev-requirements.txt M tests/README.rst M tox.ini 4 files changed, 8 insertions(+), 8 deletions(-) Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index bb7e9f4..0828db4 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -51,7 +51,7 @@ pip install mwparserfromhell pip install packaging pip install PyMySQL - pip install pytest + pip install "pytest != 9.0.0" pip install requests-sse pip install wikitextparser - name: Generate user files diff --git a/dev-requirements.txt b/dev-requirements.txt index dd0dbbe..1c96116 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,7 @@ # This is a requirements file for development dependencies # -pytest >= 8.4.2 +pytest >= 8.4.2, != 9.0.0 pytest-subtests >= 0.15.0 pytest-attrib >= 0.1.3 pytest-xvfb>=3.1.1 diff --git a/tests/README.rst b/tests/README.rst index 297c4e7..503b397 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -32,7 +32,7 @@ :: - pip install pytest + pip install "pytest != 9.0.0" pytest **tox** diff --git a/tox.ini b/tox.ini index 22e8154..7a4de34 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ deps = lint: pre-commit - fasttest: pytest + fasttest: pytest != 9.0.0 fasttest: pytest-attrib fasttest: pytest-subtests fasttest: mock @@ -58,7 +58,7 @@ deeptest: .[html] deeptest: .[scripts] deeptest-py313: .[wikitextparser] - deeptest-py313: pytest + deeptest-py313: pytest != 9.0.0 deeptest-py313: pytest-subtests [testenv:typing] @@ -93,7 +93,7 @@ python -m pytest pywikibot --doctest-modules {[params]DOCTEST_IGNORES} deps = - pytest + pytest != 9.0.0 wikitextparser .[eventstreams] .[mysql] @@ -106,7 +106,7 @@ python -m pytest pywikibot --doctest-modules {[params]DOCTEST_IGNORES} deps = - pytest + pytest != 9.0.0 wikitextparser .[eventstreams] .[mysql] @@ -251,6 +251,6 @@ [pytest] -minversion = 7.0.1 +minversion = 8.4.2 testpaths = tests python_files = *_tests.py -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1203261?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: I4e214530a4c7f0eb43a0fbac8d63e7580951731c Gerrit-Change-Number: 1203261 Gerrit-PatchSet: 4 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]
