From fc619c706a2927d8936433e96f4b5037ae967758 Mon Sep 17 00:00:00 2001 From: OscarL Date: Wed, 23 Jul 2025 04:07:36 -0300 Subject: [PATCH] python3.14: update to version 3.14.0rc1. (#12618) --- ...atchset => python3.14-3.14.0~rc1.patchset} | 68 +++++++++---------- ...b4.recipe => python3.14-3.14.0~rc1.recipe} | 8 +-- 2 files changed, 38 insertions(+), 38 deletions(-) rename dev-lang/python/patches/{python3.14-3.14.0~b4.patchset => python3.14-3.14.0~rc1.patchset} (95%) rename dev-lang/python/{python3.14-3.14.0~b4.recipe => python3.14-3.14.0~rc1.recipe} (98%) diff --git a/dev-lang/python/patches/python3.14-3.14.0~b4.patchset b/dev-lang/python/patches/python3.14-3.14.0~rc1.patchset similarity index 95% rename from dev-lang/python/patches/python3.14-3.14.0~b4.patchset rename to dev-lang/python/patches/python3.14-3.14.0~rc1.patchset index 5b08d5efb..12cec723a 100644 --- a/dev-lang/python/patches/python3.14-3.14.0~b4.patchset +++ b/dev-lang/python/patches/python3.14-3.14.0~rc1.patchset @@ -1,4 +1,4 @@ -From b043870d5cecf4be9e17db08ea4a4cbbe3de9bf9 Mon Sep 17 00:00:00 2001 +From 27f146534f05b6f401b27f8908c9ea78b611e26b Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 01:02:25 -0300 Subject: initial Haiku patch @@ -22,7 +22,7 @@ index 3eac119..1e5df7e 100644 // See PyUnicode_DecodeFSDefaultAndSize(), PyUnicode_EncodeFSDefault(), // Py_DecodeLocale() and Py_EncodeLocale(). diff --git a/Makefile.pre.in b/Makefile.pre.in -index 66b34b7..80d66f8 100644 +index 01e10d1..a4540e7 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -156,7 +156,7 @@ BINDIR= @bindir@ @@ -148,10 +148,10 @@ index 63624d5..3692640 100644 #include #include diff --git a/configure.ac b/configure.ac -index d868f7b..fdfda46 100644 +index d605947..befb551 100644 --- a/configure.ac +++ b/configure.ac -@@ -1584,6 +1584,16 @@ if test $enable_shared = "yes"; then +@@ -1585,6 +1585,16 @@ if test $enable_shared = "yes"; then PY3LIBRARY=libpython3.so fi ;; @@ -168,7 +168,7 @@ index d868f7b..fdfda46 100644 hp*|HP*) case `uname -m` in ia64) -@@ -1701,6 +1711,7 @@ AC_PROG_MKDIR_P +@@ -1702,6 +1712,7 @@ AC_PROG_MKDIR_P AC_SUBST([LN]) if test -z "$LN" ; then case $ac_sys_system in @@ -176,7 +176,7 @@ index d868f7b..fdfda46 100644 CYGWIN*) LN="ln -s";; *) LN=ln;; esac -@@ -3588,7 +3599,7 @@ then +@@ -3591,7 +3602,7 @@ then LINKFORSHARED="-Wl,-E -Wl,+s";; # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";; Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";; @@ -185,7 +185,7 @@ index d868f7b..fdfda46 100644 # -u libsys_s pulls in all symbols in libsys Darwin/*|iOS/*) LINKFORSHARED="$extra_undefs -framework CoreFoundation" -@@ -5971,6 +5982,7 @@ AC_CHECK_FUNC([__fpu_control], +@@ -5974,6 +5985,7 @@ AC_CHECK_FUNC([__fpu_control], AC_SUBST([LIBM]) case $ac_sys_system in Darwin) ;; @@ -197,7 +197,7 @@ index d868f7b..fdfda46 100644 2.48.1 -From 6e3c4a4c1f682746977f6ad42acdf5d84a2e50f1 Mon Sep 17 00:00:00 2001 +From 3064b60fb1e2820ccf135f215c6212bbea583f8b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 16 Apr 2017 10:05:42 +0200 Subject: fix for negative errnos @@ -235,7 +235,7 @@ index b542f86..a996ebf 100644 2.48.1 -From 0b3d9cb0cc7a86e6d793ea11cefdffafc71ec5d4 Mon Sep 17 00:00:00 2001 +From 5221da2e8af1c775798645759feed7e7209c5708 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 8 Oct 2023 20:06:31 -0300 Subject: Implement CTypes's find_library for Haiku @@ -332,7 +332,7 @@ index 9950491..fefae29 100644 2.48.1 -From bf94b6212785ae7d2755196ebb5fcad315328821 Mon Sep 17 00:00:00 2001 +From d58348a02ce4db6d618f71e926915b948227ac9c Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 23 Sep 2019 09:14:58 +0200 Subject: webbrowser: Support for default browsers on Haiku @@ -359,7 +359,7 @@ index f2e2394..b937321 100644 2.48.1 -From caaef8a2071c6a16279ef308213feb7b0ccdabd5 Mon Sep 17 00:00:00 2001 +From 20a5cd79a3a2cbccf59cf037393b7253f604f38a Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 4 Oct 2019 22:02:35 +0200 Subject: since 3.8, don't reinit locks on fork. @@ -382,7 +382,7 @@ index b95c3aa..1652f93 100644 2.48.1 -From c677e3e0995179a23d2caed76e933da785198543 Mon Sep 17 00:00:00 2001 +From db14fe0e576d7469498749ae55e5289b802a1c60 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 15 May 2020 15:20:57 +0200 Subject: handle errors returned by internal_connect() @@ -406,14 +406,14 @@ index 92c9aa8..82cdf0e 100644 2.48.1 -From 3fddeac06e32610621866a24f101bd713dfdf7f7 Mon Sep 17 00:00:00 2001 +From 9305a4231cd82c7f47fdf3ee26213030817e80aa Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 19 Oct 2020 18:03:09 +0200 Subject: ttyname_r can use MAXPATHLEN diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c -index 27352f0..79386c6 100644 +index 904c2f5..beb2ecd 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3421,11 +3421,14 @@ static PyObject * @@ -436,7 +436,7 @@ index 27352f0..79386c6 100644 2.48.1 -From 6d644dc86281b5a810682b2e945064a3e26869e9 Mon Sep 17 00:00:00 2001 +From a34e54ee11ace45860bdb40772b4e9bf3c239837 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 24 Oct 2022 20:04:10 -0300 Subject: Lib/test: require the "largefile" usage flag for I/O heavy tests. @@ -473,7 +473,7 @@ index 41f7b70..e4830de 100644 'test requires %s bytes and a long time to run' % str(size)) else: diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py -index fd4197b..662954d 100644 +index b2a299e..c80ad75 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -1146,7 +1146,7 @@ class LargeMmapTests(unittest.TestCase): @@ -489,7 +489,7 @@ index fd4197b..662954d 100644 2.48.1 -From 7d20ac7d12a62a97877fef4dafd27d6856a43f6b Mon Sep 17 00:00:00 2001 +From 1ca9a1cee5c29fcd0c4b1632bfec73513d325961 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 27 Jul 2024 04:51:52 -0300 Subject: _getuserbase(), getsitepackages(), and INSTALL_SCHEMES for Haiku. @@ -685,7 +685,7 @@ index f93b98d..8744f83 100644 return { 'prefix': 'nt', diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py -index 7af3144..a0a468f 100644 +index 9faabc2..72125dc 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -388,9 +388,10 @@ class TestSysConfig(unittest.TestCase, VirtualEnvironmentMixin): @@ -705,7 +705,7 @@ index 7af3144..a0a468f 100644 2.48.1 -From 75debb609f366c9ba8dac503c85b18225d67c0ae Mon Sep 17 00:00:00 2001 +From 6539df4d92f55e29071578b665532edc5284bae2 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 12 Feb 2024 08:39:38 -0300 Subject: Fix location of REPL's history file. @@ -744,7 +744,7 @@ index c1fe2a4..c304121 100644 2.48.1 -From 8918848a9a6266f76b425dbbf9492abb9cef68ab Mon Sep 17 00:00:00 2001 +From c7d87a53e5da845c5622be404763a392261947c6 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 10 Dec 2023 19:50:22 -0300 Subject: Miscellaneous "Lib/test/" fixes for Haiku. @@ -755,7 +755,7 @@ Content-Transfer-Encoding: 8bit test_fileio.py fix from "initial Haiku patch" by Jérôme Duval. diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py -index 1b55125..0d7e135 100644 +index 1c1cbd0..75ca221 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -6406,6 +6406,9 @@ def pairs(iterable): @@ -784,7 +784,7 @@ index e3d54f6..efb4d03 100644 2.48.1 -From 387962084d036c36af57cb5764464feb669503e1 Mon Sep 17 00:00:00 2001 +From f70b680d4b802c161cdd6f3daebcdd8ddec0fe71 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Mon, 12 Feb 2024 10:50:34 -0300 Subject: Fix build on nightlies, following the addition of kqueue. @@ -850,7 +850,7 @@ index d234d50..6e16247 100644 2.48.1 -From 1235684c05028368b60ffcbf35ff9df27276aa23 Mon Sep 17 00:00:00 2001 +From 196a5711c20c7bfe7441b67033db44ea1f860676 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 13:38:28 -0300 Subject: fix test_utf8_mode. @@ -873,7 +873,7 @@ index f668810..a55a8e4 100644 2.48.1 -From 0ff15eb31477a2592204f00e4d2866eaaeba4d7b Mon Sep 17 00:00:00 2001 +From 1b396770fc3f1d26d1909ff07666012cedbf55b1 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 14:35:04 -0300 Subject: Fix test_site. @@ -963,14 +963,14 @@ index d0e3294..1452e42 100644 2.48.1 -From a833b8530d4d8a03c123ab66d00a0f9cc37428d8 Mon Sep 17 00:00:00 2001 +From e7e1780eb12f49d2eb4c5cb068e770e702a75081 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Fri, 9 Aug 2024 15:37:13 -0300 Subject: Fix test_sysconfig. diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py -index a0a468f..971256a 100644 +index 72125dc..ff2ac59 100644 --- a/Lib/test/test_sysconfig.py +++ b/Lib/test/test_sysconfig.py @@ -223,6 +223,19 @@ class TestSysConfig(unittest.TestCase, VirtualEnvironmentMixin): @@ -1006,7 +1006,7 @@ index a0a468f..971256a 100644 2.48.1 -From bf6a103d91d90b6b23441542da9a7a397d26ad97 Mon Sep 17 00:00:00 2001 +From 691c1842457dbeb2f9253299295e61bdb6c27818 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sun, 29 Sep 2024 03:01:27 -0300 Subject: Partially fix test_compileall by skipping tests that need hardlink @@ -1042,7 +1042,7 @@ index 8384c18..d7e19ec 100644 2.48.1 -From 500155747c036195de7e67b1ac17f25db93dbbaf Mon Sep 17 00:00:00 2001 +From 93e4b6197d4d65728fd3a96054e3d3cd56dbe717 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Thu, 9 May 2024 15:16:26 -0300 Subject: Fix 3.13.0 build. @@ -1055,7 +1055,7 @@ Previous Python versions had both the time out and the "|| true". Some of the test run in that PGO stage sadly still fail on Haiku. diff --git a/Makefile.pre.in b/Makefile.pre.in -index 80d66f8..be2b7af 100644 +index a4540e7..0643cab 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -856,7 +856,7 @@ profile-run-stamp: @@ -1067,7 +1067,7 @@ index 80d66f8..be2b7af 100644 $(LLVM_PROF_MERGER) # Remove profile generation binary since we are done with it. $(MAKE) clean-retain-profile -@@ -2227,7 +2227,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Programs/python.o: $(PYTHON_HEADERS) +@@ -2257,7 +2257,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Programs/python.o: $(PYTHON_HEADERS) TESTOPTS= $(EXTRATESTOPTS) TESTPYTHON= $(RUNSHARED) $(PYTHON_FOR_BUILD) $(TESTPYTHONOPTS) TESTRUNNER= $(TESTPYTHON) -m test @@ -1093,17 +1093,17 @@ index 1598eba..88b94b6 100644 2.48.1 -From a0599fdad1ffcc8f03301aa0158567dc2f49598e Mon Sep 17 00:00:00 2001 +From dd06bcebe59c0684582e264e766cd6f4c433ac92 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Sat, 5 Oct 2024 07:32:17 -0300 Subject: Avoid forcing "-g" on LTO builds, unless Py_DEBUG is defined. diff --git a/configure.ac b/configure.ac -index fdfda46..117e5a1 100644 +index befb551..2673533 100644 --- a/configure.ac +++ b/configure.ac -@@ -2017,7 +2017,9 @@ if test "$Py_LTO" = 'true' ; then +@@ -2018,7 +2018,9 @@ if test "$Py_LTO" = 'true' ; then then # bpo-30345: Add -g to LDFLAGS when compiling with LTO # to get debug symbols. @@ -1118,7 +1118,7 @@ index fdfda46..117e5a1 100644 2.48.1 -From ee517a566ed2d94f6faa074b6d81af3c90258b1f Mon Sep 17 00:00:00 2001 +From 0faaa8021dfe51cfecb9024891ecad8426710f61 Mon Sep 17 00:00:00 2001 From: Oscar Lesta Date: Thu, 13 Feb 2025 13:30:03 -0300 Subject: Make sure we use 'spawn' on Haiku and not 'forkserver'. diff --git a/dev-lang/python/python3.14-3.14.0~b4.recipe b/dev-lang/python/python3.14-3.14.0~rc1.recipe similarity index 98% rename from dev-lang/python/python3.14-3.14.0~b4.recipe rename to dev-lang/python/python3.14-3.14.0~rc1.recipe index 82f70cc76..9a940f2b0 100644 --- a/dev-lang/python/python3.14-3.14.0~b4.recipe +++ b/dev-lang/python/python3.14-3.14.0~rc1.recipe @@ -19,13 +19,13 @@ HOMEPAGE="https://www.python.org" LICENSE="Python" COPYRIGHT="1990-2025 Python Software Foundation" REVISION="1" -SOURCE_URI="https://www.python.org/ftp/python/${portVersion%~b4}/Python-${portVersion/'~'/}.tar.xz" -CHECKSUM_SHA256="15e123e056abebba6de5e73cfa304459a8c82cafa85d4fc7fc6de80e6a3e1b39" +SOURCE_URI="https://www.python.org/ftp/python/${portVersion%~rc1}/Python-${portVersion/'~'/}.tar.xz" +CHECKSUM_SHA256="8707780ae9f19c5bf5b9f27827181ba11cdad7bb292ea49cad5424331e40ee8b" SOURCE_DIR="Python-${portVersion/'~'/}" -pyShortVer="${portVersion%~b4}" +pyShortVer="${portVersion%~rc1}" pyShortVer="${pyShortVer%.*}" -pyVersionCompat="${portVersion%~b4} compat >= $pyShortVer" +pyVersionCompat="${portVersion%~rc1} compat >= $pyShortVer" PATCHES="python$pyShortVer-$portVersion.patchset"