Hello community,

here is the log from the commit of package python-Genshi for openSUSE:Factory 
checked in at 2019-06-24 21:44:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Genshi (Old)
 and      /work/SRC/openSUSE:Factory/.python-Genshi.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Genshi"

Mon Jun 24 21:44:58 2019 rev:17 rq:710505 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Genshi/python-Genshi.changes      
2019-05-05 21:18:48.840851337 +0200
+++ /work/SRC/openSUSE:Factory/.python-Genshi.new.4615/python-Genshi.changes    
2019-06-24 21:44:59.663725607 +0200
@@ -1,0 +2,6 @@
+Tue Jun 18 08:43:11 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.7.3:
+  * Add support for PEP 570 (positional-only keyword parameters)
+
+-------------------------------------------------------------------

Old:
----
  Genshi-0.7.2.tar.gz

New:
----
  Genshi-0.7.3.tar.gz

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

Other differences:
------------------
++++++ python-Genshi.spec ++++++
--- /var/tmp/diff_new_pack.7bcvUl/_old  2019-06-24 21:45:00.175725895 +0200
+++ /var/tmp/diff_new_pack.7bcvUl/_new  2019-06-24 21:45:00.175725895 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Genshi
-Version:        0.7.2
+Version:        0.7.3
 Release:        0
 Summary:        A toolkit for generation of output for the web
 License:        BSD-3-Clause

++++++ Genshi-0.7.2.tar.gz -> Genshi-0.7.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/ChangeLog new/Genshi-0.7.3/ChangeLog
--- old/Genshi-0.7.2/ChangeLog  2019-04-27 22:26:09.000000000 +0200
+++ new/Genshi-0.7.3/ChangeLog  2019-05-27 23:03:08.000000000 +0200
@@ -1,3 +1,11 @@
+Version 0.7.3
+https://github.com/edgewall/genshi/releases/tag/0.7.3
+(May 27 2019, from branches/stable/0.7.x)
+
+ * Add support for PEP 570 (positional-only keyword parameters) changes to 
CodeType
+   in Python 3.8.
+
+
 Version 0.7.2
 https://github.com/edgewall/genshi/releases/tag/0.7.2
 (Apr 27 2019, from branches/stable/0.7.x)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/Genshi.egg-info/PKG-INFO 
new/Genshi-0.7.3/Genshi.egg-info/PKG-INFO
--- old/Genshi-0.7.2/Genshi.egg-info/PKG-INFO   2019-04-27 22:26:38.000000000 
+0200
+++ new/Genshi-0.7.3/Genshi.egg-info/PKG-INFO   2019-05-27 23:03:38.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Genshi
-Version: 0.7.2
+Version: 0.7.3
 Summary: A toolkit for generation of output for the web
 Home-page: http://genshi.edgewall.org/
 Author: Edgewall Software
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/PKG-INFO new/Genshi-0.7.3/PKG-INFO
--- old/Genshi-0.7.2/PKG-INFO   2019-04-27 22:26:39.000000000 +0200
+++ new/Genshi-0.7.3/PKG-INFO   2019-05-27 23:03:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Genshi
-Version: 0.7.2
+Version: 0.7.3
 Summary: A toolkit for generation of output for the web
 Home-page: http://genshi.edgewall.org/
 Author: Edgewall Software
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/genshi/__init__.py 
new/Genshi-0.7.3/genshi/__init__.py
--- old/Genshi-0.7.2/genshi/__init__.py 2019-04-27 22:26:09.000000000 +0200
+++ new/Genshi-0.7.3/genshi/__init__.py 2019-05-27 23:03:08.000000000 +0200
@@ -20,7 +20,7 @@
 """
 
 __docformat__ = 'restructuredtext en'
-__version__ = '0.7.2'
+__version__ = '0.7.3'
 
 from genshi.core import *
 from genshi.input import ParseError, XML, HTML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/genshi/compat.py 
new/Genshi-0.7.3/genshi/compat.py
--- old/Genshi-0.7.2/genshi/compat.py   2019-04-27 22:26:09.000000000 +0200
+++ new/Genshi-0.7.3/genshi/compat.py   2019-05-27 23:03:08.000000000 +0200
@@ -85,17 +85,26 @@
                         lineno, code.co_lnotab, (), ())
 else:
     def get_code_params(code):
-        return (code.co_nlocals, code.co_kwonlyargcount, code.co_stacksize,
-                code.co_flags, code.co_code, code.co_consts, code.co_names,
-                code.co_varnames, code.co_filename, code.co_name,
-                code.co_firstlineno, code.co_lnotab, (), ())
+        params = [code.co_nlocals, code.co_kwonlyargcount, code.co_stacksize,
+                  code.co_flags, code.co_code, code.co_consts, code.co_names,
+                  code.co_varnames, code.co_filename, code.co_name,
+                  code.co_firstlineno, code.co_lnotab, (), ()]
+        if hasattr(code, "co_posonlyargcount"):
+            # PEP 570 added "positional only arguments"
+            params.insert(1, code.co_posonlyargcount)
+        return tuple(params)
+
 
     def build_code_chunk(code, filename, name, lineno):
-        return CodeType(0, code.co_nlocals, code.co_kwonlyargcount,
-                        code.co_stacksize, code.co_flags | 0x0040,
-                        code.co_code, code.co_consts, code.co_names,
-                        code.co_varnames, filename, name, lineno,
-                        code.co_lnotab, (), ())
+        params =  [0, code.co_nlocals, code.co_kwonlyargcount,
+                  code.co_stacksize, code.co_flags | 0x0040,
+                  code.co_code, code.co_consts, code.co_names,
+                  code.co_varnames, filename, name, lineno,
+                  code.co_lnotab, (), ()]
+        if hasattr(code, "co_posonlyargcount"):
+            # PEP 570 added "positional only arguments"
+            params.insert(2, code.co_posonlyargcount)
+        return CodeType(*params)
 
 
 # In Python 3.8, Str and Ellipsis was replaced by Constant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Genshi-0.7.2/setup.py new/Genshi-0.7.3/setup.py
--- old/Genshi-0.7.2/setup.py   2019-04-27 22:26:09.000000000 +0200
+++ new/Genshi-0.7.3/setup.py   2019-05-27 23:03:08.000000000 +0200
@@ -115,7 +115,7 @@
 
 setup(
     name = 'Genshi',
-    version = '0.7.2',
+    version = '0.7.3',
     description = 'A toolkit for generation of output for the web',
     long_description = \
 """Genshi is a Python library that provides an integrated set of


Reply via email to