jayvdb added a comment.

  This can be disabled.
  
  The problematic line is 
https://github.com/jaraco/setuptools_svn/blob/master/setuptools_svn/svn_utils.py#L311
 is
  
    log.warn("svnversion failed")
  
  That is using `distutils.log.warn` , which can be disabled by calling 
`distutils.log.set_threshold(distutils.log.ERROR)` before invoking 
`svninfo.get_revision()` and then restoring the previous threshold afterwards.  
See https://bitbucket.org/carljm/python-distutils/src/default/log.py .  I have 
confirmed this works for Python 2.6 to 3.5

TASK DETAIL
  https://phabricator.wikimedia.org/T120268

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, jayvdb
Cc: gerritbot, Xqt, Legoktm, yuvipanda, Aklapper, jayvdb, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to