Hello community,

here is the log from the commit of package python-ruamel.yaml for 
openSUSE:Factory checked in at 2019-05-14 13:43:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruamel.yaml (Old)
 and      /work/SRC/openSUSE:Factory/.python-ruamel.yaml.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ruamel.yaml"

Tue May 14 13:43:53 2019 rev:15 rq:702771 version:0.15.94

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ruamel.yaml/python-ruamel.yaml.changes    
2019-04-19 18:39:35.695277064 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ruamel.yaml.new.5148/python-ruamel.yaml.changes
  2019-05-14 13:43:56.828713632 +0200
@@ -1,0 +2,10 @@
+Tue May 14 07:23:53 UTC 2019 - Ondřej Súkup <mimi...@gmail.com>
+
+- update to 0.15.94
+ * fix missing line-break after end-of-file comments not ending in
+    line-break
+ * fix failure to parse empty implicit flow mapping key
+ * in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+    correctly recognised as booleans and such strings dumped quoted
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-ruamel.yaml.spec ++++++
--- /var/tmp/diff_new_pack.XZQStp/_old  2019-05-14 13:43:57.984716078 +0200
+++ /var/tmp/diff_new_pack.XZQStp/_new  2019-05-14 13:43:57.988716086 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ruamel.yaml
-Version:        0.15.92
+Version:        0.15.94
 Release:        0
 Summary:        Python YAML parser
 License:        MIT

