Hello community,

here is the log from the commit of package python3 for openSUSE:Factory checked 
in at 2017-08-14 11:08:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3 (Old)
 and      /work/SRC/openSUSE:Factory/.python3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3"

Mon Aug 14 11:08:45 2017 rev:74 rq:516778 version:3.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3/python3-base.changes     2017-08-12 
19:35:05.298268489 +0200
+++ /work/SRC/openSUSE:Factory/.python3.new/python3-base.changes        
2017-08-14 11:08:51.660731796 +0200
@@ -2,10 +1,0 @@
-Thu Aug  3 16:09:26 UTC 2017 - [email protected]
-
-- update to 3.6.2
-  * bugfix release, over a hundred bugs fixed
-  * see Misc/NEWS for details
-- drop upstreamed test-socket-aead-kernel49.patch
-- add Provides: python3-typing (fixes bsc#1050653)
-- drop duplicate Provides: python3
-
--------------------------------------------------------------------
python3-doc.changes: same change
python3.changes: same change

Old:
----
  Python-3.6.2.tar.xz
  Python-3.6.2.tar.xz.asc

New:
----
  Python-3.6.1.tar.xz
  Python-3.6.1.tar.xz.asc
  test-socket-aead-kernel49.patch

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

Other differences:
------------------
++++++ python3-base.spec ++++++
--- /var/tmp/diff_new_pack.BrgE0x/_old  2017-08-14 11:08:55.036257176 +0200
+++ /var/tmp/diff_new_pack.BrgE0x/_new  2017-08-14 11:08:55.044256051 +0200
@@ -68,7 +68,7 @@
 %endif
 
 Name:           python3-base
-Version:        3.6.2
+Version:        3.6.1
 Release:        0
 Summary:        Python 3 Interpreter and Stdlib Core
 License:        Python-2.0
@@ -106,14 +106,10 @@
 Obsoletes:      python3 < 3.2
 # no Provides, because python3 is obviously provided by package python3
 
-# python 3.4 provides asyncio
+# python3 3.4 provides asyncio
 Provides:       python3-asyncio = %{version}
 Obsoletes:      python3-asyncio < %{version}
 
-# python 3.6 provides typing
-Provides:       python3-typing = %{version}
-Obsoletes:      python3-typing < %{version}
-
 ##### BUILDREQUIRES #####
 # SECTION required for basic build
 BuildRequires:  automake
@@ -162,8 +158,10 @@
 Patch19:        python-2.7-libffi-aarch64.patch
 # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch [email protected] 
-- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1
 Patch20:        python3-ncurses-6.0-accessors.patch
+# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9
+Patch21:        test-socket-aead-kernel49.patch
 # PATCH-FIX-UPSTREAM [email protected] -- 
https://github.com/python/cpython/pull/296
-Patch21:        0001-allow-for-reproducible-builds-of-python-packages.patch
+Patch22:        0001-allow-for-reproducible-builds-of-python-packages.patch
 ### COMMON-PATCH-END ###
 
 %description
@@ -257,6 +255,7 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac

++++++ python3-doc.spec ++++++
--- /var/tmp/diff_new_pack.BrgE0x/_old  2017-08-14 11:08:55.184236369 +0200
+++ /var/tmp/diff_new_pack.BrgE0x/_new  2017-08-14 11:08:55.192235244 +0200
@@ -54,7 +54,7 @@
 ### COMMON-DEF-END ###
 #
 Name:           python3-doc
-Version:        3.6.2
+Version:        3.6.1
 Release:        0
 Summary:        Additional Package Documentation for Python 3
 License:        Python-2.0
@@ -88,8 +88,10 @@
 Patch19:        python-2.7-libffi-aarch64.patch
 # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch [email protected] 
-- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1
 Patch20:        python3-ncurses-6.0-accessors.patch
+# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9
+Patch21:        test-socket-aead-kernel49.patch
 # PATCH-FIX-UPSTREAM [email protected] -- 
https://github.com/python/cpython/pull/296
-Patch21:        0001-allow-for-reproducible-builds-of-python-packages.patch
+Patch22:        0001-allow-for-reproducible-builds-of-python-packages.patch
 ### COMMON-PATCH-END ###
 
 %description
@@ -113,6 +115,7 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac

++++++ python3.spec ++++++
--- /var/tmp/diff_new_pack.BrgE0x/_old  2017-08-14 11:08:55.288221748 +0200
+++ /var/tmp/diff_new_pack.BrgE0x/_new  2017-08-14 11:08:55.300220061 +0200
@@ -59,7 +59,7 @@
 ### COMMON-DEF-END ###
 #
 Name:           python3
-Version:        3.6.2
+Version:        3.6.1
 Release:        0
 Summary:        Python 3 Interpreter
 License:        Python-2.0
@@ -95,6 +95,7 @@
 Recommends:     python3-tk
 # some compatibility Provides
 Provides:       python  = %{python_version}
+Provides:       python3 = %{python_version}
 Provides:       python3-xml = %{version}
 Obsoletes:      python3-xml < %{version}
 #
@@ -124,8 +125,10 @@
 Patch19:        python-2.7-libffi-aarch64.patch
 # PATCH-FIX-UPSTREAM python3-ncurses-6.0-accessors.patch [email protected] 
-- Fix build with NCurses 6.0 and OPAQUE_WINDOW set to 1
 Patch20:        python3-ncurses-6.0-accessors.patch
+# PATCH-FIX-UPSTREAM fix Kernel Crypto test failing on kernel >= 4.9
+Patch21:        test-socket-aead-kernel49.patch
 # PATCH-FIX-UPSTREAM [email protected] -- 
https://github.com/python/cpython/pull/296
-Patch21:        0001-allow-for-reproducible-builds-of-python-packages.patch
+Patch22:        0001-allow-for-reproducible-builds-of-python-packages.patch
 ### COMMON-PATCH-END ###
 
 %description
@@ -183,6 +186,7 @@
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac

++++++ Python-3.6.2.tar.xz -> Python-3.6.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/python3/Python-3.6.2.tar.xz 
/work/SRC/openSUSE:Factory/.python3.new/Python-3.6.1.tar.xz differ: char 26, 
line 1


++++++ test-socket-aead-kernel49.patch ++++++
Index: Python-3.6.0/Lib/test/test_socket.py
===================================================================
--- Python-3.6.0.orig/Lib/test/test_socket.py
+++ Python-3.6.0/Lib/test/test_socket.py
@@ -5456,7 +5456,7 @@ class LinuxKernelCryptoAPI(unittest.Test
             self.assertEqual(len(dec), msglen * multiplier)
             self.assertEqual(dec, msg * multiplier)
 
-    @support.requires_linux_version(4, 3)  # see test_aes_cbc
+    @support.requires_linux_version(4, 9)  # see issue29324
     def test_aead_aes_gcm(self):
         key = bytes.fromhex('c939cc13397c1d37de6ae0e1cb7c423c')
         iv = bytes.fromhex('b3d8cc017cbb89b39e0f67e2')
@@ -5479,8 +5479,7 @@ class LinuxKernelCryptoAPI(unittest.Test
                 op.sendmsg_afalg(op=socket.ALG_OP_ENCRYPT, iv=iv,
                                  assoclen=assoclen, flags=socket.MSG_MORE)
                 op.sendall(assoc, socket.MSG_MORE)
-                op.sendall(plain, socket.MSG_MORE)
-                op.sendall(b'\x00' * taglen)
+                op.sendall(plain)
                 res = op.recv(assoclen + len(plain) + taglen)
                 self.assertEqual(expected_ct, res[assoclen:-taglen])
                 self.assertEqual(expected_tag, res[-taglen:])
@@ -5488,7 +5487,7 @@ class LinuxKernelCryptoAPI(unittest.Test
             # now with msg
             op, _ = algo.accept()
             with op:
-                msg = assoc + plain + b'\x00' * taglen
+                msg = assoc + plain
                 op.sendmsg_afalg([msg], op=socket.ALG_OP_ENCRYPT, iv=iv,
                                  assoclen=assoclen)
                 res = op.recv(assoclen + len(plain) + taglen)
@@ -5499,7 +5498,7 @@ class LinuxKernelCryptoAPI(unittest.Test
             pack_uint32 = struct.Struct('I').pack
             op, _ = algo.accept()
             with op:
-                msg = assoc + plain + b'\x00' * taglen
+                msg = assoc + plain
                 op.sendmsg(
                     [msg],
                     ([socket.SOL_ALG, socket.ALG_SET_OP, 
pack_uint32(socket.ALG_OP_ENCRYPT)],
@@ -5507,7 +5506,7 @@ class LinuxKernelCryptoAPI(unittest.Test
                      [socket.SOL_ALG, socket.ALG_SET_AEAD_ASSOCLEN, 
pack_uint32(assoclen)],
                     )
                 )
-                res = op.recv(len(msg))
+                res = op.recv(len(msg) + taglen)
                 self.assertEqual(expected_ct, res[assoclen:-taglen])
                 self.assertEqual(expected_tag, res[-taglen:])
 
@@ -5517,8 +5516,8 @@ class LinuxKernelCryptoAPI(unittest.Test
                 msg = assoc + expected_ct + expected_tag
                 op.sendmsg_afalg([msg], op=socket.ALG_OP_DECRYPT, iv=iv,
                                  assoclen=assoclen)
-                res = op.recv(len(msg))
-                self.assertEqual(plain, res[assoclen:-taglen])
+                res = op.recv(len(msg) - taglen)
+                self.assertEqual(plain, res[assoclen:])
 
     @support.requires_linux_version(4, 3)  # see test_aes_cbc
     def test_drbg_pr_sha256(self):

Reply via email to