Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-adal for openSUSE:Factory 
checked in at 2021-04-01 14:17:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-adal (Old)
 and      /work/SRC/openSUSE:Factory/.python-adal.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-adal"

Thu Apr  1 14:17:09 2021 rev:10 rq:882009 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-adal/python-adal.changes  2020-12-09 
22:13:15.183178449 +0100
+++ /work/SRC/openSUSE:Factory/.python-adal.new.2401/python-adal.changes        
2021-04-01 14:18:27.372086916 +0200
@@ -1,0 +2,8 @@
+Thu Mar 25 13:09:40 UTC 2021 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- New upstream release
+  + Version 1.2.6
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+
+-------------------------------------------------------------------

Old:
----
  adal-1.2.5.tar.gz

New:
----
  adal-1.2.6.tar.gz

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

Other differences:
------------------
++++++ python-adal.spec ++++++
--- /var/tmp/diff_new_pack.e1NK3V/_old  2021-04-01 14:18:27.788087563 +0200
+++ /var/tmp/diff_new_pack.e1NK3V/_new  2021-04-01 14:18:27.788087563 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-adal
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %define skip_python2 1
 %endif
 Name:           python-adal
-Version:        1.2.5
+Version:        1.2.6
 Release:        0
 Summary:        Azure Active Directory library
 License:        MIT

++++++ adal-1.2.5.tar.gz -> adal-1.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/PKG-INFO new/adal-1.2.6/PKG-INFO
--- old/adal-1.2.5/PKG-INFO     2020-10-21 22:28:52.000000000 +0200
+++ new/adal-1.2.6/PKG-INFO     2021-01-22 05:21:05.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: adal
-Version: 1.2.5
+Version: 1.2.6
 Summary: Note: This library is already replaced by MSAL Python, available 
here: https://pypi.org/project/msal/ .ADAL Python remains available here as a 
legacy. The ADAL for Python library makes it easy for python application to 
authenticate to Azure Active Directory (AAD) in order to access AAD protected 
web resources.
 Home-page: https://github.com/AzureAD/azure-activedirectory-library-for-python
 Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/adal/__init__.py 
new/adal-1.2.6/adal/__init__.py
--- old/adal-1.2.5/adal/__init__.py     2020-10-21 22:28:29.000000000 +0200
+++ new/adal-1.2.6/adal/__init__.py     2021-01-22 05:20:42.000000000 +0100
@@ -27,7 +27,7 @@
 
 # pylint: disable=wrong-import-position
 
-__version__ = '1.2.5'
+__version__ = '1.2.6'
 
 import logging
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/adal/self_signed_jwt.py 
new/adal-1.2.6/adal/self_signed_jwt.py
--- old/adal-1.2.5/adal/self_signed_jwt.py      2020-10-21 22:28:29.000000000 
+0200
+++ new/adal-1.2.6/adal/self_signed_jwt.py      2021-01-22 05:20:42.000000000 
+0100
@@ -57,7 +57,11 @@
     return encoded_jwt
 
 def _encode_jwt(payload, certificate, header):
-    return jwt.encode(payload, certificate, algorithm='RS256', 
headers=header).decode()
+    encoded = jwt.encode(payload, certificate, algorithm='RS256', 
headers=header)
+    try:
+        return encoded.decode()  # PyJWT 1.x returns bytes; historically we 
convert it to string
+    except AttributeError:
+        return encoded  # PyJWT 2 will return string
 
 def _raise_on_invalid_jwt_signature(encoded_jwt):
     segments = encoded_jwt.split('.')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/adal.egg-info/PKG-INFO 
new/adal-1.2.6/adal.egg-info/PKG-INFO
--- old/adal-1.2.5/adal.egg-info/PKG-INFO       2020-10-21 22:28:52.000000000 
+0200
+++ new/adal-1.2.6/adal.egg-info/PKG-INFO       2021-01-22 05:21:04.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: adal
-Version: 1.2.5
+Version: 1.2.6
 Summary: Note: This library is already replaced by MSAL Python, available 
here: https://pypi.org/project/msal/ .ADAL Python remains available here as a 
legacy. The ADAL for Python library makes it easy for python application to 
authenticate to Azure Active Directory (AAD) in order to access AAD protected 
web resources.
 Home-page: https://github.com/AzureAD/azure-activedirectory-library-for-python
 Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/adal.egg-info/requires.txt 
new/adal-1.2.6/adal.egg-info/requires.txt
--- old/adal-1.2.5/adal.egg-info/requires.txt   2020-10-21 22:28:52.000000000 
+0200
+++ new/adal-1.2.6/adal.egg-info/requires.txt   2021-01-22 05:21:04.000000000 
+0100
@@ -1,4 +1,4 @@
-PyJWT>=1.0.0
-requests>=2.0.0
-python-dateutil>=2.1.0
+PyJWT<3,>=1.0.0
+requests<3,>=2.0.0
+python-dateutil<3,>=2.1.0
 cryptography>=1.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/adal-1.2.5/setup.py new/adal-1.2.6/setup.py
--- old/adal-1.2.5/setup.py     2020-10-21 22:28:29.000000000 +0200
+++ new/adal-1.2.6/setup.py     2021-01-22 05:20:42.000000000 +0100
@@ -76,9 +76,9 @@
     ],
     packages=['adal'],
     install_requires=[
-        'PyJWT>=1.0.0',
-        'requests>=2.0.0',
-        'python-dateutil>=2.1.0',
+        'PyJWT>=1.0.0,<3',
+        'requests>=2.0.0,<3',
+        'python-dateutil>=2.1.0,<3',
         'cryptography>=1.1.0'
     ]
 )

Reply via email to