jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/565981 )
Change subject: [tests] Don't fail on setuptools and Python 2 deprecation warnings ......................................................................
[tests] Don't fail on setuptools and Python 2 deprecation warnings
setuptools make tests fail since version 41 as they throw invasive deprecation warning. But even after lowering setuptools version, Python 2 still make tests fail as it throws invasive warning as well.
Change-Id: I211b1ee8d781c6f26488aa998ed6f0b9169a5083 --- M .appveyor.yml 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index 8fd51f0..bf1211c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -106,6 +106,7 @@ test_script: - chcp 65001 - set PYTHONIOENCODING=utf8 + - set PYTHONWARNINGS=ignore:::pkg_resources.py2_warn
- "mkdir %PYWIKIBOT_DIR%" - "python -Werror::UserWarning -m generate_user_files -dir:%PYWIKIBOT_DIR% -family:wikipedia -lang:en -v -debug"
pywikibot-commits@lists.wikimedia.org