Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1264644?usp=email )
Change subject: tests: Use Python 3.13 for CI tests
......................................................................
tests: Use Python 3.13 for CI tests
- add Python 3.14 to test matrix
- add doctest with Python 3.14
- remove GitHub doctest with Python 3.14
- run rstcheck and sphinx tests with Python 3.14
- run doc test and publish with Python 3.14
Bug: T421723
Change-Id: Idc77fc058c8329e3f18e67c28ca6d0e8b70fe910
---
M .github/workflows/doctest.yml
M tox.ini
2 files changed, 11 insertions(+), 4 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml
index e0fc3ad..9292a47 100644
--- a/.github/workflows/doctest.yml
+++ b/.github/workflows/doctest.yml
@@ -26,7 +26,6 @@
include:
# Other test are already made on Jenkins
- python-version: pypy3.11
- - python-version: '3.14'
- python-version: 3.15-dev
steps:
- name: Checkout Repository
diff --git a/tox.ini b/tox.ini
index 0b50f2d..a5d46d2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,7 @@
py311: python3.11
py312: python3.12
py313: python3.13
+ py314: python3.14
pypy: pypy3
setenv =
VIRTUAL_ENV={envdir}
@@ -92,6 +93,7 @@
tox -e doctest-py311
tox -e doctest-py312
tox -e doctest-py313
+ tox -e doctest-py314
tox -e doctest-pypy
[testenv:doctest-py39]
@@ -127,6 +129,12 @@
python -m pytest pywikibot --doctest-modules {[params]DOCTEST_IGNORES}
deps = {[doctest]deps}
+[testenv:doctest-py314]
+basepython = python3.14
+commands =
+ python -m pytest pywikibot --doctest-modules {[params]DOCTEST_IGNORES}
+deps = {[doctest]deps}
+
[testenv:doctest-pypy]
basepython = pypy3
commands =
@@ -141,7 +149,7 @@
commands = {posargs}
[testenv:doc]
-basepython = python3.13
+basepython = python3.14
commands =
sphinx-build -M html ./docs ./docs/_build -j auto
deps =
@@ -149,7 +157,7 @@
-rdocs/requirements.txt
[testenv:rstcheck]
-basepython = python3.13
+basepython = python3.14
commands =
rstcheck --version
rstcheck --report-level WARNING -r .
@@ -158,7 +166,7 @@
-rdocs/requirements.txt
[testenv:sphinx]
-basepython = python3.13
+basepython = python3.14
commands =
sphinx-build -M html ./docs ./docs/_build -j auto -D html_theme=nature
deps =
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1264644?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: Idc77fc058c8329e3f18e67c28ca6d0e8b70fe910
Gerrit-Change-Number: 1264644
Gerrit-PatchSet: 2
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]