Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python310 for openSUSE:Factory checked in at 2022-04-01 21:34:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python310 (Old)
and /work/SRC/openSUSE:Factory/.python310.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python310"
Fri Apr 1 21:34:43 2022 rev:14 rq:965119 version:3.10.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python310/python310.changes 2022-02-23 16:25:43.003507256 +0100
+++ /work/SRC/openSUSE:Factory/.python310.new.1900/python310.changes 2022-04-01 21:34:44.822395568 +0200
@@ -1,0 +2,284 @@
+Sat Mar 26 22:52:45 UTC 2022 - Matej Cepl
+
+- Update to 3.10.4:
+ - bpo-46968: Check for the existence of the ���sys/auxv.h��� header
+ in faulthandler to avoid compilation problems in systems
+ where this header doesn���t exist. Patch by Pablo Galindo
+ - bpo-23691: Protect the re.finditer() iterator from
+ re-entering.
+ - bpo-42369: Fix thread safety of zipfile._SharedFile.tell() to
+ avoid a ���zipfile.BadZipFile: Bad CRC-32 for file��� exception
+ when reading a ZipFile from multiple threads.
+ - bpo-38256: Fix binascii.crc32() when it is compiled to use
+ zlib���c crc32 to work properly on inputs 4+GiB in length
+ instead of returning the wrong result. The workaround prior
+ to this was to always feed the function data in increments
+ smaller than 4GiB or to just call the zlib module function.
+ - bpo-39394: A warning about inline flags not at the start of
+ the regular expression now contains the position of the flag.
+ - bpo-47061: Deprecate the various modules listed by PEP 594:
+ - aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt,
+ imghdr, msilib, nntplib, nis, ossaudiodev, pipes, smtpd,
+ sndhdr, spwd, sunau, telnetlib, uu, xdrlib
+ - bpo-2604: Fix bug where doctests using globals would fail
+ when run multiple times.
+ - bpo-45997: Fix asyncio.Semaphore re-aquiring FIFO order.
+ - bpo-47022: The asynchat, asyncore and smtpd modules have been
+ deprecated since at least Python 3.6. Their documentation and
+ deprecation warnings and have now been updated to note they
+ will removed in Python 3.12 (PEP 594).
+ - bpo-46421: Fix a unittest issue where if the command was
+ invoked as python -m unittest and the filename(s) began with
+ a dot (.), a ValueError is returned.
+ - bpo-40296: Fix supporting generic aliases in pydoc.
+
+- Update to 3.10.3:
+ - bpo-46940: Avoid overriding AttributeError metadata
+ information for nested attribute access calls. Patch by Pablo
+ Galindo.
+ - bpo-46852: Rename the private undocumented
+ float.__set_format__() method to float.__setformat__() to fix
+ a typo introduced in Python 3.7. The method is only used by
+ test_float. Patch by Victor Stinner.
+ - bpo-46794: Bump up the libexpat version into 2.4.6
+ - bpo-46820: Fix parsing a numeric literal immediately (without
+ spaces) followed by ���not in��� keywords, like in 1not in x. Now
+ the parser only emits a warning, not a syntax error.
+ - bpo-46762: Fix an assert failure in debug builds when a ���<���,
+ ���>���, or ���=��� is the last character in an f-string that���s
+ missing a closing right brace.
+ - bpo-46724: Make sure that all backwards jumps use the
+ JUMP_ABSOLUTE instruction, rather than JUMP_FORWARD with an
+ argument of (2**32)+offset.
+ - bpo-46732: Correct the docstring for the __bool__() method.
+ Patch by Jelle Zijlstra.
+ - bpo-46707: Avoid potential exponential backtracking when
+ producing some syntax errors involving lots of brackets.
+ Patch by Pablo Galindo.
+ - bpo-40479: Add a missing call to va_end() in
+ Modules/_hashopenssl.c.
+ - bpo-46615: When iterating over sets internally in
+ setobject.c, acquire strong references to the resulting items
+ from the set. This prevents crashes in corner-cases of
+ various set operations where the set gets mutated.
+ - bpo-45773: Remove two invalid ���peephole��� optimizations from
+ the bytecode compiler.
+ - bpo-43721: Fix docstrings of getter, setter, and deleter to
+ clarify that they create a new copy of the property.
+ - bpo-46503: Fix an assert when parsing some invalid N escape
+ sequences in f-strings.
+ - bpo-46417: Fix a race condition on setting a type __bases__
+ attribute: the internal function add_subclass() now gets the
+ PyTypeObject.tp_subclasses member after calling
+ PyWeakref_NewRef() which can trigger a garbage collection
+ which can indirectly modify PyTypeObject.tp_subclasses. Patch
+ by Victor Stinner.
+ - bpo-46383: Fix invalid signature of _zoneinfo���s module_free
+ function to resolve a crash on wasm32-emscripten platform.
+ - bpo-46070: Py_EndInterpreter() now explicitly untracks all
+ objects currently tracked by the GC. Previously, if an object
+ was used later by another interpreter, calling
+ PyObject_GC_UnTrack() on the object crashed if the previous
+ or the next object of the PyGC_Head structure became
+ a dangling pointer. Patch by Victor Stinner.
+ - bpo-46339: Fix a crash in the parser when retrieving the
+ error text for multi-line f-strings expressions that do not
+ start in the first line of the string. Patch by Pablo Galindo
+ - bpo-46240: Correct the error message for unclosed parentheses
+ when the tokenizer doesn���t reach the end of the source when
+ the error is reported. Patch by Pablo Galindo
+ - bpo-46091: Correctly calculate indentation levels for lines
+ with whitespace character that are ended by line continuation
+ characters. Patch by Pablo Galindo
+ - bpo-43253: Fix a crash when closing transports where the
+ underlying socket handle is already invalid on the Proactor
+ event loop.
+ - bpo-47004: Apply bugfixes from importlib_metadata 4.11.3,
+ including bugfix for EntryPoint.extras, which was returning
+ match objects and not the extras strings.
+ - bpo-46985: Upgrade pip wheel bundled with ensurepip (pip
+ 22.0.4)
+ - bpo-46968: faulthandler: On Linux 5.14 and newer, dynamically
+ determine size of signal handler stack size CPython allocates
+ using getauxval(AT_MINSIGSTKSZ). This changes allows for
+ Python extension���s request to Linux kernel to use AMX_TILE
+ instruction set on Sapphire Rapids Xeon processor to succeed,
+ unblocking use of the ISA in frameworks.
+ - bpo-46955: Expose asyncio.base_events.Server as
+ asyncio.Server. Patch by Stefan Zabka.
+ - bpo-23325: The signal module no longer assumes that SIG_IGN
+ and SIG_DFL are small int singletons.
+ - bpo-46932: Update bundled libexpat to 2.4.7
+ - bpo-25707: Fixed a file leak in
+ xml.etree.ElementTree.iterparse() when the iterator is not
+ exhausted. Patch by Jacob Walls.
+ - bpo-44886: Inherit asyncio proactor datagram transport from
+ asyncio.DatagramTransport.
+ - bpo-46827: Support UDP sockets in asyncio.loop.sock_connect()
+ for selector-based event loops. Patch by Thomas Grainger.
+ - bpo-46811: Make test suite support Expat >=2.4.5
+ - bpo-46252: Raise TypeError if ssl.SSLSocket is passed to
+ transport-based APIs.
+ - bpo-46784: Fix libexpat symbols collisions with user
+ dynamically loaded or statically linked libexpat in embedded
+ Python.
+ - bpo-39327: shutil.rmtree() can now work with VirtualBox
+ shared folders when running from the guest operating-system.
+ - bpo-46756: Fix a bug in
+ urllib.request.HTTPPasswordMgr.find_user_password() and
+ urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated()
+ which allowed to bypass authorization. For example, access to
+ URI example.org/foobar was allowed if the user was authorized
+ for URI example.org/foo.
+ - bpo-46643: In typing.get_type_hints(), support evaluating
+ stringified ParamSpecArgs and ParamSpecKwargs annotations.
+ Patch by Gregory Beauregard.
+ - bpo-45863: When the tarfile module creates a pax format
+ archive, it will put an integer representation of timestamps
+ in the ustar header (if possible) for the benefit of older
+ unarchivers, in addition to the existing full-precision
+ timestamps in the pax extended header.
+ - bpo-46676: Make typing.ParamSpec args and kwargs equal to
+ themselves. Patch by Gregory Beauregard.
+ - bpo-46672: Fix NameError in asyncio.gather() when initial
+ type check fails.
+ - bpo-46655: In typing.get_type_hints(), support evaluating
+ bare stringified TypeAlias annotations. Patch by Gregory
+ Beauregard.
+ - bpo-45948: Fixed a discrepancy in the C implementation of the
+ xml.etree.ElementTree module. Now, instantiating an
+ xml.etree.ElementTree.XMLParser with a target=None keyword
+ provides a default xml.etree.ElementTree.TreeBuilder target
+ as the Python implementation does.
+ - bpo-46521: Fix a bug in the codeop module that was
+ incorrectly identifying invalid code involving string quotes
+ as valid code.
+ - bpo-46581: Brings ParamSpec propagation for GenericAlias in
+ line with Concatenate (and others).
+ - bpo-46591: Make the IDLE doc URL on the About IDLE dialog
+ clickable.
+ - bpo-46400: expat: Update libexpat from 2.4.1 to 2.4.4
+ - bpo-46487: Add the get_write_buffer_limits method to
+ asyncio.transports.WriteTransport and to the SSL transport.
+ - bpo-45173: Note the configparser deprecations will be removed
+ in Python 3.12.
+ - bpo-46539: In typing.get_type_hints(), support evaluating
+ stringified ClassVar and Final annotations inside Annotated.
+ Patch by Gregory Beauregard.
+ - bpo-46491: Allow typing.Annotated to wrap typing.Final and
+ typing.ClassVar. Patch by Gregory Beauregard.
+ - bpo-46436: Fix command-line option -d/--directory in module
+ http.server which is ignored when combined with command-line
+ option --cgi. Patch by G��ry Ogam.
+ - bpo-41403: Make mock.patch() raise a TypeError with
+ a relevant error message on invalid arg. Previously it
+ allowed a cryptic AttributeError to escape.
+ - bpo-46474: In importlib.metadata.EntryPoint.pattern, avoid
+ potential REDoS by limiting ambiguity in consecutive
+ whitespace.
+ - bpo-46469: asyncio generic classes now return
+ types.GenericAlias in __class_getitem__ instead of the same
+ class.
+ - bpo-46434: pdb now gracefully handles help when __doc__ is
+ missing, for example when run with pregenerated optimized
+ .pyc files.
+ - bpo-46333: The __eq__() and __hash__() methods of
+ typing.ForwardRef now honor the module parameter of
+ typing.ForwardRef. Forward references from different modules
+ are now differentiated.
+ - bpo-46246: Add missing __slots__ to
+ importlib.metadata.DeprecatedList. Patch by Arie Bovenberg.
+ - bpo-46266: Improve day constants in calendar.
+ - Now all constants (MONDAY ��� SUNDAY) are documented, tested,
+ and added to __all__.
+ - bpo-46232: The ssl module now handles certificates with bit
+ strings in DN correctly.
+ - bpo-43118: Fix a bug in inspect.signature() that was causing
+ it to fail on some subclasses of classes with
++++ 107 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python310/python310.changes
++++ and /work/SRC/openSUSE:Factory/.python310.new.1900/python310.changes
Old:
----
Python-3.10.2.tar.xz
Python-3.10.2.tar.xz.asc
support-expat-245.patch
New:
----
Python-3.10.4.tar.xz
Python-3.10.4.tar.xz.asc
fix_configure_rst.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python310.spec ++++++
--- /var/tmp/diff_new_pack.kkH525/_old 2022-04-01 21:34:46.102381210 +0200
+++ /var/tmp/diff_new_pack.kkH525/_new 2022-04-01 21:34:46.110381120 +0200
@@ -35,6 +35,17 @@
%bcond_with base
%bcond_without general
%endif
+
+%if 0%{?sle_version} && 0%{?suse_version} < 1550
+# Obsoleting previous "latest" Python versions
+# Next versions will get more lines like for older versions
+%define obsolete_python_versioned() \
+Obsoletes: python39%{?1:-%{1}}
+%else
+%define obsolete_python_versioned() %{nil}
+%endif
+
+# Setting up variables
%define _version %(c=%{version}; echo ${c/[a-z]*/})
%define tar_suffix %(c=%{_version}; echo ${c#%{_version}})
%define python_version %(echo %{_version}|cut -d. -f1-2)
@@ -53,7 +64,7 @@
# Will do the /usr/bin/python3 and all the core links
%define primary_interpreter 0
# We don't process beta signs well
-%define folderversion 3.10.2
+%define folderversion 3.10.4
%define tarname Python-%{tarversion}
%define sitedir %{_libdir}/python%{python_version}
# three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
@@ -89,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.10.2
+Version: 3.10.4
Release: 0
Summary: Python 3 Interpreter
License: Python-2.0
@@ -146,8 +157,9 @@
# PATCH-FIX-SLE skip-test_pyobject_freed_is_freed.patch mcepl@suse.com
# skip a test failing on SLE-15
Patch34: skip-test_pyobject_freed_is_freed.patch
-# PATCH-FIX-UPSTREAM bpo-46811 gh#python/cpython#7da97f61816f3cadaa6788804b22a2434b40e8c5
-Patch35: support-expat-245.patch
+# PATCH-FIX-SLE fix_configure_rst.patch bpo#43774 mcepl@suse.com
+# remove duplicate link targets and make documentation with old Sphinx in SLE
+Patch35: fix_configure_rst.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes
@@ -197,6 +209,7 @@
Recommends: %{python_pkg_name}-curses
Recommends: %{python_pkg_name}-dbm
Recommends: %{python_pkg_name}-pip
+%obsolete_python_versioned
%if %{primary_interpreter}
Provides: python3 = %{python_version}
%endif
@@ -219,6 +232,7 @@
%package -n %{python_pkg_name}-tk
Summary: TkInter, a Python Tk Interface
Requires: %{python_pkg_name} = %{version}
+%obsolete_python_versioned tk
%if %{primary_interpreter}
Provides: python3-tk = %{version}
%endif
@@ -229,6 +243,7 @@
%package -n %{python_pkg_name}-curses
Summary: Python Interface to the (N)Curses Library
Requires: %{python_pkg_name} = %{version}
+%obsolete_python_versioned curses
%if %{primary_interpreter}
Provides: python3-curses
%endif
@@ -240,6 +255,7 @@
%package -n %{python_pkg_name}-dbm
Summary: Python Interface to the GDBM Library
Requires: %{python_pkg_name} = %{version}
+%obsolete_python_versioned dbm
%if %{primary_interpreter}
Provides: python3-dbm
%endif
@@ -252,6 +268,7 @@
Summary: An Integrated Development Environment for Python
Requires: %{python_pkg_name} = %{version}
Requires: %{python_pkg_name}-tk
+%obsolete_python_versioned idle
%if %{primary_interpreter}
Provides: python3-idle = %{version}
%endif
@@ -265,6 +282,7 @@
%package -n %{python_pkg_name}-doc
Summary: Package Documentation for Python 3
Enhances: %{python_pkg_name} = %{python_version}
+%obsolete_python_versioned doc
%if %{primary_interpreter}
Provides: python3-doc = %{version}
%endif
@@ -276,6 +294,7 @@
%package -n %{python_pkg_name}-doc-devhelp
Summary: Additional Package Documentation for Python 3 in devhelp format
+%obsolete_python_versioned doc-devhelp
%if %{primary_interpreter}
Provides: python3-doc-devhelp = %{version}
%endif
@@ -289,6 +308,7 @@
Summary: Python 3 Interpreter and Stdlib Core
Requires: libpython%{so_version} = %{version}
Recommends: %{python_pkg_name} = %{version}
+%obsolete_python_versioned base
#Recommends: python3-ensurepip
# python 3.1 didn't have a separate python-base, so it is wrongly
# not a conflict to have python3-3.1 and python3-base > 3.1
@@ -296,8 +316,10 @@
# no Provides, because python3 is obviously provided by package python3
# python 3.4 provides asyncio
Provides: %{python_pkg_name}-asyncio = %{version}
+%obsolete_python_versioned asyncio
# python 3.6 provides typing
Provides: %{python_pkg_name}-typing = %{version}
+%obsolete_python_versioned typing
# python3-xml was merged into python3, now moved into -base
Provides: %{python_pkg_name}-xml = %{version}
%if %{primary_interpreter}
@@ -327,6 +349,7 @@
Requires: %{python_pkg_name}-base = %{version}
Provides: %{python_pkg_name}-2to3 = %{version}
Provides: %{python_pkg_name}-demo = %{version}
+%obsolete_python_versioned tools
%if %{primary_interpreter}
Provides: python3-2to3 = %{version}
Provides: python3-demo = %{version}
@@ -342,6 +365,7 @@
%package -n %{python_pkg_name}-devel
Summary: Include Files and Libraries Mandatory for Building Python Modules
Requires: %{python_pkg_name}-base = %{version}
+%obsolete_python_versioned devel
%if %{primary_interpreter}
Provides: python3-devel = %{version}
%endif
@@ -361,6 +385,7 @@
Summary: Unit tests for Python and its standard library
Requires: %{python_pkg_name} = %{version}
Requires: %{python_pkg_name}-tk = %{version}
+%obsolete_python_versioned testsuite
%if %{primary_interpreter}
Provides: python3-testsuite = %{version}
%endif
@@ -525,6 +550,9 @@
# done have any such interface breaking the uuid module.
EXCLUDE="$EXCLUDE test_uuid"
+# bsc#1195140 and bpo#37169 - test_capi is failing on openSUSE, and not sure why
+EXCLUDE="$EXCLUDE test_capi"
+
# Limit virtual memory to avoid spurious failures
if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
ulimit -v 10000000 || :
++++++ Python-3.10.2.tar.xz -> Python-3.10.4.tar.xz ++++++
/work/SRC/openSUSE:Factory/python310/Python-3.10.2.tar.xz /work/SRC/openSUSE:Factory/.python310.new.1900/Python-3.10.4.tar.xz differ: char 26, line 1
++++++ fix_configure_rst.patch ++++++
---
Doc/using/configure.rst | 3 ---
Misc/NEWS | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -42,7 +42,6 @@ General Options
See :data:`sys.int_info.bits_per_digit `.
-.. cmdoption:: --with-cxx-main
.. cmdoption:: --with-cxx-main=COMPILER
Compile the Python ``main()`` function and link Python executable with C++
@@ -457,13 +456,11 @@ macOS Options
See ``Mac/README.rst``.
-.. cmdoption:: --enable-universalsdk
.. cmdoption:: --enable-universalsdk=SDKDIR
Create a universal binary build. *SDKDIR* specifies which macOS SDK should
be used to perform the build (default is no).
-.. cmdoption:: --enable-framework
.. cmdoption:: --enable-framework=INSTALLDIR
Create a Python.framework rather than a traditional Unix install. Optional
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2038,7 +2038,7 @@ C API
-----
- bpo-43795: The list in :ref:`stable-abi-list` now shows the public name
- :c:struct:`PyFrameObject` rather than ``_frame``. The non-existing entry
+ :c:type:`PyFrameObject` rather than ``_frame``. The non-existing entry
``_node`` no longer appears in the list.
- bpo-44378: :c:func:`Py_IS_TYPE` no longer uses :c:func:`Py_TYPE` to avoid
++++++ python-3.3.0b1-test-posix_fadvise.patch ++++++
--- /var/tmp/diff_new_pack.kkH525/_old 2022-04-01 21:34:46.310378877 +0200
+++ /var/tmp/diff_new_pack.kkH525/_new 2022-04-01 21:34:46.314378831 +0200
@@ -4,7 +4,7 @@
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
-@@ -424,7 +424,7 @@ class PosixTester(unittest.TestCase):
+@@ -425,7 +425,7 @@ class PosixTester(unittest.TestCase):
def test_posix_fadvise(self):
fd = os.open(os_helper.TESTFN, os.O_RDONLY)
try: