jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/565778 )
Change subject: [bugfix] Do not convert UserWarning to exceptions ......................................................................
[bugfix] Do not convert UserWarning to exceptions
Python 2 and 3.5.0 AppVeyor tests fail because UserWarning within setuptools. Do not convert it to exception via command line warning control but use the default behaviour instead to start tests even that warning is given.
Bug: T243133 Change-Id: I108be7f40f8cadd16b5f8f0551bbf0911ab6c57d --- M .appveyor.yml 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index 8fd51f0..a1af5f2 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -108,7 +108,7 @@ - set PYTHONIOENCODING=utf8
- "mkdir %PYWIKIBOT_DIR%" - - "python -Werror::UserWarning -m generate_user_files -dir:%PYWIKIBOT_DIR% -family:wikipedia -lang:en -v -debug" + - "python -Wd::UserWarning -m generate_user_files -dir:%PYWIKIBOT_DIR% -family:wikipedia -lang:en -v -debug" - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 'max_retries = 2; maximum_GET_length = 5000; transliteration_target = None;')"
- set PYSETUP_TEST_NO_UI=1
pywikibot-commits@lists.wikimedia.org