Hello community,

here is the log from the commit of package python-Paste for openSUSE:Factory 
checked in at 2020-08-06 17:31:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Paste (Old)
 and      /work/SRC/openSUSE:Factory/.python-Paste.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Paste"

Thu Aug  6 17:31:38 2020 rev:29 rq:824325 version:3.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes        
2020-07-21 15:40:09.451508141 +0200
+++ /work/SRC/openSUSE:Factory/.python-Paste.new.3399/python-Paste.changes      
2020-08-06 17:32:23.797098263 +0200
@@ -1,0 +2,6 @@
+Tue Aug  4 12:08:43 UTC 2020 - Dirk Mueller <dmuel...@suse.com>
+
+- update to 3.4.3:
+  * Patch auth ticket to be python3 compatible.
+
+-------------------------------------------------------------------

Old:
----
  Paste-3.4.2.tar.gz

New:
----
  Paste-3.4.3.tar.gz

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

Other differences:
------------------
++++++ python-Paste.spec ++++++
--- /var/tmp/diff_new_pack.mCxhKg/_old  2020-08-06 17:32:24.769098491 +0200
+++ /var/tmp/diff_new_pack.mCxhKg/_new  2020-08-06 17:32:24.773098492 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Paste
-Version:        3.4.2
+Version:        3.4.3
 Release:        0
 Summary:        Tools for using a Web Server Gateway Interface stack
 License:        MIT

++++++ Paste-3.4.2.tar.gz -> Paste-3.4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.4.2/PKG-INFO new/Paste-3.4.3/PKG-INFO
--- old/Paste-3.4.2/PKG-INFO    2020-07-14 12:27:55.000000000 +0200
+++ new/Paste-3.4.3/PKG-INFO    2020-07-22 17:17:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Paste
-Version: 3.4.2
+Version: 3.4.3
 Summary: Tools for using a Web Server Gateway Interface stack
 Home-page: https://pythonpaste.readthedocs.io/
 Author: Chris Dent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.4.2/Paste.egg-info/PKG-INFO 
new/Paste-3.4.3/Paste.egg-info/PKG-INFO
--- old/Paste-3.4.2/Paste.egg-info/PKG-INFO     2020-07-14 12:27:55.000000000 
+0200
+++ new/Paste-3.4.3/Paste.egg-info/PKG-INFO     2020-07-22 17:17:29.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: Paste
-Version: 3.4.2
+Version: 3.4.3
 Summary: Tools for using a Web Server Gateway Interface stack
 Home-page: https://pythonpaste.readthedocs.io/
 Author: Chris Dent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.4.2/docs/news.txt 
new/Paste-3.4.3/docs/news.txt
--- old/Paste-3.4.2/docs/news.txt       2020-07-14 12:26:19.000000000 +0200
+++ new/Paste-3.4.3/docs/news.txt       2020-07-22 17:15:51.000000000 +0200
@@ -3,6 +3,13 @@
 
 .. contents::
 
+3.4.3
+-----
+
+* Patch auth ticket to be python3 compatible.
+
+Thanks to TilmanSchaefer for the patch.
+
 3.4.2
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.4.2/paste/auth/auth_tkt.py 
new/Paste-3.4.3/paste/auth/auth_tkt.py
--- old/Paste-3.4.2/paste/auth/auth_tkt.py      2020-01-26 16:30:37.000000000 
+0100
+++ new/Paste-3.4.3/paste/auth/auth_tkt.py      2020-07-22 17:14:09.000000000 
+0200
@@ -168,22 +168,22 @@
         # correct specification of digest from hashlib or fail
         digest_algo = getattr(hashlib, digest_algo)
     digest_hexa_size = digest_algo().digest_size * 2
-    ticket = ticket.strip('"')
+    ticket = ticket.strip(b'"')
     digest = ticket[:digest_hexa_size]
     try:
         timestamp = int(ticket[digest_hexa_size:digest_hexa_size + 8], 16)
     except ValueError as e:
         raise BadTicket('Timestamp is not a hex integer: %s' % e)
     try:
-        userid, data = ticket[digest_hexa_size + 8:].split('!', 1)
+        userid, data = ticket[digest_hexa_size + 8:].split(b'!', 1)
     except ValueError:
         raise BadTicket('userid is not followed by !')
-    userid = url_unquote(userid)
-    if '!' in data:
-        tokens, user_data = data.split('!', 1)
+    userid = url_unquote(userid.decode())
+    if b'!' in data:
+        tokens, user_data = data.split(b'!', 1)
     else:
         # @@: Is this the right order?
-        tokens = ''
+        tokens = b''
         user_data = data
 
     expected = calculate_digest(ip, timestamp, secret,
@@ -194,7 +194,7 @@
         raise BadTicket('Digest signature is not correct',
                         expected=(expected, digest))
 
-    tokens = tokens.split(',')
+    tokens = tokens.split(b',')
 
     return (timestamp, userid, tokens, user_data)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Paste-3.4.2/setup.py new/Paste-3.4.3/setup.py
--- old/Paste-3.4.2/setup.py    2020-07-14 12:26:28.000000000 +0200
+++ new/Paste-3.4.3/setup.py    2020-07-22 17:15:58.000000000 +0200
@@ -12,7 +12,7 @@
 # - git push
 # - python setup.py sdist bdist_wheel upload --sign
 
-__version__ = '3.4.2'
+__version__ = '3.4.3'
 
 from setuptools import setup, find_packages
 import sys, os


Reply via email to