Hello community,

here is the log from the commit of package python-ruamel.yaml for 
openSUSE:Factory checked in at 2020-10-22 14:20:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruamel.yaml (Old)
 and      /work/SRC/openSUSE:Factory/.python-ruamel.yaml.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ruamel.yaml"

Thu Oct 22 14:20:13 2020 rev:23 rq:842098 version:0.16.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ruamel.yaml/python-ruamel.yaml.changes    
2020-03-08 22:21:58.867997632 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ruamel.yaml.new.3463/python-ruamel.yaml.changes
  2020-10-22 14:20:20.698645883 +0200
@@ -1,0 +2,8 @@
+Fri Oct 16 08:47:42 UTC 2020 - Matthias Fehring <[email protected]>
+
+- update to 0.16.12
+  * update links in doc
+- update to 0.16.11
+  * workaround issue with setuptools 0.50 and importing pip
+
+-------------------------------------------------------------------

Old:
----
  ruamel.yaml-0.16.10.tar.gz

New:
----
  ruamel.yaml-0.16.12.tar.gz

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

Other differences:
------------------
++++++ python-ruamel.yaml.spec ++++++
--- /var/tmp/diff_new_pack.fWVwji/_old  2020-10-22 14:20:22.578647571 +0200
+++ /var/tmp/diff_new_pack.fWVwji/_new  2020-10-22 14:20:22.582647574 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ruamel.yaml
-Version:        0.16.10
+Version:        0.16.12
 Release:        0
 Summary:        Python YAML parser
 License:        MIT

++++++ ruamel.yaml-0.16.10.tar.gz -> ruamel.yaml-0.16.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/CHANGES 
new/ruamel.yaml-0.16.12/CHANGES
--- old/ruamel.yaml-0.16.10/CHANGES     2020-02-12 13:29:45.000000000 +0100
+++ new/ruamel.yaml-0.16.12/CHANGES     2020-09-04 16:16:46.000000000 +0200
@@ -1,3 +1,10 @@
+[0, 16, 12]: 2020-09-04
+  - update links in doc
+
+[0, 16, 11]: 2020-09-03
+  - workaround issue with setuptools 0.50 and importing pip ( fix by jaraco
+    https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580 )
+
 [0, 16, 10]: 2020-02-12
   - (auto) updated image references in README to sourceforge
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/PKG-INFO 
new/ruamel.yaml-0.16.12/PKG-INFO
--- old/ruamel.yaml-0.16.10/PKG-INFO    2020-02-12 13:32:24.685746400 +0100
+++ new/ruamel.yaml-0.16.12/PKG-INFO    2020-09-04 16:26:02.370326800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ruamel.yaml
-Version: 0.16.10
+Version: 0.16.12
 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order
 Home-page: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree
 Author: Anthon van der Neut
@@ -12,10 +12,10 @@
         
         ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
         
-        :version:       0.16.10
-        :updated:       2020-02-12
+        :version:       0.16.12
+        :updated:       2020-09-04
         :documentation: http://yaml.readthedocs.io
-        :repository:    https://bitbucket.org/ruamel/yaml
+        :repository:    https://sourceforge.net/projects/ruamel-yaml/
         :pypi:          https://pypi.org/project/ruamel.yaml/
         
         
@@ -62,6 +62,13 @@
         
         .. should insert NEXT: at the beginning of line for next key (with 
empty line)
         
+        0.16.12 (2020-09-04):
+          - update links in doc
+        
+        0.16.11 (2020-09-03):
+          - workaround issue with setuptools 0.50 and importing pip ( fix by 
jaraco
+            
https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580 )
+        
         0.16.10 (2020-02-12):
           - (auto) updated image references in README to sourceforge
         
@@ -778,5 +785,5 @@
 Classifier: Topic :: Text Processing :: Markup
 Classifier: Typing :: Typed
 Description-Content-Type: text/x-rst
-Provides-Extra: docs
 Provides-Extra: jinja2
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/README.rst 
new/ruamel.yaml-0.16.12/README.rst
--- old/ruamel.yaml-0.16.10/README.rst  2020-02-12 13:29:45.000000000 +0100
+++ new/ruamel.yaml-0.16.12/README.rst  2020-09-04 16:16:46.000000000 +0200
@@ -4,10 +4,10 @@
 
 ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
 
-:version:       0.16.10
-:updated:       2020-02-12
+:version:       0.16.12
+:updated:       2020-09-04
 :documentation: http://yaml.readthedocs.io
-:repository:    https://bitbucket.org/ruamel/yaml
+:repository:    https://sourceforge.net/projects/ruamel-yaml/
 :pypi:          https://pypi.org/project/ruamel.yaml/
 
 
@@ -54,6 +54,13 @@
 
 .. should insert NEXT: at the beginning of line for next key (with empty line)
 
+0.16.12 (2020-09-04):
+  - update links in doc
+
+0.16.11 (2020-09-03):
+  - workaround issue with setuptools 0.50 and importing pip ( fix by jaraco
+    https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580 )
+
 0.16.10 (2020-02-12):
   - (auto) updated image references in README to sourceforge
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/__init__.py 
new/ruamel.yaml-0.16.12/__init__.py
--- old/ruamel.yaml-0.16.10/__init__.py 2020-02-12 13:30:15.000000000 +0100
+++ new/ruamel.yaml-0.16.12/__init__.py 2020-09-04 16:19:09.000000000 +0200
@@ -7,32 +7,31 @@
 
 _package_data = dict(
     full_package_name='ruamel.yaml',
-    version_info=(0, 16, 10),
-    __version__='0.16.10',
+    version_info=(0, 16, 12),
+    __version__='0.16.12',
     author='Anthon van der Neut',
     author_email='[email protected]',
     description='ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order',  # NOQA
     entry_points=None,
     since=2014,
-    extras_require={':platform_python_implementation=="CPython" and 
python_version<="2.7"': [
-            'ruamel.ordereddict',
-        ], ':platform_python_implementation=="CPython" and 
python_version<"3.9"': [
-            'ruamel.yaml.clib>=0.1.2',
-        ], 'jinja2': ['ruamel.yaml.jinja2>=0.2'], 'docs': ['ryd']},
-    # NOQA
-    # test='#include "ext/yaml.h"\n\nint main(int argc, char* 
argv[])\n{\nyaml_parser_t parser;\nparser = parser;  /* prevent warning 
*/\nreturn 0;\n}\n',  # NOQA
+    extras_require={
+        ':platform_python_implementation=="CPython" and 
python_version<="2.7"': ['ruamel.ordereddict'],  # NOQA
+        ':platform_python_implementation=="CPython" and python_version<"3.9"': 
['ruamel.yaml.clib>=0.1.2'],  # NOQA
+        'jinja2': ['ruamel.yaml.jinja2>=0.2'],
+        'docs': ['ryd'],
+    },
     classifiers=[
-            'Programming Language :: Python :: 2.7',
-            'Programming Language :: Python :: 3.5',
-            'Programming Language :: Python :: 3.6',
-            'Programming Language :: Python :: 3.7',
-            'Programming Language :: Python :: 3.8',
-            'Programming Language :: Python :: Implementation :: CPython',
-            'Programming Language :: Python :: Implementation :: PyPy',
-            'Programming Language :: Python :: Implementation :: Jython',
-            'Topic :: Software Development :: Libraries :: Python Modules',
-            'Topic :: Text Processing :: Markup',
-            'Typing :: Typed',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: Implementation :: CPython',
+        'Programming Language :: Python :: Implementation :: PyPy',
+        'Programming Language :: Python :: Implementation :: Jython',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+        'Topic :: Text Processing :: Markup',
+        'Typing :: Typed',
     ],
     keywords='yaml 1.2 parser round-trip preserve quotes order config',
     read_the_docs='yaml',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/anchor.py 
new/ruamel.yaml-0.16.12/anchor.py
--- old/ruamel.yaml-0.16.10/anchor.py   2020-01-25 14:40:31.000000000 +0100
+++ new/ruamel.yaml-0.16.12/anchor.py   2020-08-09 10:58:41.000000000 +0200
@@ -1,4 +1,3 @@
-
 if False:  # MYPY
     from typing import Any, Dict, Optional, List, Union, Optional, Iterator  # 
NOQA
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/emitter.py 
new/ruamel.yaml-0.16.12/emitter.py
--- old/ruamel.yaml-0.16.10/emitter.py  2020-01-30 10:42:09.000000000 +0100
+++ new/ruamel.yaml-0.16.12/emitter.py  2020-08-09 11:00:15.000000000 +0200
@@ -169,14 +169,14 @@
         self.prefixed_colon = self.colon if prefix_colon is None else 
prefix_colon + self.colon
         # single entry mappings in flow sequence
         self.brace_single_entry_mapping_in_flow_sequence = (
-         brace_single_entry_mapping_in_flow_sequence
-        )  # NOQA
+            brace_single_entry_mapping_in_flow_sequence  # NOQA
+        )
 
         # Formatting details.
         self.canonical = canonical
         self.allow_unicode = allow_unicode
         # set to False to get "\Uxxxxxxxx" for non-basic unicode like emojis
-        self.unicode_supplementary = sys.maxunicode > 0xffff
+        self.unicode_supplementary = sys.maxunicode > 0xFFFF
         self.sequence_dash_offset = block_seq_indent if block_seq_indent else 0
         self.top_level_colon_align = top_level_colon_align
         self.best_sequence_indent = 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/representer.py 
