Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python311 for openSUSE:Factory 
checked in at 2022-06-06 11:10:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python311 (Old)
 and      /work/SRC/openSUSE:Factory/.python311.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python311"

Mon Jun  6 11:10:39 2022 rev:2 rq:980978 version:3.11.0b2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python311/python311.changes      2022-05-18 
13:13:34.882683162 +0200
+++ /work/SRC/openSUSE:Factory/.python311.new.1548/python311.changes    
2022-06-06 11:10:51.519336813 +0200
@@ -1,0 +2,8 @@
+Tue May 31 20:54:36 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Update to 3.11.0b2:
+  - many small updates
+- Add patch support-expat-245.patch:
+  * Support Expat >= 2.4.4 (jsc#SLE-21253)
+
+-------------------------------------------------------------------

Old:
----
  Python-3.11.0b1.tar.xz
  Python-3.11.0b1.tar.xz.asc

New:
----
  Python-3.11.0b2.tar.xz
  Python-3.11.0b2.tar.xz.asc
  support-expat-245.patch

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

Other differences:
------------------
++++++ python311.spec ++++++
--- /var/tmp/diff_new_pack.KjnGDq/_old  2022-06-06 11:10:52.783338643 +0200
+++ /var/tmp/diff_new_pack.KjnGDq/_new  2022-06-06 11:10:52.787338649 +0200
@@ -100,7 +100,7 @@
 %define dynlib() 
%{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
 %bcond_without profileopt
 Name:           %{python_pkg_name}%{psuffix}
-Version:        3.11.0b1
+Version:        3.11.0b2
 Release:        0
 Summary:        Python 3 Interpreter
 License:        Python-2.0
@@ -160,6 +160,9 @@
 # PATCH-FIX-SLE fix_configure_rst.patch bpo#43774 mc...@suse.com
 # remove duplicate link targets and make documentation with old Sphinx in SLE
 Patch35:        fix_configure_rst.patch
+# PATCH-FIX-UPSTREAM support-expat-245.patch jsc#SLE-21253 mc...@suse.com
+# Makes Python resilient to changes of API of libexpat
+Patch36:        support-expat-245.patch
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -187,7 +190,7 @@
 BuildRequires:  mpdecimal-devel
 %endif
 %if %{with doc}
-BuildRequires:  python3-Sphinx
+BuildRequires:  python3-Sphinx >= 4.0.0
 %if 0%{?suse_version} >= 1500
 BuildRequires:  python3-python-docs-theme >= 2022.1
 %endif
@@ -425,6 +428,7 @@
 %patch34 -p1
 %endif
 %patch35 -p1
+%patch36 -p1
 
 # drop Autoconf version requirement
 sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac

++++++ Python-3.11.0b1.tar.xz -> Python-3.11.0b2.tar.xz ++++++
/work/SRC/openSUSE:Factory/python311/Python-3.11.0b1.tar.xz 
/work/SRC/openSUSE:Factory/.python311.new.1548/Python-3.11.0b2.tar.xz differ: 
char 27, line 1

++++++ bpo-31046_ensurepip_honours_prefix.patch ++++++
--- /var/tmp/diff_new_pack.KjnGDq/_old  2022-06-06 11:10:52.875338776 +0200
+++ /var/tmp/diff_new_pack.KjnGDq/_new  2022-06-06 11:10:52.879338782 +0200
@@ -139,7 +139,7 @@
  
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -1733,7 +1733,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni
+@@ -1741,7 +1741,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni
                        install|*) ensurepip="" ;; \
                esac; \
                $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \
@@ -148,7 +148,7 @@
        fi
  
  altinstall: commoninstall
-@@ -1743,7 +1743,7 @@ altinstall: commoninstall
+@@ -1751,7 +1751,7 @@ altinstall: commoninstall
                        install|*) ensurepip="--altinstall" ;; \
                esac; \
                $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \

++++++ fix_configure_rst.patch ++++++
--- /var/tmp/diff_new_pack.KjnGDq/_old  2022-06-06 11:10:52.891338799 +0200
+++ /var/tmp/diff_new_pack.KjnGDq/_new  2022-06-06 11:10:52.895338805 +0200
@@ -29,7 +29,7 @@
     Create a Python.framework rather than a traditional Unix install. Optional
 --- a/Misc/NEWS
 +++ b/Misc/NEWS
-@@ -5480,7 +5480,7 @@ C API
+@@ -5685,7 +5685,7 @@ C API
  - bpo-40939: Removed documentation for the removed ``PyParser_*`` C API.
  
  - bpo-43795: The list in :ref:`stable-abi-list` now shows the public name

