From dbc72d69e1911fcb30166f50365cad5c19da5c7a0034e2974e490654dd79d78a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 15 Nov 2023 12:57:57 +0000 Subject: [PATCH] Accepting request 1126597 from home:dgarcia:branches:devel:languages:python:Factory - Remove not needed patch 103213-fetch-CONFIG_ARGS.patch - Refresh patches: - bpo-31046_ensurepip_honours_prefix.patch - fix_configure_rst.patch - Update to 3.11.6: - Core and Builtins - gh-109351: Fix crash when compiling an invalid AST involving a named (walrus) expression. - gh-109207: Fix a SystemError in __repr__ of symtable entry object. - gh-109179: Fix bug where the C traceback display drops notes from SyntaxError. - gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal. It now points on the invalid non-ASCII character, not on the valid numerical literal. - gh-108959: Fix caret placement for error locations for subscript and binary operations that involve non-semantic parentheses and spaces. Patch by Pablo Galindo - gh-108520: Fix multiprocessing.synchronize.SemLock.__setstate__() to properly initialize multiprocessing.synchronize.SemLock._is_fork_ctx. This fixes a regression when passing a SemLock accross nested processes. - Rename multiprocessing.synchronize.SemLock.is_fork_ctx to multiprocessing.synchronize.SemLock._is_fork_ctx to avoid exposing it as public API. - Library - gh-110036: On Windows, multiprocessing Popen.terminate() now catchs PermissionError and get the process exit code. If the process is still running, raise again the PermissionError. OBS-URL: https://build.opensuse.org/request/show/1126597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=87 --- 103213-fetch-CONFIG_ARGS.patch | 37 ---- Python-3.11.5.tar.xz | 3 - Python-3.11.5.tar.xz.asc | 16 -- Python-3.11.6.tar.xz | 3 + Python-3.11.6.tar.xz.asc | 16 ++ bpo-31046_ensurepip_honours_prefix.patch | 46 +++-- fix_configure_rst.patch | 16 +- python311.changes | 211 +++++++++++++++++++++++ python311.spec | 6 +- 9 files changed, 269 insertions(+), 85 deletions(-) delete mode 100644 103213-fetch-CONFIG_ARGS.patch delete mode 100644 Python-3.11.5.tar.xz delete mode 100644 Python-3.11.5.tar.xz.asc create mode 100644 Python-3.11.6.tar.xz create mode 100644 Python-3.11.6.tar.xz.asc diff --git a/103213-fetch-CONFIG_ARGS.patch b/103213-fetch-CONFIG_ARGS.patch deleted file mode 100644 index 4a8c2e0..0000000 --- a/103213-fetch-CONFIG_ARGS.patch +++ /dev/null @@ -1,37 +0,0 @@ -From d3217d12eee9eefad8444e80545b82b2a8c2be4c Mon Sep 17 00:00:00 2001 -From: Ijtaba Hussain -Date: Mon, 3 Apr 2023 17:28:32 +0500 -Subject: [PATCH 1/3] Fetch CONFIG_ARGS from original python instance - -instead of fetching from intermediate instance. As "make clean" is called -against the intermediate instance, the build directory is cleared and the -config arguments lookup fails with a ModuleNotFoundError ---- - Misc/NEWS.d/next/Tools-Demos/2023-04-05-07-19-36.gh-issue-103186.yEozgK.rst | 2 ++ - Tools/freeze/test/freeze.py | 3 +-- - 2 files changed, 3 insertions(+), 2 deletions(-) - ---- /dev/null -+++ b/Misc/NEWS.d/next/Tools-Demos/2023-04-05-07-19-36.gh-issue-103186.yEozgK.rst -@@ -0,0 +1,2 @@ -+``freeze`` now fetches ``CONFIG_ARGS`` from the original CPython instance -+the Makefile uses to call utility scripts. Patch by Ijtaba Hussain. ---- a/Tools/freeze/test/freeze.py -+++ b/Tools/freeze/test/freeze.py -@@ -96,7 +96,6 @@ def copy_source_tree(newroot, oldroot): - if os.path.exists(os.path.join(newroot, 'Makefile')): - _run_quiet([MAKE, 'clean'], newroot) - -- - def get_makefile_var(builddir, name): - regex = re.compile(rf'^{name} *=\s*(.*?)\s*$') - filename = os.path.join(builddir, 'Makefile') -@@ -153,7 +152,7 @@ def prepare(script=None, outdir=None): - print(f'configuring python in {builddir}...') - cmd = [ - os.path.join(srcdir, 'configure'), -- *shlex.split(get_config_var(srcdir, 'CONFIG_ARGS') or ''), -+ *shlex.split(get_config_var(SRCDIR, 'CONFIG_ARGS') or ''), - ] - ensure_opt(cmd, 'cache-file', os.path.join(outdir, 'python-config.cache')) - prefix = os.path.join(outdir, 'python-installation') diff --git a/Python-3.11.5.tar.xz b/Python-3.11.5.tar.xz deleted file mode 100644 index 24794b2..0000000 --- a/Python-3.11.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f -size 20053580 diff --git a/Python-3.11.5.tar.xz.asc b/Python-3.11.5.tar.xz.asc deleted file mode 100644 index d72003b..0000000 --- a/Python-3.11.5.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmTnS9sACgkQ/+h0BBaL -2EeG8g//Q6EC79SSFl4BPb064d8X1q8agfLN+D07N6ULsaOL1baOClLbMxiCgquQ -R1CVzEXc0osL25Xw/7rTIBO0tCSS2yNcQ3GMuetBO4wfofDvs9V2ydaVQdrIHEQm -OTOveioF9TOaQ/zozi9Hecl4RY289kCD64sWNkwPYBJzO9KQD/UGRS/b5a4CGKyP -GSQEFdfevYsuLxLtwNh1z8af1LKRGhuWoZOBhDgpz4foH4EQdz80sssXzm2vG3tS -hAeniPphjZyRfl8kC1C86M/hH08S3h4bf/LF/OQ0OYUrwOquqOsLlz03XzJ+COGK -nBa/CGsFrxeby2oI/XF8YZrFzt9LKyWYc2p+AIU+u2EnYwOmAkrE4QaczqOV8ldD -UvfZLTeMVG/Q6JGkNS/OyM3SZoVKDdGJlg5yVAQtbQjdsB5QjVDcysLhhZ+qnuJv -pnQ6anbbX5r4X4ji/2Uar5cwO/jf7QenTKLtgGY67Q2oRE20w6F5rbYHEdO4a4MM -OkI/0pUaU5MGRJfowwtcD5AbWPKo1XXqw2UY8p+biEaVQOj+kWhoB8YA5Qz1utHJ -GiPP69oDIjfn3sPMxB/C1pBdB/m3i8za58b+G3aYtAWWP1q0abaHqPusACotvxPp -3IvB3ryLlTyUYqqTiDp9wgYh2Nr+a9b6i6yW0ptcdycnzDWC1/E= -=Lzjg ------END PGP SIGNATURE----- diff --git a/Python-3.11.6.tar.xz b/Python-3.11.6.tar.xz new file mode 100644 index 0000000..68fb387 --- /dev/null +++ b/Python-3.11.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 +size 20067204 diff --git a/Python-3.11.6.tar.xz.asc b/Python-3.11.6.tar.xz.asc new file mode 100644 index 0000000..0979fa7 --- /dev/null +++ b/Python-3.11.6.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmUaybgACgkQ/+h0BBaL +2EdGzg//bg0KTy9DGWD56RUzCKaxdao+FVV2wS8FdghTvGJHM8uDehRESzj6Viag +bks/XuTmJ4xlaW+Ilje4VU5gkdgWt44S2ZGretn+zwrv6B5L697s1j4IOnyEywzm +rQ+a5aMRsW+m8kVoKDLsfbCcrwgxXEFln18y9Qp79QhbUpTVjp5vMwWdYyv2JnYb +G2QraFr0mQEhbVsiYpSVRWiacJi7JBuHTU/hNcN/q1ACf/CX3NSLDfL2bJEWNekg +JW3z0c81vLI9D+NkQ8xWOxgEO6G4Aav4F3t37ujuf2W/CI+NZlEknSt2ITxKeTHw +dwtIMXQc3MyG4ExnAwv1LqtL1H3Dm6SAE7sSyn4uG2uknk4xSuyoMIVMJefXmxbQ +Pd8v6/QnqT3U6MVuVlvCq4AWRotZwRpB7MdnpvA0t1tmANOA8i0MWrhCw0ccYk1a +X/3ewR0+RfQYkDvFfnJpbbsQlK+lhZgt/VmQNOHvWoc/tDnB73b2seOmGkx016TY +hozXE4FXtR+8qk9CfJTd8QRNST8KBUCB9C3eoLciruugmyrUvDLjki/u9GNOIl/b +kVJzcD6eQJC9BthJXuKaKDLKX1a1a9J8GUzVXsW1kuEMQHuv/v7Cf6MzmHWWO3QN +yRgqFXkic/U8RgSHUbtozo16GMlU+RDC6bQgZR7mfE0eFCJnD6U= +=mxrE +-----END PGP SIGNATURE----- diff --git a/bpo-31046_ensurepip_honours_prefix.patch b/bpo-31046_ensurepip_honours_prefix.patch index f6b2d3d..1cec52f 100644 --- a/bpo-31046_ensurepip_honours_prefix.patch +++ b/bpo-31046_ensurepip_honours_prefix.patch @@ -13,20 +13,22 @@ Co-Authored-By: Xavier de Gaye 5 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst ---- a/Doc/library/ensurepip.rst -+++ b/Doc/library/ensurepip.rst -@@ -59,8 +59,9 @@ is at least as recent as the one availab +Index: Python-3.11.6/Doc/library/ensurepip.rst +=================================================================== +--- Python-3.11.6.orig/Doc/library/ensurepip.rst ++++ Python-3.11.6/Doc/library/ensurepip.rst +@@ -59,7 +59,9 @@ is at least as recent as the one availab By default, ``pip`` is installed into the current virtual environment (if one is active) or into the system site packages (if there is no active virtual environment). The installation location can be controlled -through two additional command line options: +through some additional command line options: - ++ +* ``--prefix ``: Installs ``pip`` using the given directory prefix. - * ``--root ``: Installs ``pip`` relative to the given root directory + + * :samp:`--root {dir}`: Installs ``pip`` relative to the given root directory rather than the root of the currently active virtual environment (if any) - or the default root for the current Python installation. -@@ -92,7 +93,7 @@ Module API +@@ -92,7 +94,7 @@ Module API Returns a string specifying the available version of pip that will be installed when bootstrapping an environment. @@ -35,7 +37,7 @@ Co-Authored-By: Xavier de Gaye altinstall=False, default_pip=False, \ verbosity=0) -@@ -102,6 +103,8 @@ Module API +@@ -102,6 +104,8 @@ Module API If *root* is ``None``, then installation uses the default install location for the current environment. @@ -44,7 +46,7 @@ Co-Authored-By: Xavier de Gaye *upgrade* indicates whether or not to upgrade an existing installation of an earlier version of ``pip`` to the available version. -@@ -122,6 +125,8 @@ Module API +@@ -122,6 +126,8 @@ Module API *verbosity* controls the level of output to :data:`sys.stdout` from the bootstrapping operation. @@ -53,8 +55,10 @@ Co-Authored-By: Xavier de Gaye .. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap .. note:: ---- a/Lib/ensurepip/__init__.py -+++ b/Lib/ensurepip/__init__.py +Index: Python-3.11.6/Lib/ensurepip/__init__.py +=================================================================== +--- Python-3.11.6.orig/Lib/ensurepip/__init__.py ++++ Python-3.11.6/Lib/ensurepip/__init__.py @@ -122,27 +122,27 @@ def _disable_pip_configuration_settings( os.environ['PIP_CONFIG_FILE'] = os.devnull @@ -117,8 +121,10 @@ Co-Authored-By: Xavier de Gaye upgrade=args.upgrade, user=args.user, verbosity=args.verbosity, ---- a/Lib/test/test_ensurepip.py -+++ b/Lib/test/test_ensurepip.py +Index: Python-3.11.6/Lib/test/test_ensurepip.py +=================================================================== +--- Python-3.11.6.orig/Lib/test/test_ensurepip.py ++++ Python-3.11.6/Lib/test/test_ensurepip.py @@ -112,6 +112,17 @@ class TestBootstrap(EnsurepipMixin, unit unittest.mock.ANY, ) @@ -137,9 +143,11 @@ Co-Authored-By: Xavier de Gaye def test_bootstrapping_with_user(self): ensurepip.bootstrap(user=True) ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1756,7 +1756,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni +Index: Python-3.11.6/Makefile.pre.in +=================================================================== +--- Python-3.11.6.orig/Makefile.pre.in ++++ Python-3.11.6/Makefile.pre.in +@@ -1758,7 +1758,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni install|*) ensurepip="" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ @@ -148,7 +156,7 @@ Co-Authored-By: Xavier de Gaye fi altinstall: commoninstall -@@ -1766,7 +1766,7 @@ altinstall: commoninstall +@@ -1768,7 +1768,7 @@ altinstall: commoninstall install|*) ensurepip="--altinstall" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ @@ -157,7 +165,9 @@ Co-Authored-By: Xavier de Gaye fi commoninstall: check-clean-src @FRAMEWORKALTINSTALLFIRST@ \ +Index: Python-3.11.6/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst +=================================================================== --- /dev/null -+++ b/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst ++++ Python-3.11.6/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst @@ -0,0 +1 @@ +A directory prefix can now be specified when using :mod:`ensurepip`. diff --git a/fix_configure_rst.patch b/fix_configure_rst.patch index 5dcafa6..bd08f1d 100644 --- a/fix_configure_rst.patch +++ b/fix_configure_rst.patch @@ -3,8 +3,10 @@ Misc/NEWS | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) ---- a/Doc/using/configure.rst -+++ b/Doc/using/configure.rst +Index: Python-3.11.6/Doc/using/configure.rst +=================================================================== +--- Python-3.11.6.orig/Doc/using/configure.rst ++++ Python-3.11.6/Doc/using/configure.rst @@ -41,7 +41,6 @@ General Options See :data:`sys.int_info.bits_per_digit `. @@ -27,12 +29,14 @@ .. cmdoption:: --enable-framework=INSTALLDIR Create a Python.framework rather than a traditional Unix install. Optional ---- a/Misc/NEWS -+++ b/Misc/NEWS -@@ -8105,7 +8105,7 @@ C API +Index: Python-3.11.6/Misc/NEWS +=================================================================== +--- Python-3.11.6.orig/Misc/NEWS ++++ Python-3.11.6/Misc/NEWS +@@ -8708,7 +8708,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 + - bpo-43795: The list in :ref:`limited-api-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. diff --git a/python311.changes b/python311.changes index cee5fe5..944ef78 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,214 @@ +------------------------------------------------------------------- +Wed Nov 15 09:06:16 UTC 2023 - Daniel Garcia + +- Remove not needed patch 103213-fetch-CONFIG_ARGS.patch +- Refresh patches: + - bpo-31046_ensurepip_honours_prefix.patch + - fix_configure_rst.patch + +- Update to 3.11.6: + - Core and Builtins + - gh-109351: Fix crash when compiling an invalid AST involving a + named (walrus) expression. + - gh-109207: Fix a SystemError in __repr__ of symtable entry + object. + - gh-109179: Fix bug where the C traceback display drops notes + from SyntaxError. + - gh-88943: Improve syntax error for non-ASCII character that + follows a numerical literal. It now points on the invalid + non-ASCII character, not on the valid numerical literal. + - gh-108959: Fix caret placement for error locations for subscript + and binary operations that involve non-semantic parentheses and + spaces. Patch by Pablo Galindo + - gh-108520: Fix + multiprocessing.synchronize.SemLock.__setstate__() to properly + initialize multiprocessing.synchronize.SemLock._is_fork_ctx. + This fixes a regression when passing a SemLock accross nested + processes. + - Rename multiprocessing.synchronize.SemLock.is_fork_ctx to + multiprocessing.synchronize.SemLock._is_fork_ctx to avoid + exposing it as public API. + - Library + - gh-110036: On Windows, multiprocessing Popen.terminate() now + catchs PermissionError and get the process exit code. If the + process is still running, raise again the PermissionError. + Otherwise, the process terminated as expected: store its exit + code. Patch by Victor Stinner. + - gh-110038: Fixed an issue that caused KqueueSelector.select() to + not return all the ready events in some cases when a file + descriptor is registered for both read and write. + - gh-109631: re functions such as re.findall(), re.split(), + re.search() and re.sub() which perform short repeated matches + can now be interrupted by user. + - gh-109593: Avoid deadlocking on a reentrant call to the + multiprocessing resource tracker. Such a reentrant call, though + unlikely, can happen if a GC pass invokes the finalizer for a + multiprocessing object such as SemLock. + - gh-109613: Fix os.stat() and os.DirEntry.stat(): check for + exceptions. Previously, on Python built in debug mode, these + functions could trigger a fatal Python error (and abort the + process) when a function succeeded with an exception set. Patch + by Victor Stinner. + - gh-109375: The pdb alias command now prevents registering + aliases without arguments. + - gh-107219: Fix a race condition in concurrent.futures. When a + process in the process pool was terminated abruptly (while the + future was running or pending), close the connection write end. + If the call queue is blocked on sending bytes to a worker + process, closing the connection write end interrupts the send, + so the queue can be closed. Patch by Victor Stinner. + - gh-50644: Attempts to pickle or create a shallow or deep copy of + codecs streams now raise a TypeError. Previously, copying failed + with a RecursionError, while pickling produced wrong results + that eventually caused unpickling to fail with a RecursionError. + - gh-108987: Fix _thread.start_new_thread() race condition. If a + thread is created during Python finalization, the newly spawned + thread now exits immediately instead of trying to access freed + memory and lead to a crash. Patch by Victor Stinner. + - gh-108843: Fix an issue in ast.unparse() when unparsing + f-strings containing many quote types. + - gh-108682: Enum: raise TypeError if super().__new__() is called + from a custom __new__. + - gh-105829: Fix concurrent.futures.ProcessPoolExecutor deadlock + - gh-64662: Fix support for virtual tables in + sqlite3.Connection.iterdump(). Patch by Aviv Palivoda. + - gh-107913: Fix possible losses of errno and winerror values in + OSError exceptions if they were cleared or modified by the + cleanup code before creating the exception object. + - gh-104372: On Linux where subprocess can use the vfork() syscall + for faster spawning, prevent the parent process from blocking + other threads by dropping the GIL while it waits for the + vfork’ed child process exec() outcome. This prevents spawning a + binary from a slow filesystem from blocking the rest of the + application. + - gh-84867: unittest.TestLoader no longer loads test cases from + exact unittest.TestCase and unittest.FunctionTestCase classes. + - Documentation + - gh-109209: The minimum Sphinx version required for the + documentation is now 4.2. + - gh-105052: Update timeit doc to specify that time in seconds is + just the default. + - gh-102823: Document the return type of x // y when x and y have + type float. + - Tests + - gh-110031: Skip test_threading tests using thread+fork if Python + is built with Address Sanitizer (ASAN). Patch by Victor Stinner. + - gh-110088: Fix test_asyncio timeouts: don’t measure the maximum + duration, a test should not measure a CI performance. Only + measure the minimum duration when a task has a timeout or delay. + Add CLOCK_RES to test_asyncio.utils. Patch by Victor Stinner. + - gh-110033: Fix test_interprocess_signal() of test_signal. Make + sure that the subprocess.Popen object is deleted before the test + raising an exception in a signal handler. Otherwise, + Popen.__del__() can get the exception which is logged as + Exception ignored in: ... and the test fails. Patch by Victor + Stinner. + - gh-109594: Fix test_timeout() of + test_concurrent_futures.test_wait. Remove the future which may + or may not complete depending if it takes longer than the + timeout ot not. Keep the second future which does not complete + before wait() timeout. Patch by Victor Stinner. + - gh-109748: Fix test_zippath_from_non_installed_posix() of + test_venv: don’t copy __pycache__/ sub-directories, because they + can be modified by other Python tests running in parallel. Patch + by Victor Stinner. + - gh-103053: Skip test_freeze_simple_script() of + test_tools.test_freeze if Python is built with ./configure + --enable-optimizations, which means with Profile Guided + Optimization (PGO): it just makes the test too slow. The freeze + tool is tested by many other CIs with other (faster) compiler + flags. Patch by Victor Stinner. + - gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode. Use a + longer key: FIPS mode requires at least of at least 112 bits. + The previous key was only 32 bits. Patch by Victor Stinner. + - gh-104736: Fix test_gdb on Python built with LLVM clang 16 on + Linux ppc64le (ex: Fedora 38). Search patterns in gdb “bt” + command output to detect when gdb fails to retrieve the + traceback. For example, skip a test if Backtrace stopped: frame + did not save the PC is found. Patch by Victor Stinner. + - gh-109237: Fix test_site.test_underpth_basic() when the working + directory contains at least one non-ASCII character: encode the + ._pth file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for + the child process stdout. Patch by Victor Stinner. + - gh-109230: Fix test_pyexpat.test_exception(): it can now be run + from a directory different than Python source code directory. + Before, the test failed in this case. Skip the test if + Modules/pyexpat.c source is not available. Skip also the test on + Python implementations other than CPython. Patch by Victor + Stinner. + - gh-109015: Fix test_asyncio, test_imaplib and test_socket tests + on FreeBSD if the TCP blackhole is enabled (sysctl + net.inet.tcp.blackhole). Skip the few tests which failed with + ETIMEDOUT which such non standard configuration. Currently, the + FreeBSD GCP image enables TCP and UDP blackhole (sysctl + net.inet.tcp.blackhole=2 and sysctl net.inet.udp.blackhole=1). + Patch by Victor Stinner. + - gh-91960: Skip test_gdb if gdb is unable to retrieve Python + frame objects: if a frame is . When Python is + built with “clang -Og”, gdb can fail to retrive the frame + parameter of _PyEval_EvalFrameDefault(). In this case, tests + like py_bt() are likely to fail. Without getting access to + Python frames, python-gdb.py is mostly clueless on retrieving + the Python traceback. Moreover, test_gdb is no longer skipped on + macOS if Python is built with Clang. Patch by Victor Stinner. + - gh-108962: Skip test_tempfile.test_flags() if chflags() fails + with “OSError: [Errno 45] Operation not supported” (ex: on + FreeBSD 13). Patch by Victor Stinner. + - gh-89392: Removed support of test_main() function in tests. They + now always use normal unittest test runner. + - gh-108851: Fix test_tomllib recursion tests for WASI buildbots: + reduce the recursion limit and compute the maximum nested + array/dict depending on the current available recursion limit. + Patch by Victor Stinner. + - gh-108851: Add get_recursion_available() and + get_recursion_depth() functions to the test.support module. + Patch by Victor Stinner. + - gh-108822: regrtest now computes statistics on all tests: + successes, failures and skipped. test_netrc, test_pep646_syntax + and test_xml_etree now return results in their test_main() + function. Patch by Victor Stinner and Alex Waygood. + - gh-108388: Convert test_concurrent_futures to a package of 7 + sub-tests. Patch by Victor Stinner. + - gh-108388: Split test_multiprocessing_fork, + test_multiprocessing_forkserver and test_multiprocessing_spawn + into test packages. Each package is made of 4 sub-tests: + processes, threads, manager and misc. It allows running more + tests in parallel and so reduce the total test duration. Patch + by Victor Stinner. + - gh-101634: When running the Python test suite with -jN option, + if a worker stdout cannot be decoded from the locale encoding + report a failed testn so the exitcode is non-zero. Patch by + Victor Stinner. + - gh-100086: The Python test runner (libregrtest) now logs Python + build information like “debug” vs “release” build, or LTO and + PGO optimizations. Patch by Victor Stinner. + - gh-98903: The Python test suite now fails wit exit code 4 if no + tests ran. It should help detecting typos in test names and test + methods. + - gh-95027: On Windows, when the Python test suite is run with the + -jN option, the ANSI code page is now used as the encoding for + the stdout temporary file, rather than using UTF-8 which can + lead to decoding errors. Patch by Victor Stinner. + - gh-93353: regrtest now checks if a test leaks temporary files or + directories if run with -jN option. Patch by Victor Stinner. + - Build + - gh-63760: Fix Solaris build: no longer redefine the + gethostname() function. Solaris defines the function since 2005. + Patch by Victor Stinner, original patch by Jakub Kulík. + - gh-108740: Fix a race condition in make regen-all. The + deepfreeze.c source and files generated by Argument Clinic are + now generated or updated before generating “global objects”. + Previously, some identifiers may miss depending on the order in + which these files were generated. Patch by Victor Stinner. + - Windows + - gh-109991: Update Windows build to use OpenSSL 3.0.11. + - gh-107565: Update Windows build to use OpenSSL 3.0.10. + - macOS + - gh-109991: Update macOS installer to use OpenSSL 3.0.11. + - Tools/Demos + - gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and + multissltests to use 1.1.1w, 3.0.11, and 3.1.3. + ------------------------------------------------------------------- Wed Sep 6 07:52:11 UTC 2023 - Daniel Garcia diff --git a/python311.spec b/python311.spec index 91872f0..05e3990 100644 --- a/python311.spec +++ b/python311.spec @@ -94,7 +94,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.5 +Version: 3.11.6 Release: 0 Summary: Python 3 Interpreter License: Python-2.0 @@ -158,9 +158,6 @@ Patch35: fix_configure_rst.patch # PATCH-FIX-UPSTREAM support-expat-CVE-2022-25236-patched.patch jsc#SLE-21253 mcepl@suse.com # Makes Python resilient to changes of API of libexpat Patch36: support-expat-CVE-2022-25236-patched.patch -# PATCH-FIX-UPSTREAM 103213-fetch-CONFIG_ARGS.patch gh#python/cpython#103053 mcepl@suse.com -# Fetch CONFIG_ARGS from original python instance -Patch38: 103213-fetch-CONFIG_ARGS.patch # PATCH-FIX-UPSTREAM skip_if_buildbot-extend.patch gh#python/cpython#103053 mcepl@suse.com # Skip test_freeze_simple_script Patch39: skip_if_buildbot-extend.patch @@ -429,7 +426,6 @@ other applications. %endif %patch35 -p1 %patch36 -p1 -%patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 -p1