new/ruamel.yaml-0.16.12/representer.py
--- old/ruamel.yaml-0.16.10/representer.py      2020-01-30 08:49:57.000000000 
+0100
+++ new/ruamel.yaml-0.16.12/representer.py      2020-09-04 07:21:13.000000000 
+0200
@@ -15,6 +15,17 @@
     DoubleQuotedScalarString,
     PlainScalarString,
 )
+from ruamel.yaml.comments import (
+    CommentedMap,
+    CommentedOrderedMap,
+    CommentedSeq,
+    CommentedKeySeq,
+    CommentedKeyMap,
+    CommentedSet,
+    comment_attrib,
+    merge_attrib,
+    TaggedScalar,
+)
 from ruamel.yaml.scalarint import ScalarInt, BinaryInt, OctalInt, HexInt, 
HexCapsInt
 from ruamel.yaml.scalarfloat import ScalarFloat
 from ruamel.yaml.scalarbool import ScalarBoolean
@@ -644,18 +655,6 @@
 
 Representer.add_multi_representer(type, Representer.represent_name)
 
-from ruamel.yaml.comments import (
-    CommentedMap,
-    CommentedOrderedMap,
-    CommentedSeq,
-    CommentedKeySeq,
-    CommentedKeyMap,
-    CommentedSet,
-    comment_attrib,
-    merge_attrib,
-    TaggedScalar,
-)  # NOQA
-
 
 class RoundTripRepresenter(SafeRepresenter):
     # need to add type here and write out the .comment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/ruamel.yaml.egg-info/PKG-INFO 
new/ruamel.yaml-0.16.12/ruamel.yaml.egg-info/PKG-INFO
--- old/ruamel.yaml-0.16.10/ruamel.yaml.egg-info/PKG-INFO       2020-02-12 
13:32:24.000000000 +0100
+++ new/ruamel.yaml-0.16.12/ruamel.yaml.egg-info/PKG-INFO       2020-09-04 
16:26:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ruamel.yaml
-Version: 0.16.10
+Version: 0.16.12
 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order
 Home-page: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree
 Author: Anthon van der Neut
@@ -12,10 +12,10 @@
         
         ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
         
-        :version:       0.16.10
-        :updated:       2020-02-12
+        :version:       0.16.12
+        :updated:       2020-09-04
         :documentation: http://yaml.readthedocs.io
-        :repository:    https://bitbucket.org/ruamel/yaml
+        :repository:    https://sourceforge.net/projects/ruamel-yaml/
         :pypi:          https://pypi.org/project/ruamel.yaml/
         
         
@@ -62,6 +62,13 @@
         
         .. should insert NEXT: at the beginning of line for next key (with 
empty line)
         
+        0.16.12 (2020-09-04):
+          - update links in doc
+        
+        0.16.11 (2020-09-03):
+          - workaround issue with setuptools 0.50 and importing pip ( fix by 
jaraco
+            
https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580 )
+        
         0.16.10 (2020-02-12):
           - (auto) updated image references in README to sourceforge
         
@@ -778,5 +785,5 @@
 Classifier: Topic :: Text Processing :: Markup
 Classifier: Typing :: Typed
 Description-Content-Type: text/x-rst
-Provides-Extra: docs
 Provides-Extra: jinja2
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/setup.py 
new/ruamel.yaml-0.16.12/setup.py
--- old/ruamel.yaml-0.16.10/setup.py    2020-02-12 13:29:41.000000000 +0100
+++ new/ruamel.yaml-0.16.12/setup.py    2020-09-03 20:15:00.000000000 +0200
@@ -1,6 +1,6 @@
 # # header
 # coding: utf-8
-# dd: 20200125
+# dd: 20200903
 
 from __future__ import print_function, absolute_import, division, 
unicode_literals
 
@@ -446,10 +446,8 @@
             sys.exit(1)
 
     def check(self):
-        try:
-            from pip.exceptions import InstallationError
-        except ImportError:
-            return
+        # https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580
+        InstallationError = Exception
         # arg is either develop (pip install -e) or install
         if self.command not in ['install', 'develop']:
             return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.16.10/util.py 
new/ruamel.yaml-0.16.12/util.py
--- old/ruamel.yaml-0.16.10/util.py     2019-08-15 22:08:26.000000000 +0200
+++ new/ruamel.yaml-0.16.12/util.py     2020-09-04 07:36:41.000000000 +0200
@@ -68,11 +68,11 @@
     """
     from .main import round_trip_load
 
-    # load a yaml file guess the indentation, if you use TABs ...
-    def leading_spaces(l):
+    # load a YAML document, guess the indentation, if you use TABs you're on 
your own
+    def leading_spaces(line):
         # type: (Any) -> int
         idx = 0
-        while idx < len(l) and l[idx] == ' ':
+        while idx < len(line) and line[idx] == ' ':
             idx += 1
         return idx
 


Reply via email to