++++++ python-3.3.0b1-fix_date_time_compiler.patch ++++++
--- /var/tmp/diff_new_pack.KjnGDq/_old  2022-06-06 11:10:52.951338886 +0200
+++ /var/tmp/diff_new_pack.KjnGDq/_new  2022-06-06 11:10:52.951338886 +0200
@@ -4,7 +4,7 @@
 
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -1222,11 +1222,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
+@@ -1230,11 +1230,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
                $(DTRACE_OBJS) \
                $(srcdir)/Modules/getbuildinfo.c
        $(CC) -c $(PY_CORE_CFLAGS) \

++++++ python-3.3.0b1-test-posix_fadvise.patch ++++++
--- /var/tmp/diff_new_pack.KjnGDq/_old  2022-06-06 11:10:52.963338903 +0200
+++ /var/tmp/diff_new_pack.KjnGDq/_new  2022-06-06 11:10:52.967338909 +0200
@@ -4,7 +4,7 @@
 
 --- a/Lib/test/test_posix.py
 +++ b/Lib/test/test_posix.py
-@@ -434,7 +434,7 @@ class PosixTester(unittest.TestCase):
+@@ -428,7 +428,7 @@ class PosixTester(unittest.TestCase):
      def test_posix_fadvise(self):
          fd = os.open(os_helper.TESTFN, os.O_RDONLY)
          try:


++++++ support-expat-245.patch ++++++
>From d4f5bb912e67299b59b814b89a5afd9a8821a14e Mon Sep 17 00:00:00 2001
From: "Miss Islington (bot)"
 <31488909+miss-isling...@users.noreply.github.com>
Date: Mon, 21 Feb 2022 11:03:08 -0800
Subject: [PATCH] bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453)
 (GH-31471)

Curly brackets were never allowed in namespace URIs
according to RFC 3986, and so-called namespace-validating
XML parsers have the right to reject them a invalid URIs.

libexpat >=2.4.5 has become strcter in that regard due to
related security issues; with ET.XML instantiating a
namespace-aware parser under the hood, this test has no
future in CPython.

References:
- https://datatracker.ietf.org/doc/html/rfc3968
- https://www.w3.org/TR/xml-names/

Also, test_minidom.py: Support Expat >=2.4.5
(cherry picked from commit 2cae93832f46b245847bdc252456ddf7742ef45e)

Co-authored-by: Sebastian Pipping <sebast...@pipping.org>
---
 Lib/test/test_minidom.py                                          |   13 
++++------
 Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst |    1 
 2 files changed, 7 insertions(+), 7 deletions(-)
 create mode 100644 
Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst

--- a/Lib/test/test_minidom.py
+++ b/Lib/test/test_minidom.py
@@ -6,12 +6,11 @@ import io
 from test import support
 import unittest
 
-import pyexpat
+import xml.parsers.expat
 import xml.dom.minidom
 
 from xml.dom.minidom import parse, Node, Document, parseString
 from xml.dom.minidom import getDOMImplementation
-from xml.parsers.expat import ExpatError
 
 
 tstfile = support.findfile("test.xml", subdir="xmltestdata")
@@ -1149,10 +1148,10 @@ class MinidomTest(unittest.TestCase):
 
         # Verify that character decoding errors raise exceptions instead
         # of crashing
-        if pyexpat.version_info >= (2, 4, 5):
-            self.assertRaises(ExpatError, parseString,
+        if xml.parsers.expat.version_info >= (2, 4, 4):
+            self.assertRaises(xml.parsers.expat.ExpatError, parseString,
                     b'<fran\xe7ais></fran\xe7ais>')
-            self.assertRaises(ExpatError, parseString,
+            self.assertRaises(xml.parsers.expat.ExpatError, parseString,
                     b'<franais>Comment \xe7a va ? Tr\xe8s bien ?</franais>')
         else:
             self.assertRaises(UnicodeDecodeError, parseString,
@@ -1617,8 +1616,8 @@ class MinidomTest(unittest.TestCase):
         self.confirm(doc2.namespaceURI == xml.dom.EMPTY_NAMESPACE)
 
     def testExceptionOnSpacesInXMLNSValue(self):
-        if pyexpat.version_info >= (2, 4, 5):
-            context = self.assertRaisesRegex(ExpatError, 'syntax error')
+        if xml.parsers.expat.version_info >= (2, 4, 4):
+            context = self.assertRaisesRegex(xml.parsers.expat.ExpatError, 
'syntax error')
         else:
             context = self.assertRaisesRegex(ValueError, 'Unsupported syntax')
 
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-02-20-21-03-31.bpo-46811.8BxgdQ.rst
@@ -0,0 +1 @@
+Make test suite support Expat >=2.4.5

Reply via email to