Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Goal | Xqt | T225591 Make Travis and Appveyor pass again | ||
Resolved | Xqt | T243133 Python 2 and 3.5.0 AppVeyor tests fail because of setuptools |
Event Timeline
Change 565758 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [tests] set fast_finish to false to enable all remaining tests
Change 565758 merged by jenkins-bot:
[pywikibot/core@master] [tests] set fast_finish to false to enable all remaining tests
Change 565778 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Do not UserWarning to exceptions
Change 565778 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Do not convert UserWarning to exceptions
Hm yes. I reverted the last patch. Should we try “ignore” option? I am wondering why 3.5.0 is failing. And why there is no such problem at Travis. Is there a way to install setuptools depending on the Python version. At last possibility we can drop Py2 tests at Appveyor and announce using pwb with Py2 on their own risk due to this lack of testing.
3.5.0 is failing, because it somehow uses Python 2, even though Python 3.5 is installed. I'm not sure why this happens. I'll upload a patch to find out more about this issue.
We can either ignore/hide the warning using PYTHONWARNINGS=ignore:::pkg_resources.py2_warn environment variable, or reinstall setuptools < 45