Hello community,

here is the log from the commit of package python3-pylint for openSUSE:Factory 
checked in at 2016-07-18 21:24:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pylint (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pylint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pylint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pylint/python3-pylint.changes    
2016-07-14 09:46:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pylint.new/python3-pylint.changes       
2016-07-18 21:25:24.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Jul 15 15:23:21 UTC 2016 - [email protected]
+
+- update to version 1.6.2:
+  * Do not crash when printing the help of options with default
+    regular expressions
+  * More granular versions for deprecated modules.
+  * Do not crash in docparams when we can't infer the exception types.
+
+-------------------------------------------------------------------

Old:
----
  pylint-1.6.1.tar.gz

New:
----
  pylint-1.6.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pylint.spec ++++++
--- /var/tmp/diff_new_pack.siSR8s/_old  2016-07-18 21:25:25.000000000 +0200
+++ /var/tmp/diff_new_pack.siSR8s/_new  2016-07-18 21:25:25.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pylint
-Version:        1.6.1
+Version:        1.6.2
 Release:        0
 Summary:        Syntax and style checker for Python code
 License:        GPL-2.0+

++++++ pylint-1.6.1.tar.gz -> pylint-1.6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/ChangeLog new/pylint-1.6.2/ChangeLog
--- old/pylint-1.6.1/ChangeLog  2016-07-07 23:04:22.000000000 +0200
+++ new/pylint-1.6.2/ChangeLog  2016-07-15 09:18:53.000000000 +0200
@@ -2,6 +2,22 @@
 Pylint NEWS
 -----------
 
+What's new in Pylint 1.6.2?
+===========================
+
+Release date: 2016-07-15
+
+    * Do not crash when printing the help of options with default regular 
expressions
+
+      Close #990
+
+    * More granular versions for deprecated modules.
+
+      Close #991
+
+    * Do not crash in docparams when we can't infer the exception types.
+
+
 What's new in Pylint 1.6.1?
 ===========================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/PKG-INFO new/pylint-1.6.2/PKG-INFO
--- old/pylint-1.6.1/PKG-INFO   2016-07-07 23:07:14.000000000 +0200
+++ new/pylint-1.6.2/PKG-INFO   2016-07-15 10:01:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pylint
-Version: 1.6.1
+Version: 1.6.2
 Summary: python code static checker
 Home-page: https://github.com/PyCQA/pylint
 Author: Python Code Quality Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/doc/conf.py new/pylint-1.6.2/doc/conf.py
--- old/pylint-1.6.1/doc/conf.py        2016-07-07 23:04:23.000000000 +0200
+++ new/pylint-1.6.2/doc/conf.py        2016-07-15 09:17:15.000000000 +0200
@@ -16,7 +16,7 @@
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
+sys.path.append(os.path.abspath('exts'))
 
 # -- General configuration 
-----------------------------------------------------
 
@@ -25,7 +25,7 @@
 
 # Add any Sphinx extension module names here, as strings. They can be 
extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
+extensions = ['pylint_features']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/doc/exts/pylint_features.py 
new/pylint-1.6.2/doc/exts/pylint_features.py
--- old/pylint-1.6.1/doc/exts/pylint_features.py        1970-01-01 
01:00:00.000000000 +0100
+++ new/pylint-1.6.2/doc/exts/pylint_features.py        2016-07-15 
09:17:15.000000000 +0200
@@ -0,0 +1,31 @@
+# Licensed under the GPL: 
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
+# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
+
+"""Script used to generate the features file before building the actual 
documentation."""
+
+import os
+import subprocess
+import sys
+
+import sphinx
+
+
+def builder_inited(app):
+    popen = subprocess.Popen([sys.executable, "-m", "pylint", 
"--full-documentation"],
+                             stdout=subprocess.PIPE)
+    output, _ = popen.communicate()
+
+    if not output:
+        print("Pylint might not be available.")
+        return
+
+    features = os.path.join(os.path.dirname('.'), 'features.rst')
+    with open(features, 'wb') as stream:
+        stream.write(b"Pylint features\n")
+        stream.write(b"===============\n\n")
+        stream.write(output)
+
+
+def setup(app):
+    app.connect('builder-inited', builder_inited)
+    return {'version': sphinx.__display_version__}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint/__pkginfo__.py 
new/pylint-1.6.2/pylint/__pkginfo__.py
--- old/pylint-1.6.1/pylint/__pkginfo__.py      2016-07-07 23:04:23.000000000 
+0200
+++ new/pylint-1.6.2/pylint/__pkginfo__.py      2016-07-15 09:20:17.000000000 
+0200
@@ -10,7 +10,7 @@
 
 modname = distname = 'pylint'
 
-numversion = (1, 6, 1)
+numversion = (1, 6, 2)
 version = '.'.join([str(num) for num in numversion])
 
 install_requires = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint/checkers/stdlib.py 
new/pylint-1.6.2/pylint/checkers/stdlib.py
--- old/pylint-1.6.1/pylint/checkers/stdlib.py  2016-07-03 20:10:25.000000000 
+0200
+++ new/pylint-1.6.2/pylint/checkers/stdlib.py  2016-07-13 11:27:03.000000000 
+0200
@@ -105,14 +105,14 @@
             'tkinter.Menu.tk_bindForTraversal',
         ],
         2: {
-            (2, 6): [
+            (2, 6, 0): [
                 'commands.getstatus',
                 'os.popen2',
                 'os.popen3',
                 'os.popen4',
                 'macostools.touched',
             ],
-            (2, 7): [
+            (2, 7, 0): [
                 'unittest.case.TestCase.assertEquals',
                 'unittest.case.TestCase.assertNotEquals',
                 'unittest.case.TestCase.assertAlmostEquals',
@@ -125,15 +125,15 @@
             ],
         },
         3: {
-            (3, 0): [
+            (3, 0, 0): [
                 'inspect.getargspec',
                 'unittest.case.TestCase._deprecate.deprecated_func',
             ],
-            (3, 1): [
+            (3, 1, 0): [
                 'base64.encodestring', 'base64.decodestring',
                 'ntpath.splitunc',
             ],
-            (3, 2): [
+            (3, 2, 0): [
                 'cgi.escape',
                 'configparser.RawConfigParser.readfp',
                 'xml.etree.ElementTree.Element.getchildren',
@@ -141,21 +141,23 @@
                 'xml.etree.ElementTree.XMLParser.getiterator',
                 'xml.etree.ElementTree.XMLParser.doctype',
             ],
-            (3, 3): [
-                'inspect.getmoduleinfo', 'inspect.getmodulename',
+            (3, 3, 0): [
+                'inspect.getmoduleinfo',
                 'logging.warn', 'logging.Logger.warn',
                 'logging.LoggerAdapter.warn',
                 'nntplib._NNTPBase.xpath',
                 'platform.popen',
             ],
-            (3, 4): [
-                'asyncio.tasks.async',
+            (3, 4, 0): [
                 'importlib.find_loader',
                 'plistlib.readPlist', 'plistlib.writePlist',
                 'plistlib.readPlistFromBytes',
                 'plistlib.writePlistToBytes',
             ],
-            (3, 5): [
+            (3, 4, 4): [
+                'asyncio.tasks.async',
+            ],
+            (3, 5, 0): [
                 'fractions.gcd',
                 'inspect.getfullargspec', 'inspect.getargvalues',
                 'inspect.formatargspec', 'inspect.formatargvalues',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint/extensions/_check_docs_utils.py 
new/pylint-1.6.2/pylint/extensions/_check_docs_utils.py
--- old/pylint-1.6.1/pylint/extensions/_check_docs_utils.py     2016-07-07 
16:24:45.000000000 +0200
+++ new/pylint-1.6.2/pylint/extensions/_check_docs_utils.py     2016-07-15 
09:30:38.000000000 +0200
@@ -68,7 +68,8 @@
             handler = handler.parent
 
         if handler and handler.type:
-            excs = (exc.name for exc in astroid.unpack_infer(handler.type))
+            excs = astroid.unpack_infer(handler.type)
+            excs = (exc.name for exc in excs if exc is not astroid.YES)
 
     excs = set(exc for exc in excs if not node_ignores_exception(node, exc))
     return excs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.6.1/pylint/test/extensions/test_check_docs_utils.py 
new/pylint-1.6.2/pylint/test/extensions/test_check_docs_utils.py
--- old/pylint-1.6.1/pylint/test/extensions/test_check_docs_utils.py    
2016-07-07 23:04:23.000000000 +0200
+++ new/pylint-1.6.2/pylint/test/extensions/test_check_docs_utils.py    
2016-07-15 09:33:25.000000000 +0200
@@ -125,5 +125,18 @@
         expected = set(["RuntimeError", "ValueError"])
         self.assertEqual(found, expected)
 
+    def test_ignores_uninferable_type(self):
+        raise_node = test_utils.extract_node('''
+        import not_a_module
+        def my_func():
+            try:
+                fake_func()
+            except not_a_module.Error:
+                raise #@
+        ''')
+        found = utils.possible_exc_types(raise_node)
+        expected = set()
+        self.assertEqual(found, expected)
+
 if __name__ == '__main__':
     unittest.main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.6.1/pylint/test/functional/deprecated_methods_py3.py 
new/pylint-1.6.2/pylint/test/functional/deprecated_methods_py3.py
--- old/pylint-1.6.1/pylint/test/functional/deprecated_methods_py3.py   
2016-07-03 20:10:25.000000000 +0200
+++ new/pylint-1.6.2/pylint/test/functional/deprecated_methods_py3.py   
2016-07-13 11:27:04.000000000 +0200
@@ -19,7 +19,7 @@
 xml.etree.ElementTree.XMLParser('tag', None, None).doctype(None, None, None)  
# [deprecated-method]
 nntplib.NNTP(None).xpath(None) # [deprecated-method]
 inspect.getmoduleinfo(inspect) # [deprecated-method]
-inspect.getmodulename(inspect) # [deprecated-method]
+
 inspect.getargspec(None) # [deprecated-method]
 logging.warn("a") # [deprecated-method]
 platform.popen([]) # [deprecated-method]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pylint-1.6.1/pylint/test/functional/deprecated_methods_py3.txt 
new/pylint-1.6.2/pylint/test/functional/deprecated_methods_py3.txt
--- old/pylint-1.6.1/pylint/test/functional/deprecated_methods_py3.txt  
2015-12-24 17:12:25.000000000 +0100
+++ new/pylint-1.6.2/pylint/test/functional/deprecated_methods_py3.txt  
2016-07-13 11:27:04.000000000 +0200
@@ -4,7 +4,6 @@
 deprecated-method:19::Using deprecated method doctype()
 deprecated-method:20::Using deprecated method xpath()
 deprecated-method:21::Using deprecated method getmoduleinfo()
-deprecated-method:22::Using deprecated method getmodulename()
 deprecated-method:23::Using deprecated method getargspec()
 deprecated-method:24::Using deprecated method warn()
 deprecated-method:25::Using deprecated method popen()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint/test/test_self.py 
new/pylint-1.6.2/pylint/test/test_self.py
--- old/pylint-1.6.1/pylint/test/test_self.py   2016-07-07 23:04:23.000000000 
+0200
+++ new/pylint-1.6.2/pylint/test/test_self.py   2016-07-15 09:17:18.000000000 
+0200
@@ -345,6 +345,10 @@
         self._test_output([path, "--rcfile=%s" % config_path],
                           expected_output=expected)
 
+    def test_no_crash_with_formatting_regex_defaults(self):
+        self._runtest(["--ignore-patterns=a"], 
reporter=TextReporter(six.StringIO()),
+                      code=32)
+
 
 if __name__ == '__main__':
     unittest.main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint/utils.py 
new/pylint-1.6.2/pylint/utils.py
--- old/pylint-1.6.1/pylint/utils.py    2016-07-07 23:04:23.000000000 +0200
+++ new/pylint-1.6.2/pylint/utils.py    2016-07-15 09:17:19.000000000 +0200
@@ -1089,7 +1089,7 @@
 def _format_option_value(optdict, value):
     """return the user input's value from a 'compiled' value"""
     if isinstance(value, (list, tuple)):
-        value = ','.join(value)
+        value = ','.join(_format_option_value(optdict, item) for item in value)
     elif isinstance(value, dict):
         value = ','.join('%s:%s' % (k, v) for k, v in value.items())
     elif hasattr(value, 'match'): # optdict.get('type') == 'regexp'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint.egg-info/PKG-INFO 
new/pylint-1.6.2/pylint.egg-info/PKG-INFO
--- old/pylint-1.6.1/pylint.egg-info/PKG-INFO   2016-07-07 23:07:06.000000000 
+0200
+++ new/pylint-1.6.2/pylint.egg-info/PKG-INFO   2016-07-15 10:01:43.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pylint
-Version: 1.6.1
+Version: 1.6.2
 Summary: python code static checker
 Home-page: https://github.com/PyCQA/pylint
 Author: Python Code Quality Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pylint-1.6.1/pylint.egg-info/SOURCES.txt 
new/pylint-1.6.2/pylint.egg-info/SOURCES.txt
--- old/pylint-1.6.1/pylint.egg-info/SOURCES.txt        2016-07-07 
23:07:06.000000000 +0200
+++ new/pylint-1.6.2/pylint.egg-info/SOURCES.txt        2016-07-15 
10:01:43.000000000 +0200
@@ -33,6 +33,7 @@
 doc/run.rst
 doc/tutorial.rst
 doc/_static/vs2003_config.jpeg
+doc/exts/pylint_features.py
 doc/whatsnew/1.6.rst
 doc/whatsnew/changelog.rst
 doc/whatsnew/index.rst


Reply via email to