Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python38 for openSUSE:Factory 
checked in at 2021-09-11 22:24:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python38 (Old)
 and      /work/SRC/openSUSE:Factory/.python38.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python38"

Sat Sep 11 22:24:10 2021 rev:18 rq:915293 version:3.8.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python38/python38.changes        2021-08-18 
08:55:32.958998911 +0200
+++ /work/SRC/openSUSE:Factory/.python38.new.1899/python38.changes      
2021-09-11 22:24:16.447371445 +0200
@@ -1,0 +2,40 @@
+Tue Aug 31 01:18:08 UTC 2021 - Fusion Future <qydwhotm...@gmail.com>
+
+- Update to 3.8.12
+  * Complete list of changes is available at
+    https://docs.python.org/release/3.8.12/whatsnew/changelog.html
+  * Security
+    - bpo-42278: Replaced usage of tempfile.mktemp() with
+      TemporaryDirectory to avoid a potential race condition.
+    - bpo-44394: Update the vendored copy of libexpat to 2.4.1
+      (from 2.2.8) to get the fix for the CVE-2013-0340 ???Billion
+      Laughs??? vulnerability. This copy is most used on Windows and
+      macOS.
+    - bpo-43124: Made the internal putcmd function in smtplib
+      sanitize input for presence of \r and \n characters to avoid
+      (unlikely) command injection.
+    - bpo-36384: ipaddress module no longer accepts any leading
+      zeros in IPv4 address strings. Leading zeros are ambiguous
+      and interpreted as octal notation by some libraries. For
+      example the legacy function socket.inet_aton() treats leading
+      zeros as octal notation. glibc implementation of modern
+      inet_pton() does not accept any leading zeros. For a while
+      the ipaddress module used to accept ambiguous leading zeros.
+- Refreshed patch:
+  * decimal-3.8.patch
+
+-------------------------------------------------------------------
+Fri Aug 27 12:00:12 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Add decimal-3.8.patch to add building with --with-system-libmpdec
+  option (bsc#1189356).
+
+-------------------------------------------------------------------
+Thu Aug 26 12:00:25 UTC 2021 - Andreas Schwab <sch...@suse.de>
+
+- test_faulthandler is still problematic under qemu linux-user emulation,
+  disable it there
+- Reenable profileopt with qemu emulation, test_faulthandler is no longer
+  run during profiling
+
+-------------------------------------------------------------------

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

New:
----
  Python-3.8.12.tar.xz
  Python-3.8.12.tar.xz.asc
  decimal-3.8.patch

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

Other differences:
------------------
++++++ python38.spec ++++++
--- /var/tmp/diff_new_pack.TYykqZ/_old  2021-09-11 22:24:17.651372632 +0200
+++ /var/tmp/diff_new_pack.TYykqZ/_new  2021-09-11 22:24:17.655372636 +0200
@@ -75,19 +75,20 @@
 %if "%{_arch}" == "arm"
 %define armsuffix hf
 %endif
+# Decide whether we want to use mpdecimal
+%if 0%{?suse_version} >= 1550
+%bcond_without mpdecimal
+%else
+%bcond_with mpdecimal
+%endif
 # pyexpat.cpython-35m-x86_64-linux-gnu
 # pyexpat.cpython-35m-powerpc64le-linux-gnu
 # pyexpat.cpython-35m-armv7-linux-gnueabihf
 # _md5.cpython-38m-x86_64-linux-gnu.so
 %define dynlib() 
%{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
-# deadlocks on test_faulthandler and blocks the build
-%if 0%{?qemu_user_space_build}
-%bcond_with profileopt
-%else
 %bcond_without profileopt
-%endif
 Name:           %{python_pkg_name}%{psuffix}
-Version:        3.8.11
+Version:        3.8.12
 Release:        0
 Summary:        Python 3 Interpreter
 License:        Python-2.0
@@ -125,6 +126,10 @@
 # PATCH-FEATURE-UPSTREAM distutils-reproducible-compile.patch 
gh#python/cpython#8057 mc...@suse.com
 # Improve reproduceability
 Patch06:        distutils-reproducible-compile.patch
+# PATCH-FEATURE-UPSTREAM decimal-3.8.patch bsc#1189356 mc...@suse.com
+# fix building with mpdecimal
+# https://www.bytereef.org/contrib/decimal-3.8.diff
+Patch05:        decimal-3.8.patch
 # support finding packages in /usr/local, install to /usr/local by default
 Patch07:        python-3.3.0b1-localpath.patch
 # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible 
builds
@@ -174,6 +179,9 @@
 BuildRequires:  pkgconfig(libnsl)
 BuildRequires:  pkgconfig(libtirpc)
 %endif
+%if %{with mpdecimal}
+BuildRequires:  mpdecimal-devel
+%endif
 %if %{with doc}
 %if 0%{?suse_version} > 1500
 BuildRequires:  %{python_pkg_name}-Sphinx
@@ -393,6 +401,9 @@
 %if "%{_lib}" == "lib64"
 %patch03 -p1
 %endif
+%if %{with mpdecimal}
+%patch05 -p1
+%endif
 
 %patch06 -p1
 %patch07 -p1
@@ -465,6 +476,9 @@
 %if %{with profileopt}
     --enable-optimizations \
 %endif
+%if %{with mpdecimal}
+    --with-system-libmpdec \
+%endif
     --enable-loadable-sqlite-extensions
 
 # prevent make from trying to rebuild PYTHON_FOR_GEN stuff
@@ -506,7 +520,7 @@
 %endif
 # some tests break in QEMU
 %if 0%{?qemu_user_space_build}
-EXCLUDE="$EXCLUDE test_multiprocessing_forkserver test_multiprocessing_spawn 
test_os test_posix test_signal test_socket test_subprocess"
+EXCLUDE="$EXCLUDE test_faulthandler test_multiprocessing_forkserver 
test_multiprocessing_spawn test_os test_posix test_signal test_socket 
test_subprocess"
 %endif
 
 # This test (part of test_uuid) requires real network interfaces

++++++ Python-3.8.11.tar.xz -> Python-3.8.12.tar.xz ++++++
/work/SRC/openSUSE:Factory/python38/Python-3.8.11.tar.xz 
/work/SRC/openSUSE:Factory/.python38.new.1899/Python-3.8.12.tar.xz differ: char 
25, line 1

++++++ decimal-3.8.patch ++++++
---
 Modules/_decimal/_decimal.c |    4 ++--
 setup.py                    |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -3284,7 +3284,7 @@ dec_format(PyObject *dec, PyObject *args
     }
     else {
         size_t n = strlen(spec.dot);
-        if (n > 1 || (n == 1 && !isascii((uchar)spec.dot[0]))) {
+        if (n > 1 || (n == 1 && !isascii((unsigned char)spec.dot[0]))) {
             /* fix locale dependent non-ascii characters */
             dot = dotsep_as_utf8(spec.dot);
             if (dot == NULL) {
@@ -3293,7 +3293,7 @@ dec_format(PyObject *dec, PyObject *args
             spec.dot = PyBytes_AS_STRING(dot);
         }
         n = strlen(spec.sep);
-        if (n > 1 || (n == 1 && !isascii((uchar)spec.sep[0]))) {
+        if (n > 1 || (n == 1 && !isascii((unsigned char)spec.sep[0]))) {
             /* fix locale dependent non-ascii characters */
             sep = dotsep_as_utf8(spec.sep);
             if (sep == NULL) {
--- a/setup.py
+++ b/setup.py
@@ -2053,7 +2053,7 @@ class PyBuildExt(build_ext):
         undef_macros = []
         if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
             include_dirs = []
-            libraries = [':libmpdec.so.2']
+            libraries = ['mpdec']
             sources = ['_decimal/_decimal.c']
             depends = ['_decimal/docstrings.h']
         else:

Reply via email to