Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-208

pylint false-alarm due to "parseable" output format deprecation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Precommit
    • None

    Description

      Running Pylint 1.6.1 on CentOS 6.7 / Python 2.6.6, it fails as follows:

      [sekikn@localhost yetus]$ precommit/test-patch.sh --build-tool=nobuild --plugins=all --resetrepo YETUS-189
      
      (snip)
      
      | Vote |      Subsystem |  Runtime   | Comment
      ============================================================================
      |   0  |        reexec  |  0m 0s     | Precommit patch detected. 
      |  +1  |       @author  |  0m 0s     | The patch does not contain any @author 
      |      |                |            | tags.
      |  -1  |        pylint  |  0m 1s     | Something bad seems to have happened in 
      |      |                |            | running pylint. Please check pylint
      |      |                |            | stderr files.
      |  +1  |    whitespace  |  0m 0s     | Patch has no whitespace issues. 
      |      |                |  0m 20s    | 
      
      
      || Subsystem || Report/Notes ||
      ============================================================================
      | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12773519/YETUS-189.00.patch |
      | JIRA Issue | YETUS-189 |
      | Optional Tests |  pylint  |
      | uname | Linux localhost.localdomain 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux |
      | Build tool | nobuild |
      | git revision | master / 9c384b5 |
      | pylint | prepatch stderr: /tmp/yetus-4814.16538/pylint.17247.23042 |
      | pylint | postpatch stderr: /tmp/yetus-4814.16538/pylint.17247.29492 |
      | modules | C:  U:  |
      | Powered by | Apache Yetus   http://yetus.apache.org |
      

      This is because a message about a deprecated option is output to the logfile.

      [sekikn@localhost yetus]$ cat /tmp/yetus-4814.16538/pylint.17247.23042
      No config file found, using default configuration
      /usr/lib/python2.6/site-packages/pylint/reporters/text.py:79: UserWarning: parseable output format is deprecated. This is equivalent to --msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
        'to --msg-template=%s' % (self.name, self.line_format))
      [sekikn@localhost yetus]$ 
      

      FWIW, this doesn't occur on OS X 10.11.1 / Python 2.7.10 / Pylint 1.4.4.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: