jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
CI: Use Python 3.8 instead of Python 3.7 for tests

Bug: T378893
Change-Id: If31115e9886ffc4144fd5bb2782228a149f29e16
---
M tox.ini
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tox.ini b/tox.ini
index e8d7d83..8c4dd0b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,8 @@

[testenv]
basepython =
- py37: python3.7
+ # use Python 3.8 with py37 to until config is updated upstream
+ py37: python3.8
py38: python3.8
py39: python3.9
py310: python3.10
@@ -52,8 +53,8 @@
fasttest: mock
fasttest: .[scripts]

- fasttest-py37: .[html]
- fasttest-py38: .[wikitextparser]
+ fasttest-py38: .[html]
+ fasttest-py39: .[wikitextparser]

deeptest: .[html]
deeptest: .[scripts]
@@ -62,7 +63,7 @@
deeptest-py312: pytest-subtests >= 0.3.2

[testenv:typing]
-basepython = python3.7
+basepython = python3.8
deps = pytest-mypy
commands =
mypy --version
@@ -74,7 +75,7 @@
commands = commit-message-validator

[testenv:doctest]
-basepython = python3.7
+basepython = python3.8
commands =
python {[params]generate_user_files}
pytest --version

To view, visit change 1100094. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If31115e9886ffc4144fd5bb2782228a149f29e16
Gerrit-Change-Number: 1100094
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot