From d5a98f879625c3c48171f591d83902dc04424c3d5a7d2eb5efdd8e72d30c744b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Oct 2024 07:14:30 +0000 Subject: [PATCH] - Update to 3.13.0: Major new features of the 3.13 series, compared to 3.12 Some of the new major new features and changes in Python 3.13 are: - New features - A new and improved interactive interpreter, based on PyPy's, featuring multi-line editing and color support, as well as colorized exception tracebacks. - An experimental free-threaded build mode, which disables the Global Interpreter Lock, allowing threads to run more concurrently. The build mode is available as an experimental feature in the Windows and macOS installers as well. - A preliminary, experimental JIT, providing the ground work for significant performance improvements. - The locals() builtin function (and its C equivalent) now has well-defined semantics when mutating the returned mapping, which allows debuggers to operate more consistently. - A modified version of mimalloc is now included, optional but enabled by default if supported by the platform, and required for the free-threaded build mode. - Docstrings now have their leading indentation stripped, reducing memory use and the size of .pyc files. (Most tools handling docstrings already strip leading indentation.) - The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files. - WASI is now a Tier 2 supported platform. Emscripten is no longer an officially supported platform (but Pyodide continues to support Emscripten). - Typing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=56 --- Python-3.13.0.tar.xz | 3 ++ Python-3.13.0.tar.xz.asc | 18 ++++++++++ Python-3.13.0rc3.tar.xz | 3 -- Python-3.13.0rc3.tar.xz.asc | 18 ---------- fix-test-recursion-limit-15.6.patch | 2 +- python313.changes | 54 +++++++++++++++++++++++++++++ python313.spec | 4 +-- 7 files changed, 78 insertions(+), 24 deletions(-) create mode 100644 Python-3.13.0.tar.xz create mode 100644 Python-3.13.0.tar.xz.asc delete mode 100644 Python-3.13.0rc3.tar.xz delete mode 100644 Python-3.13.0rc3.tar.xz.asc diff --git a/Python-3.13.0.tar.xz b/Python-3.13.0.tar.xz new file mode 100644 index 0000000..ae97bcf --- /dev/null +++ b/Python-3.13.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:086de5882e3cb310d4dca48457522e2e48018ecd43da9cdf827f6a0759efb07d +size 22532980 diff --git a/Python-3.13.0.tar.xz.asc b/Python-3.13.0.tar.xz.asc new file mode 100644 index 0000000..3bb64df --- /dev/null +++ b/Python-3.13.0.tar.xz.asc @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNATURE----- + +iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmcDjiVfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx +Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6 +YwVfzg/8DjSks9r9qRY4JfQ1cPV39scH0jhMTF6xKQshMQt7joSySFB+D73S88MY +J1guRc3hAvNhAKv9fb8ckG7Lcjd7g6lqyEjRFH1udYcNVYnLEmGacbPscQVIQHqT +OF6A3QaQyE0bLN6BM6XUM0Jp3ial3yUOHoggkleEnZClnfmIJuUKBGTj9FkCvoPq +wE9nhaYPRudqpNzG6usuVbXcz6tYnzpd6xztWIgHhCfL02i2cYvO9ytBxh2DczA8 +mI8WoDO9MqMxf2fvWZJGL1CvQS2bFnCDBh/fFlLp4grJqNehoggA8a63UJot++fa +NRSH1Rl2hL9kEh+6Qy9/XwdU/fnJW95zBzyTjyJAwUng/kJ01AQ2rSw+SK3i7XQ7 +BziKuItmAf51NgFjGAXxA32sUH9R5XmPNIe3Ae9QCFa2+OxqBTYRFxHaXntWc9oV +bCDCsc0+vXfP9Pb3rHwTSqE3aCqbOk2qM6013+Y74/I2/EFCqWhrwrTGFYSRihpv +8BOoL49NxtodasARlAefoETJKytMvXhDH5WuVqcF/51fShID5NqkPBIEcHyFgeU0 +oS3O28Vs353ym0jMnVWYd9qRIcWlvZWrDvS2QImbdjVl8/FTX7CFkDK0rbNKeYWe +IwxGju22KrUs/HTFVqe6MmUUgzsztUA2JxOhJGeyCUAS7FOX8G0= +=r6IQ +-----END PGP SIGNATURE----- diff --git a/Python-3.13.0rc3.tar.xz b/Python-3.13.0rc3.tar.xz deleted file mode 100644 index 1c80346..0000000 --- a/Python-3.13.0rc3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8bc790185af1cb77b75c01cbc1aa642dfdcf97a370d2d10090bc7baa70da57e -size 22527884 diff --git a/Python-3.13.0rc3.tar.xz.asc b/Python-3.13.0rc3.tar.xz.asc deleted file mode 100644 index 525f1fd..0000000 --- a/Python-3.13.0rc3.tar.xz.asc +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQKTBAABCgB9FiEEcWlgX2LHUTVtBUomqCHmgOX6YwUFAmb7fRlfFIAAAAAALgAo -aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcx -Njk2MDVGNjJDNzUxMzU2RDA1NEEyNkE4MjFFNjgwRTVGQTYzMDUACgkQqCHmgOX6 -YwUnFA/9FXmPquEtA/iRT0ODfuU8WoJhevG7qGnKMuRstNhj4xIaOu93HnjtYcAb -EUxOIZvMbIXIv364jDbxL+r/8iUlGYsEW0KbJpZ8c0pJ0Rz+ENewdSUVzcbRwtTJ -GG5OCbB8TgjhKclhOVlBhSoJCcU9ZFgco2Arylcn982OkZiDqHQAjk242kpy+E86 -8tvPf51v3bXR9RZOon2R88KfuAXUESItUtQKzj0tAIEKPMT0+9VJUtZm855phxml -dv9pPq11dLshHuSMbfIEKB/3zixPxnN2v9HI7mminFjvAUlPMbCX8Pc9SgEszVzF -tEoYSmMioG+yAc4I2EW2AgIjUH+Z5a3OiMDjEFMReL5KrujvT4MpyTdf+b/Vk3Nx -2x1Vg/XIWQtaZbjiMmBtwsCfGkaDSbAmi0vU4vTY5ATr45BpRXKb/thpnluFE53T -BQza+Cr0cJvUJo+N2JSpIOhoRyjqSwKDMcVDAv7UIF97KH0UidJhuTR6MZ9Jp4SF -ko5EtIpTrKfZto+UIdt8qaTjvO5oyNt9ZydKdRgRtvyaGrpD4mzWKUhqJlbwX8pW -m+4fbOK/kTFQEHS5J0h36oayiXmEzZ5TU4e9e1eT91Vi96vPVQL9oM374MEeDSEM -zpVdIHo6BbVbh1gzaAhG+bGU+BaUSRjn6rhYfPu6FItRB63P3K4= -=bHdr ------END PGP SIGNATURE----- diff --git a/fix-test-recursion-limit-15.6.patch b/fix-test-recursion-limit-15.6.patch index 0bb1efa..fcfe563 100644 --- a/fix-test-recursion-limit-15.6.patch +++ b/fix-test-recursion-limit-15.6.patch @@ -22,7 +22,7 @@ def test_extended_arg(self): repeat = int(get_c_recursion_limit() * 0.9) longexpr = 'x = x or ' + '-x' * repeat -@@ -688,6 +692,7 @@ class TestSpecifics(unittest.TestCase): +@@ -701,6 +705,7 @@ class TestSpecifics(unittest.TestCase): @support.cpython_only @unittest.skipIf(support.is_wasi, "exhausts limited stack on WASI") diff --git a/python313.changes b/python313.changes index 85a1b39..35221a2 100644 --- a/python313.changes +++ b/python313.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Tue Oct 8 07:08:34 UTC 2024 - Matej Cepl + +- Update to 3.13.0: + Major new features of the 3.13 series, compared to 3.12 + Some of the new major new features and changes in Python 3.13 are: + - New features + - A new and improved interactive interpreter, based on + PyPy's, featuring multi-line editing and color support, as + well as colorized exception tracebacks. + - An experimental free-threaded build mode, which disables + the Global Interpreter Lock, allowing threads to run + more concurrently. The build mode is available as an + experimental feature in the Windows and macOS installers as + well. + - A preliminary, experimental JIT, providing the ground work + for significant performance improvements. + - The locals() builtin function (and its C equivalent) + now has well-defined semantics when mutating the + returned mapping, which allows debuggers to operate more + consistently. + - A modified version of mimalloc is now included, optional + but enabled by default if supported by the platform, and + required for the free-threaded build mode. + - Docstrings now have their leading indentation stripped, + reducing memory use and the size of .pyc files. (Most tools + handling docstrings already strip leading indentation.) + - The dbm module has a new dbm.sqlite3 backend that is used + by default when creating new files. + - WASI is now a Tier 2 supported platform. Emscripten is + no longer an officially supported platform (but Pyodide + continues to support Emscripten). + - Typing + - Support for type defaults in type parameters. + - A new type narrowing annotation, typing.TypeIs. + - A new annotation for read-only items in TypeDicts. + - A new annotation for marking deprecations in the type + system. + - Removals and new deprecations + - PEP 594 (Removing dead batteries from the standard library) + scheduled removals of many deprecated modules: aifc, + audioop, chunk, cgi, cgitb, crypt, imghdr, mailcap, msilib, + nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, + telnetlib, uu, xdrlib, lib2to3. + - Many other removals of deprecated classes, functions and + methods in various standard library modules. + - C API removals and deprecations. (Some removals present + in alpha 1 were reverted in alpha 2, as the removals were + deemed too disruptive at this time.) + - New deprecations, most of which are scheduled for removal + from Python 3.15 or 3.16. + - For more details on the changes to Python 3.13, see What's + new in Python 3.13 in the documentation. + ------------------------------------------------------------------- Tue Oct 1 15:40:31 UTC 2024 - Matej Cepl diff --git a/python313.spec b/python313.spec index b0f212f..2e6391a 100644 --- a/python313.spec +++ b/python313.spec @@ -149,8 +149,8 @@ # _md5.cpython-38m-x86_64-linux-gnu.so %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so Name: %{python_pkg_name}%{psuffix} -Version: 3.13.0~rc3 -%define tarversion 3.13.0rc3 +Version: 3.13.0 +%define tarversion 3.13.0 %define tarname Python-%{tarversion} Release: 0 Summary: Python 3 Interpreter