jenkins-bot submitted this change.
[tests] Enable pywikibot-core-tox-docker
Bug: T257409
Change-Id: Id4de78eddda90c34bf5df90474f73d4c875df348
---
M setup.py
M tox.ini
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/setup.py b/setup.py
index fe41208..a75dd69 100644
--- a/setup.py
+++ b/setup.py
@@ -170,11 +170,6 @@
if 'sdist' not in sys.argv:
return version
- if PY2:
- raise RuntimeError(
- 'A new distribution cannot be created with Python {}'
- .format(sys.version.split(None, 1)[0]))
-
# validate version for sdist
from contextlib import suppress
from subprocess import run, PIPE
@@ -188,7 +183,7 @@
for tag in ('stable', 'python2'):
with suppress(ValueError):
tags.remove(tag)
-
+
last_tag = tags[-1]
warnings = []
diff --git a/tox.ini b/tox.ini
index 3791b86..3fa6d46 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@
skip_missing_interpreters = True
envlist =
commit-message
- flake8-{py3}
+ flake8-{py35}
doctest-{py35}
test-{py27,py35}
@@ -14,7 +14,7 @@
# Others are run in their own individual jobs on WM Jenkins
envlist =
commit-message
- flake8-{py3}
+ flake8-{py35}
[params]
doctest_skip = --ignore-files=(gui\.py|eventstreams\.py)
To view, visit change 610238. To unsubscribe, or for help writing mail filters, visit settings.