commit python-Sphinx for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-Sphinx for openSUSE:Factory checked in at 2019-07-08 14:59:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old) and /work/SRC/openSUSE:Factory/.python-Sphinx.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Sphinx" Mon Jul 8 14:59:56 2019 rev:56 rq:713076 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes 2019-06-18 14:49:26.993683588 +0200 +++ /work/SRC/openSUSE:Factory/.python-Sphinx.new.4615/python-Sphinx.changes 2019-07-08 14:59:57.666438042 +0200 @@ -1,0 +2,7 @@ +Tue Jul 2 14:44:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 2.1.2: + * #6497: custom lexers fails highlighting when syntax error + * #6478, #6488: info field lists are incorrectly recognized + +------------------------------------------------------------------- Old: ---- Sphinx-2.1.1.tar.gz New: ---- Sphinx-2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Sphinx.spec ++++++ --- /var/tmp/diff_new_pack.YNn2tS/_old 2019-07-08 14:59:58.778439723 +0200 +++ /var/tmp/diff_new_pack.YNn2tS/_new 2019-07-08 14:59:58.778439723 +0200 @@ -28,7 +28,7 @@ %endif %define skip_python2 1 Name: python-Sphinx%{psuffix} -Version: 2.1.1 +Version: 2.1.2 Release: 0 Summary: Python documentation generator License: BSD-2-Clause ++++++ Sphinx-2.1.1.tar.gz -> Sphinx-2.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/CHANGES new/Sphinx-2.1.2/CHANGES --- old/Sphinx-2.1.1/CHANGES 2019-06-10 15:34:31.000000000 +0200 +++ new/Sphinx-2.1.2/CHANGES 2019-06-19 13:31:54.000000000 +0200 @@ -1,3 +1,12 @@ +Release 2.1.2 (released Jun 19, 2019) +===================================== + +Bugs fixed +---------- + +* #6497: custom lexers fails highlighting when syntax error +* #6478, #6488: info field lists are incorrectly recognized + Release 2.1.1 (released Jun 10, 2019) ===================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/PKG-INFO new/Sphinx-2.1.2/PKG-INFO --- old/Sphinx-2.1.1/PKG-INFO 2019-06-10 15:35:14.000000000 +0200 +++ new/Sphinx-2.1.2/PKG-INFO 2019-06-19 13:32:20.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Sphinx -Version: 2.1.1 +Version: 2.1.2 Summary: Python documentation generator Home-page: http://sphinx-doc.org/ Author: Georg Brandl @@ -166,5 +166,5 @@ Classifier: Topic :: Utilities Requires-Python: >=3.5 Description-Content-Type: text/x-rst -Provides-Extra: docs Provides-Extra: test +Provides-Extra: docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/Sphinx.egg-info/PKG-INFO new/Sphinx-2.1.2/Sphinx.egg-info/PKG-INFO --- old/Sphinx-2.1.1/Sphinx.egg-info/PKG-INFO 2019-06-10 15:35:04.000000000 +0200 +++ new/Sphinx-2.1.2/Sphinx.egg-info/PKG-INFO 2019-06-19 13:32:12.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: Sphinx -Version: 2.1.1 +Version: 2.1.2 Summary: Python documentation generator Home-page: http://sphinx-doc.org/ Author: Georg Brandl @@ -166,5 +166,5 @@ Classifier: Topic :: Utilities Requires-Python: >=3.5 Description-Content-Type: text/x-rst -Provides-Extra: docs Provides-Extra: test +Provides-Extra: docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/setup.cfg new/Sphinx-2.1.2/setup.cfg --- old/Sphinx-2.1.1/setup.cfg 2019-06-10 15:35:14.000000000 +0200 +++ new/Sphinx-2.1.2/setup.cfg 2019-06-19 13:32:20.000000000 +0200 @@ -5,9 +5,6 @@ tag_build = tag_date = 0 -[bdist_wheel] -universal = 1 - [aliases] release = egg_info -Db '' upload = upload --sign --identity=36580288 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/sphinx/__init__.py new/Sphinx-2.1.2/sphinx/__init__.py --- old/Sphinx-2.1.1/sphinx/__init__.py 2019-06-10 15:34:11.000000000 +0200 +++ new/Sphinx-2.1.2/sphinx/__init__.py 2019-06-19 13:31:54.000000000 +0200 @@ -32,8 +32,8 @@ warnings.filterwarnings('ignore', "'U' mode is deprecated", DeprecationWarning, module='docutils.io') -__version__ = '2.1.1' -__released__ = '2.1.1' # used when Sphinx builds its own docs +__version__ = '2.1.2' +__released__ = '2.1.2' # used when Sphinx builds its own docs #: Version info for better programmatic use. #: @@ -43,7 +43,7 @@ #: #: .. versionadded:: 1.2 #: Before version 1.2, check the string ``sphinx.__version__``. -version_info = (2, 1, 1, 'final', 0) +version_info = (2, 1, 2, 'final', 0) package_dir = path.abspath(path.dirname(__file__)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/sphinx/directives/__init__.py new/Sphinx-2.1.2/sphinx/directives/__init__.py --- old/Sphinx-2.1.1/sphinx/directives/__init__.py 2019-06-10 15:32:06.000000000 +0200 +++ new/Sphinx-2.1.2/sphinx/directives/__init__.py 2019-06-19 13:24:25.000000000 +0200 @@ -73,6 +73,7 @@ def get_field_type_map(self): # type: () -> Dict[str, Tuple[Field, bool]] if self._doc_field_type_map == {}: + self._doc_field_type_map = {} for field in self.doc_field_types: for name in field.names: self._doc_field_type_map[name] = (field, False) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sphinx-2.1.1/sphinx/highlighting.py new/Sphinx-2.1.2/sphinx/highlighting.py --- old/Sphinx-2.1.1/sphinx/highlighting.py 2019-06-10 15:28:23.000000000 +0200 +++ new/Sphinx-2.1.2/sphinx/highlighting.py 2019-06-19 13:24:25.000000000 +0200 @@ -139,7 +139,8 @@ lexer = lexers['none'] if lang in lexers: - lexer = lexers[lang] + # just return custom lexers here (without installing raiseonerror filter) + return lexers[lang] elif lang in lexer_classes: lexer = lexer_classes[lang](**opts) else:
participants (1)
-
root