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"

--
To view, visit https://gerrit.wikimedia.org/r/565981
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I211b1ee8d781c6f26488aa998ed6f0b9169a5083
Gerrit-Change-Number: 565981
Gerrit-PatchSet: 7
Gerrit-Owner: Dvorapa <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to