++++++ ruamel.yaml-0.15.92.tar.gz -> ruamel.yaml-0.15.94.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/CHANGES 
new/ruamel.yaml-0.15.94/CHANGES
--- old/ruamel.yaml-0.15.92/CHANGES     2019-04-16 08:45:03.000000000 +0200
+++ new/ruamel.yaml-0.15.94/CHANGES     2019-04-23 08:30:29.000000000 +0200
@@ -1,3 +1,22 @@
+[0, 15, 94]: 2019-04-23
+  - fix missing line-break after end-of-file comments not ending in
+    line-break (reported by `Philip Thompson
+    <https://bitbucket.org/%7Be42ba205-0876-4151-bcbe-ccaea5bd13ce%7D/>`__)
+
+[0, 15, 93]: 2019-04-21
+  - fix failure to parse empty implicit flow mapping key
+  - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+    correctly recognised as booleans and such strings dumped quoted
+    (reported by `Marcel Bollmann
+    <https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__)
+
+[0, 15, 93]: 2019-04-21
+  - fix failure to parse empty implicit flow mapping key
+  - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+    correctly recognised as booleans and such strings dumped quoted
+    (reported by `Marcel Bollmann
+    <https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__)
+
 [0, 15, 92]: 2019-04-16
   - fix failure to parse empty implicit block mapping key (reported by 
     `Nolan W <https://bitbucket.org/i2labs/>`__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/PKG-INFO 
new/ruamel.yaml-0.15.94/PKG-INFO
--- old/ruamel.yaml-0.15.92/PKG-INFO    2019-04-16 08:46:40.000000000 +0200
+++ new/ruamel.yaml-0.15.94/PKG-INFO    2019-04-23 08:33:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ruamel.yaml
-Version: 0.15.92
+Version: 0.15.94
 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://bitbucket.org/ruamel/yaml
 Author: Anthon van der Neut
@@ -12,8 +12,8 @@
         
         ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
         
-        :version:       0.15.92
-        :updated:       2019-04-16
+        :version:       0.15.94
+        :updated:       2019-04-23
         :documentation: http://yaml.readthedocs.io
         :repository:    https://bitbucket.org/ruamel/
         :pypi:          https://pypi.org/project/ruamel.yaml/
@@ -62,6 +62,18 @@
         
         .. should insert NEXT: at the beginning of line for next key (with 
empty line)
         
+        0.15.94 (2019-04-23):
+          - fix missing line-break after end-of-file comments not ending in
+            line-break (reported by `Philip Thompson
+            
<https://bitbucket.org/%7Be42ba205-0876-4151-bcbe-ccaea5bd13ce%7D/>`__)
+        
+        0.15.93 (2019-04-21):
+          - fix failure to parse empty implicit flow mapping key
+          - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+            correctly recognised as booleans and such strings dumped quoted
+            (reported by `Marcel Bollmann
+            
<https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__)
+        
         0.15.92 (2019-04-16):
           - fix failure to parse empty implicit block mapping key (reported by 
             `Nolan W <https://bitbucket.org/i2labs/>`__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/README.rst 
new/ruamel.yaml-0.15.94/README.rst
--- old/ruamel.yaml-0.15.92/README.rst  2019-04-16 08:45:03.000000000 +0200
+++ new/ruamel.yaml-0.15.94/README.rst  2019-04-23 08:30:29.000000000 +0200
@@ -4,8 +4,8 @@
 
 ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
 
-:version:       0.15.92
-:updated:       2019-04-16
+:version:       0.15.94
+:updated:       2019-04-23
 :documentation: http://yaml.readthedocs.io
 :repository:    https://bitbucket.org/ruamel/
 :pypi:          https://pypi.org/project/ruamel.yaml/
@@ -54,6 +54,18 @@
 
 .. should insert NEXT: at the beginning of line for next key (with empty line)
 
+0.15.94 (2019-04-23):
+  - fix missing line-break after end-of-file comments not ending in
+    line-break (reported by `Philip Thompson
+    <https://bitbucket.org/%7Be42ba205-0876-4151-bcbe-ccaea5bd13ce%7D/>`__)
+
+0.15.93 (2019-04-21):
+  - fix failure to parse empty implicit flow mapping key
+  - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+    correctly recognised as booleans and such strings dumped quoted
+    (reported by `Marcel Bollmann
+    <https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__)
+
 0.15.92 (2019-04-16):
   - fix failure to parse empty implicit block mapping key (reported by 
     `Nolan W <https://bitbucket.org/i2labs/>`__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/__init__.py 
new/ruamel.yaml-0.15.94/__init__.py
--- old/ruamel.yaml-0.15.92/__init__.py 2019-04-16 08:46:24.000000000 +0200
+++ new/ruamel.yaml-0.15.94/__init__.py 2019-04-23 08:31:18.000000000 +0200
@@ -7,8 +7,8 @@
 
 _package_data = dict(
     full_package_name='ruamel.yaml',
-    version_info=(0, 15, 92),
-    __version__='0.15.92',
+    version_info=(0, 15, 94),
+    __version__='0.15.94',
     author='Anthon van der Neut',
     author_email='a.van.der.n...@ruamel.eu',
     description='ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order',  # NOQA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/constructor.py 
new/ruamel.yaml-0.15.94/constructor.py
--- old/ruamel.yaml-0.15.92/constructor.py      2019-04-05 21:43:33.000000000 
+0200
+++ new/ruamel.yaml-0.15.94/constructor.py      2019-04-21 17:26:25.000000000 
+0200
@@ -438,6 +438,8 @@
     bool_values = {
         u'yes': True,
         u'no': False,
+        u'y': True,
+        u'n': False,
         u'true': True,
         u'false': False,
         u'on': True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/parser.py 
new/ruamel.yaml-0.15.94/parser.py
--- old/ruamel.yaml-0.15.92/parser.py   2019-04-16 08:02:44.000000000 +0200
+++ new/ruamel.yaml-0.15.94/parser.py   2019-04-21 17:38:44.000000000 +0200
@@ -435,7 +435,7 @@
             self.state = self.parse_flow_sequence_first_entry
         elif self.scanner.check_token(FlowMappingStartToken):
             pt = self.scanner.peek_token()
-            end_mark = self.scanner.peek_token().end_mark
+            end_mark = pt.end_mark
             event = MappingStartEvent(
                 anchor,
                 tag,
@@ -731,6 +731,11 @@
                 else:
                     self.state = self.parse_flow_mapping_value
                     return self.process_empty_scalar(token.end_mark)
+            elif self.resolver.processing_version > (1, 1) and 
self.scanner.check_token(
+                ValueToken
+            ):
+                self.state = self.parse_flow_mapping_value
+                return 
self.process_empty_scalar(self.scanner.peek_token().end_mark)
             elif not self.scanner.check_token(FlowMappingEndToken):
                 self.states.append(self.parse_flow_mapping_empty_value)
                 return self.parse_flow_node()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/resolver.py 
new/ruamel.yaml-0.15.94/resolver.py
--- old/ruamel.yaml-0.15.92/resolver.py 2019-03-20 10:28:26.000000000 +0100
+++ new/ruamel.yaml-0.15.94/resolver.py 2019-04-21 17:24:04.000000000 +0200
@@ -29,7 +29,7 @@
         list(u'tTfF')),
     ([(1, 1)],
         u'tag:yaml.org,2002:bool',
-        RegExp(u'''^(?:yes|Yes|YES|no|No|NO
+        RegExp(u'''^(?:y|Y|yes|Yes|YES|n|N|no|No|NO
         |true|True|TRUE|false|False|FALSE
         |on|On|ON|off|Off|OFF)$''', re.X),
         list(u'yYnNtTfFoO')),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/ruamel.yaml.egg-info/PKG-INFO 
new/ruamel.yaml-0.15.94/ruamel.yaml.egg-info/PKG-INFO
--- old/ruamel.yaml-0.15.92/ruamel.yaml.egg-info/PKG-INFO       2019-04-16 
08:46:40.000000000 +0200
+++ new/ruamel.yaml-0.15.94/ruamel.yaml.egg-info/PKG-INFO       2019-04-23 
08:33:52.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ruamel.yaml
-Version: 0.15.92
+Version: 0.15.94
 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://bitbucket.org/ruamel/yaml
 Author: Anthon van der Neut
@@ -12,8 +12,8 @@
         
         ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python.
         
-        :version:       0.15.92
-        :updated:       2019-04-16
+        :version:       0.15.94
+        :updated:       2019-04-23
         :documentation: http://yaml.readthedocs.io
         :repository:    https://bitbucket.org/ruamel/
         :pypi:          https://pypi.org/project/ruamel.yaml/
@@ -62,6 +62,18 @@
         
         .. should insert NEXT: at the beginning of line for next key (with 
empty line)
         
+        0.15.94 (2019-04-23):
+          - fix missing line-break after end-of-file comments not ending in
+            line-break (reported by `Philip Thompson
+            
<https://bitbucket.org/%7Be42ba205-0876-4151-bcbe-ccaea5bd13ce%7D/>`__)
+        
+        0.15.93 (2019-04-21):
+          - fix failure to parse empty implicit flow mapping key
+          - in YAML 1.1 plains scalars `y`, 'n', `Y`, and 'N' are now
+            correctly recognised as booleans and such strings dumped quoted
+            (reported by `Marcel Bollmann
+            
<https://bitbucket.org/%7Bd8850921-9145-4ad0-ac30-64c3bd9b036d%7D/>`__)
+        
         0.15.92 (2019-04-16):
           - fix failure to parse empty implicit block mapping key (reported by 
             `Nolan W <https://bitbucket.org/i2labs/>`__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.92/scanner.py 
new/ruamel.yaml-0.15.94/scanner.py
--- old/ruamel.yaml-0.15.92/scanner.py  2019-04-16 07:48:59.000000000 +0200
+++ new/ruamel.yaml-0.15.94/scanner.py  2019-04-23 08:30:17.000000000 +0200
@@ -1877,6 +1877,10 @@
                 while ch not in _THE_END:
                     ch = srp()
                     if ch == '\0':  # don't gobble the end-of-stream character
+                        # but add an explicit newline as "YAML processors 
should terminate
+                        # the stream with an explicit line break
+                        # https://yaml.org/spec/1.2/spec.html#id2780069
+                        comment += '\n'
                         break
                     comment += ch
                     srf()


Reply via email to