Page MenuHomePhabricator

Tox only runs with python 3.5-3.6
Closed, ResolvedPublic

Description

I'd like to run our flake8 checks locally but tox only runs if you have python 3.5 or 3.6. I have python 3.8...

% tox
...
flake8-py35 create: /home/atagar/Desktop/pywikibot/.tox/flake8-py35
SKIPPED: InterpreterNotFound: python3.5
flake8-py36 create: /home/atagar/Desktop/pywikibot/.tox/flake8-py36
SKIPPED: InterpreterNotFound: python3.6

Our flake8 suppressions are within tox.ini so I need to adjust it to run the checks every time I write a pywikibot commit.

Event Timeline

Change 677352 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [tests] Expand tox to include python 3.7 and 3.8

https://gerrit.wikimedia.org/r/677352

I propose to run Python 3.8 instead of 3.6. The versions of flake8 extensions are the same for 3.6, 3.7 and 3.8

Change 677352 merged by jenkins-bot:

[pywikibot/core@master] [tests] Run tox with python 3.8 rather than 3.6

https://gerrit.wikimedia.org/r/677352

Xqt assigned this task to atagar.