This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients pablogsal, xtreak
Date 2018-10-21.06:56:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540105005.86.0.788709270274.issue35036@psf.upfronthosting.co.za>
In-reply-to
Content
There were some recent changes made in ee171a26c11 to fix Sphinx related deprecation warnings. During the change self.info() was changed to self.logger.info() . Logger expects a positional argument that contains the message thus causing failure. I think empty string can be passed here. I changed it back to self.info() and ran `make suspicious` locally and it only printed deprecation warning. Looking the source the previous method had message default to '' thus self.info() was working.

def info(self, message='', nonl=False):
    # type: (unicode, bool) > None
    """Emit an informational message.

    If *nonl* is true, don't emit a newline at the end (which implies that
    more info output will follow soon.)

    .. deprecated:: 1.6
       Use :mod:`sphinx.util.logging` instead.
    """
    warnings.warn('app.info() is now deprecated. Use sphinx.util.logging instead.',
                  RemovedInSphinx20Warning)
    logger.info(message, nonl=nonl)


Sample failure : https://travis-ci.org/python/cpython/jobs/444263040#L560

I am adding @pablogsal for thoughts on the fix. I will add a PR shortly.
History
Date User Action Args
2018-10-21 06:56:45xtreaksetrecipients: + xtreak, pablogsal
2018-10-21 06:56:45xtreaksetmessageid: <1540105005.86.0.788709270274.issue35036@psf.upfronthosting.co.za>
2018-10-21 06:56:45xtreaklinkissue35036 messages
2018-10-21 06:56:45xtreakcreate