From 31416b1907aa0e6b641b048d59333bb904d2a808ddffcff80970c59dcc064c25 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 1 Aug 2024 10:42:44 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=203.13.0~rc1:=20=20=20-=20Tests?= =?UTF-8?q?=20=20=20=20=20-=20gh-59022:=20Add=20tests=20for=20pkgutil.exte?= =?UTF-8?q?nd=5Fpath().=20Patch=20by=20=20=20=20=20=20=20Andreas=20Stocker?= =?UTF-8?q?.=20=20=20=20=20-=20gh-99242:=20os.getloadavg()=20may=20throw?= =?UTF-8?q?=20OSError=20when=20=20=20=20=20=20=20running=20regression=20te?= =?UTF-8?q?sts=20under=20certain=20conditions=20(e.g.=20=20=20=20=20=20=20?= =?UTF-8?q?chroot).=20This=20error=20is=20now=20caught=20and=20ignored,=20?= =?UTF-8?q?since=20=20=20=20=20=20=20reporting=20load=20average=20is=20opt?= =?UTF-8?q?ional.=20=20=20-=20Security=20=20=20=20=20-=20gh-122133:=20Auth?= =?UTF-8?q?enticate=20the=20socket=20connection=20for=20the=20=20=20=20=20?= =?UTF-8?q?=20=20socket.socketpair()=20fallback=20on=20platforms=20where?= =?UTF-8?q?=20AF=5FUNIX=20is=20=20=20=20=20=20=20not=20available=20like=20?= =?UTF-8?q?Windows.=20=20=20=20=20-=20Patch=20by=20Gregory=20P.=20Smith=20?= =?UTF-8?q?=20and=20Seth=20Larson=20=20=20=20=20=20=20.=20Reported=20by=20Ellie=20=20?= =?UTF-8?q?=20=20=20=20-=20gh-121957:=20Fixed=20missing=20audit=20events?= =?UTF-8?q?=20around=20interactive=20=20=20=20=20=20=20use=20of=20Python,?= =?UTF-8?q?=20now=20also=20properly=20firing=20for=20python=20-i,=20as=20?= =?UTF-8?q?=20=20=20=20=20=20well=20as=20for=20python=20-m=20asyncio.=20Th?= =?UTF-8?q?e=20events=20in=20question=20are=20=20=20=20=20=20=20cpython.ru?= =?UTF-8?q?n=5Fstdin=20and=20cpython.run=5Fstartup.=20=20=20-=20Library=20?= =?UTF-8?q?=20=20=20=20-=20gh-122400:=20Handle=20ValueErrors=20raised=20by?= =?UTF-8?q?=20os.stat()=20in=20=20=20=20=20=20=20filecmp.dircmp=20and=20fi?= =?UTF-8?q?lecmp.cmpfiles().=20Patch=20by=20B=C3=A9n=C3=A9dikt=20=20=20=20?= =?UTF-8?q?=20=20=20Tran.=20=20=20=20=20-=20gh-122311:=20Fix=20some=20erro?= =?UTF-8?q?r=20messages=20in=20pickle.=20=20=20=20=20-=20gh-122332:=20Fixe?= =?UTF-8?q?d=20segfault=20with=20asyncio.Task.get=5Fcoro()=20when=20=20=20?= =?UTF-8?q?=20=20=20=20using=20an=20eager=20task=20factory.=20=20=20=20=20?= =?UTF-8?q?-=20gh-105733:=20ctypes.ARRAY()=20is=20now=20soft=20deprecated:?= =?UTF-8?q?=20it=20no=20=20=20=20=20=20=20longer=20emits=20deprecation=20w?= =?UTF-8?q?arnings=20and=20is=20not=20scheduled=20for=20=20=20=20=20=20=20?= =?UTF-8?q?removal.=20=20=20=20=20-=20gh-122087:=20Restore=20inspect.ismet?= =?UTF-8?q?hoddescriptor()=20and=20=20=20=20=20=20=20inspect.isroutine()?= =?UTF-8?q?=20returning=20False=20for=20functools.partial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=31 --- Python-3.13.0b4.tar.xz | 3 - Python-3.13.0b4.tar.xz.asc | 18 ----- Python-3.13.0rc1.tar.xz | 3 + Python-3.13.0rc1.tar.xz.asc | 18 +++++ bluez-devel-vendor.tar.xz | 4 +- bpo-31046_ensurepip_honours_prefix.patch | 4 +- fix_configure_rst.patch | 2 +- python-3.3.0b1-fix_date_time_compiler.patch | 2 +- python313.changes | 83 +++++++++++++++++++++ python313.spec | 4 +- 10 files changed, 112 insertions(+), 29 deletions(-) delete mode 100644 Python-3.13.0b4.tar.xz delete mode 100644 Python-3.13.0b4.tar.xz.asc create mode 100644 Python-3.13.0rc1.tar.xz create mode 100644 Python-3.13.0rc1.tar.xz.asc diff --git a/Python-3.13.0b4.tar.xz b/Python-3.13.0b4.tar.xz deleted file mode 100644 index d4eaf96..0000000 --- a/Python-3.13.0b4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2aa557c3c875233abdaf1b124284e5d50f6bb238d62a8b55f12dc92cea1953f -size 20876136 diff --git a/Python-3.13.0b4.tar.xz.asc b/Python-3.13.0b4.tar.xz.asc deleted file mode 100644 index 65d4e81..0000000 --- a/Python-3.13.0b4.tar.xz.asc +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmaY/fpfFIAAAAAALgAo -aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx -Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6 -YwV7ExAAkdc0QjTfb4xrTBdKdOkpPk6vsM0tDpA1XnsaCDBwHRertRXKGrHivDfK -vDxHQqnXXVa+1PiQYGqFLR4DKUCebYs2RjUlZfULiXwv7SxBWTR1AEpzNyNuzfPU -+NXz0Wrs2hlEVo6LFIjCqwN3j0e96gEoIOA3BuuCorw4SeRfzc2Fw/essHYL85MQ -kyvzhRcjoyWFGoyDv52OUuP81u8v0OaW1EImkKzG65QnXVSPmihTKWvnHxgUBI95 -rTu2s5/w5gKUDDhQyBl5SLjb+bsMjgoUY8bDkvy9yTi3bWGVFOCD2VFK8cGOGUP0 -lz8g3aSPBTbfieKqghoIpPjyttqOt4gJg/twXZaxpv3f5nO2ErixYR3El/RzGdGk -uui7GJbX4fKoNsmSqM8FV6QfJ+sO3CV+3XVOyfMdrq3WrEGCpR9dYJ7BwOVfcYuD -hxMGchhMBJsj3gb25QgEVmFR/DOTnXoWNowbPkmkb7vv6lEp5j5JI47xfNqdxpID -Tyn7OQYGqKu7hzhMXTQ5HkL9AvERNUujtGHrN3uND+1ypiEFSuY6ahCmVWoAeSkJ -/TMkUiBEj1wBIMi7U0zAoyHN63zshq0DHYkaGDpb24GPAww1VmMls2pBy7vLSKO1 -Ggzr4WWIN/EVNB9zulhqVxX750idYWBJrP/kLNubEn0Z/iOchrg= -=knpx ------END PGP SIGNATURE----- diff --git a/Python-3.13.0rc1.tar.xz b/Python-3.13.0rc1.tar.xz new file mode 100644 index 0000000..1c7d783 --- /dev/null +++ b/Python-3.13.0rc1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:678b884775eec0224d5159fa900879020baca2a36ce942fd95febfa1adb4a6bd +size 20881016 diff --git a/Python-3.13.0rc1.tar.xz.asc b/Python-3.13.0rc1.tar.xz.asc new file mode 100644 index 0000000..a2c4da5 --- /dev/null +++ b/Python-3.13.0rc1.tar.xz.asc @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNATURE----- + +iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmaquNZfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx +Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6 +YwUclA//Tg0ybBUO7yjNvM85wbZLxIvYujAbReBRARLUkZXFGVMBG9zi3Arf4EE6 +PKvGvy0vg/jeQPraLBe4KQnaQUTU8qmLsjd7lWWEjZc0E+3zZzAvZ9hXNtcrqY4x +YdLaGT8762c4sFoNsp173MYrqdun/usraKK50V1m/BPAqHX1Pdy0yxykkfG4p7lC +LEUrc+2KtLWI9+Z0imH2FhI0OdhlSZKgJfi82dbmRDeJwMmEoG9+F9qmanrtIEVu +6Tpwv8RphXI1JV7mzr6EjZqW4oHRayHlA4qcS9mTYKBNAfveEODXgbvsGRenh1X1 +kJclnX/GBpcjP/+PZ9aheAxxrTEvg7kmjrcfZKfzxepJEvCaxlg9hTKAvmMcgKp0 +V8rhWxBBfy47q8pvezjI4ip2rcedtJ21e0M98PPQLpuUxeo1xldjPLeGh8hyC9Z4 +F8HAs+uv11FXV5zaJvUIMCPx125ceYhl/1Jh36bJFX9MvjFlKOtR9mnsu84D5piW +8+yUy353864bv9rrww/dMWzrrp7nO+/3gZi/goNGfMvm5KVpuhTro6xoW5KQ5LS+ +ZQGbWXl08lJ9+k8pUuwxCFHQCKjgjmerjb8xL9claBlF8FtfrQjy33BpxqF5BLpW +CUbabJ9bA9O7fPsPhbW0XQGdXIJJLjHTP39pxCPGoBqAyUVJOc8= +=CSLe +-----END PGP SIGNATURE----- diff --git a/bluez-devel-vendor.tar.xz b/bluez-devel-vendor.tar.xz index d4d3912..2d418cf 100644 --- a/bluez-devel-vendor.tar.xz +++ b/bluez-devel-vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a17f3fb420bf6bd577dde9e2b256cdb1df179ba552abb7172863321208a4713f -size 25308 +oid sha256:3cf9e87f50970aec3074a2f8f15233bb14751906c3401348a0bc932a694a8b97 +size 25300 diff --git a/bpo-31046_ensurepip_honours_prefix.patch b/bpo-31046_ensurepip_honours_prefix.patch index 2885929..d2a5ad9 100644 --- a/bpo-31046_ensurepip_honours_prefix.patch +++ b/bpo-31046_ensurepip_honours_prefix.patch @@ -139,7 +139,7 @@ Co-Authored-By: Xavier de Gaye --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2144,7 +2144,7 @@ install: @FRAMEWORKINSTALLFIRST@ @INSTAL +@@ -2157,7 +2157,7 @@ install: @FRAMEWORKINSTALLFIRST@ @INSTAL install|*) ensurepip="" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ @@ -148,7 +148,7 @@ Co-Authored-By: Xavier de Gaye fi .PHONY: altinstall -@@ -2155,7 +2155,7 @@ altinstall: commoninstall +@@ -2168,7 +2168,7 @@ altinstall: commoninstall install|*) ensurepip="--altinstall" ;; \ esac; \ $(RUNSHARED) $(PYTHON_FOR_BUILD) -m ensurepip \ diff --git a/fix_configure_rst.patch b/fix_configure_rst.patch index 052783d..986132a 100644 --- a/fix_configure_rst.patch +++ b/fix_configure_rst.patch @@ -4,7 +4,7 @@ --- a/Misc/NEWS +++ b/Misc/NEWS -@@ -17527,7 +17527,7 @@ C API +@@ -17647,7 +17647,7 @@ C API - bpo-40939: Removed documentation for the removed ``PyParser_*`` C API. - bpo-43795: The list in :ref:`limited-api-list` now shows the public name diff --git a/python-3.3.0b1-fix_date_time_compiler.patch b/python-3.3.0b1-fix_date_time_compiler.patch index ca4fecf..6b739fa 100644 --- a/python-3.3.0b1-fix_date_time_compiler.patch +++ b/python-3.3.0b1-fix_date_time_compiler.patch @@ -4,7 +4,7 @@ --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1666,11 +1666,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ +@@ -1679,11 +1679,18 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ $(DTRACE_OBJS) \ $(srcdir)/Modules/getbuildinfo.c $(CC) -c $(PY_CORE_CFLAGS) \ diff --git a/python313.changes b/python313.changes index cef3c9f..8bf50db 100644 --- a/python313.changes +++ b/python313.changes @@ -1,3 +1,85 @@ +------------------------------------------------------------------- +Thu Aug 1 10:35:25 UTC 2024 - Matej Cepl + +- Update to 3.13.0~rc1: + - Tests + - gh-59022: Add tests for pkgutil.extend_path(). Patch by + Andreas Stocker. + - gh-99242: os.getloadavg() may throw OSError when + running regression tests under certain conditions (e.g. + chroot). This error is now caught and ignored, since + reporting load average is optional. + - Security + - gh-122133: Authenticate the socket connection for the + socket.socketpair() fallback on platforms where AF_UNIX is + not available like Windows. + - Patch by Gregory P. Smith and Seth Larson + . Reported by Ellie + - gh-121957: Fixed missing audit events around interactive + use of Python, now also properly firing for python -i, as + well as for python -m asyncio. The events in question are + cpython.run_stdin and cpython.run_startup. + - Library + - gh-122400: Handle ValueErrors raised by os.stat() in + filecmp.dircmp and filecmp.cmpfiles(). Patch by Bénédikt + Tran. + - gh-122311: Fix some error messages in pickle. + - gh-122332: Fixed segfault with asyncio.Task.get_coro() when + using an eager task factory. + - gh-105733: ctypes.ARRAY() is now soft deprecated: it no + longer emits deprecation warnings and is not scheduled for + removal. + - gh-122087: Restore inspect.ismethoddescriptor() and + inspect.isroutine() returning False for functools.partial + objects. + - gh-122170: Handle ValueErrors raised by os.stat() in + linecache. Patch by Bénédikt Tran. + - gh-82951: Serializing objects with complex __qualname__ + (such as unbound methods and nested classes) by name no + longer involves serializing parent objects by value in + pickle protocols < 4. + - gh-113785: csv now correctly parses numeric fields (when + used with csv.QUOTE_NONNUMERIC or csv.QUOTE_STRINGS) which + start with an escape character. + - gh-122088: @warnings.deprecated now copies the + coroutine status of functions and methods so that + inspect.iscoroutinefunction() returns the correct result. + - gh-120930: Fixed a bug introduced by gh-92081 that added an + incorrect extra blank to encoded words occurring in wrapped + headers. + - gh-121474: Fix missing sanity check for parties arg in + threading.Barrier constructor. Patch by Clinton Christian + (pygeek). + - gh-120289: Fixed the use-after-free issue in cProfile by + disallowing disable() and clear() in external timers. + - IDLE + - gh-122482: Change About IDLE to direct users to + discuss.python.org instead of the now unused idle-dev email + and mailing list. + - Core and Builtins + - gh-116090: Fix an issue in JIT builds that prevented some + for loops from correctly firing RAISE monitoring events. + - gh-122208: Dictionary watchers now only deliver the + PyDict_EVENT_ADDED event when the insertion is in a known + good state to succeed. + - gh-122300: Preserve AST nodes for f-string with + single-element format specifiers. Patch by Pablo Galindo + - gh-122029: Emit c_call events in sys.setprofile() when a + PyMethodObject pointing to a PyCFunction is called. + - gh-122026: Fix a bug that caused the tokenizer to not + correctly identify mismatched parentheses inside f-strings + in some situations. Patch by Pablo Galindo + - gh-118934: Make PyEval_GetLocals return borrowed reference + - C API + - gh-116622: Make PyObject_Print work around a bug in Android + and OpenBSD which prevented it from throwing an exception + when trying to write to a read-only stream. + - gh-121489: Export private _PyBytes_Join() again. + - Build + - gh-120522: Added a --with-app-store-compliance option to + patch out known issues with macOS/iOS App Store review + processes. + ------------------------------------------------------------------- Wed Jul 24 08:30:54 UTC 2024 - Daniel Garcia @@ -149,6 +231,7 @@ Mon Jul 22 18:55:00 UTC 2024 - Matej Cepl checks in configure. - Remove %suse_update_desktop_file macro as it is not useful any more. +- Update bluez-devel-vendor.tar.xz vendored files. ------------------------------------------------------------------- Thu Jul 4 16:04:05 UTC 2024 - Matej Cepl diff --git a/python313.spec b/python313.spec index 5a17fc6..b844875 100644 --- a/python313.spec +++ b/python313.spec @@ -112,8 +112,8 @@ %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so %bcond_without profileopt Name: %{python_pkg_name}%{psuffix} -Version: 3.13.0~b4 -%define tarversion 3.13.0b4 +Version: 3.13.0~rc1 +%define tarversion 3.13.0rc1 %define tarname Python-%{tarversion} Release: 0 Summary: Python 3 Interpreter