Skip to content

Commit 66087b3

Browse files
linusgnico
authored andcommitted
Ports: Update python3 to 3.14.0
1 parent 9a5eff6 commit 66087b3

8 files changed

+21
-21
lines changed

Ports/AvailablePorts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
277277
| [`protobuf`](protobuf/) | Protocol Buffers | 24.3 | https://protobuf.dev/ |
278278
| [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.63 | https://github.com/8bitbubsy/pt2-clone |
279279
| [`pv`](pv/) | Pipe Viewer | 1.6.20 | http://www.ivarch.com/programs/pv.shtml |
280-
| [`python3`](python3/) | Python | 3.13.7 | https://www.python.org/ |
280+
| [`python3`](python3/) | Python | 3.14.0 | https://www.python.org/ |
281281
| [`qemu`](qemu/) | QEMU | 8.1.3 | https://qemu.org |
282282
| [`qoi`](qoi/) | Quite OK Image Format for fast, lossless image compression | 351450e | https://github.com/phoboslab/qoi |
283283
| [`qop`](qop/) | The Quite OK Package Format for bare bones file packages | 8dbec2d | https://github.com/phoboslab/qop |

Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ we can enforce UTF-8 as the encoding.
1010
1 file changed, 1 insertion(+), 1 deletion(-)
1111

1212
diff --git a/Include/pyport.h b/Include/pyport.h
13-
index 2ba81a4be42822655aaae94d675eae59a80d150f..d2d7d5486c2c48ab94152c2601e9cae3f2a634da 100644
13+
index 3eac119bf8e8d89d6f38d6ffa32221d51959ace4..f126b1287a9237a8c3fd3771333774ca6be3076d 100644
1414
--- a/Include/pyport.h
1515
+++ b/Include/pyport.h
16-
@@ -499,7 +499,7 @@ extern "C" {
16+
@@ -528,7 +528,7 @@ extern "C" {
1717
# endif
1818
#endif
1919

Ports/python3/patches/0002-Tweak-configure.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Co-Authored-By: Oskar Skog <[email protected]>
1717
1 file changed, 10 insertions(+), 3 deletions(-)
1818

1919
diff --git a/configure b/configure
20-
index 1cd1f690f7b9c11c51cf4f84e64af82638e6b6a6..2c14ae6b377419ae0c782324301dd1b619e056bc 100755
20+
index d31c24dffa2e9d1df83ef5433672ce3be2ae964e..15ffde6223957949079396e86c5134673111828b 100755
2121
--- a/configure
2222
+++ b/configure
23-
@@ -4046,6 +4046,9 @@ then
23+
@@ -4104,6 +4104,9 @@ then
2424
# a lot of different things including 'define_xopen_source'
2525
# in the case statement below.
2626
case "$host" in
@@ -30,15 +30,15 @@ index 1cd1f690f7b9c11c51cf4f84e64af82638e6b6a6..2c14ae6b377419ae0c782324301dd1b6
3030
*-*-linux-android*)
3131
ac_sys_system=Linux-android
3232
;;
33-
@@ -4094,6 +4097,7 @@ then
33+
@@ -4156,6 +4159,7 @@ then
3434
linux*) MACHDEP="linux";;
3535
cygwin*) MACHDEP="cygwin";;
3636
darwin*) MACHDEP="darwin";;
3737
+ serenityos*) MACHDEP="serenityos";;
3838
'') MACHDEP="unknown";;
3939
esac
4040

41-
@@ -4491,6 +4495,9 @@ fi
41+
@@ -4580,6 +4584,9 @@ fi
4242

4343
if test "$cross_compiling" = yes; then
4444
case "$host" in
@@ -48,7 +48,7 @@ index 1cd1f690f7b9c11c51cf4f84e64af82638e6b6a6..2c14ae6b377419ae0c782324301dd1b6
4848
*-*-linux*)
4949
case "$host_cpu" in
5050
arm*)
51-
@@ -7587,7 +7594,7 @@ printf "%s\n" "#define Py_ENABLE_SHARED 1" >>confdefs.h
51+
@@ -7721,7 +7728,7 @@ printf "%s\n" "#define Py_ENABLE_SHARED 1" >>confdefs.h
5252
PY3LIBRARY=libpython3.so
5353
fi
5454
;;
@@ -57,7 +57,7 @@ index 1cd1f690f7b9c11c51cf4f84e64af82638e6b6a6..2c14ae6b377419ae0c782324301dd1b6
5757
LDLIBRARY='libpython$(LDVERSION).so'
5858
BLDLIBRARY='-L. -lpython$(LDVERSION)'
5959
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
60-
@@ -13068,7 +13075,7 @@ then
60+
@@ -13663,7 +13670,7 @@ then
6161
then CCSHARED="-fPIC";
6262
else CCSHARED="+z";
6363
fi;;
@@ -66,7 +66,7 @@ index 1cd1f690f7b9c11c51cf4f84e64af82638e6b6a6..2c14ae6b377419ae0c782324301dd1b6
6666
Emscripten*|WASI*)
6767
if test "x$enable_wasm_dynamic_linking" = xyes
6868
then :
69-
@@ -13106,7 +13113,7 @@ then
69+
@@ -13701,7 +13708,7 @@ then
7070
LINKFORSHARED="-Wl,-E -Wl,+s";;
7171
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
7272
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;

Ports/python3/patches/0003-Include-sys-uio.h-in-socketmodule.c.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ the `socket` module.
1010
1 file changed, 1 insertion(+), 1 deletion(-)
1111

1212
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
13-
index 1c0bc7967321201f9cce07a5311d183cd687ba3c..4ee3f6de665deb11577cae1eb3059d9bd066fc19 100644
13+
index 92c9aa8b510dca34095b01063fbc017546a810ea..895f124877ea87c41e804fe76891b536eecb58be 100644
1414
--- a/Modules/socketmodule.c
1515
+++ b/Modules/socketmodule.c
16-
@@ -176,7 +176,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
16+
@@ -177,7 +177,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
1717
# undef HAVE_GETHOSTBYNAME_R_6_ARG
1818
#endif
1919

Ports/python3/patches/0004-Include-sys-time.h-in-pycore_time.h.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ unknown.
1111
1 file changed, 1 insertion(+), 4 deletions(-)
1212

1313
diff --git a/Include/internal/pycore_time.h b/Include/internal/pycore_time.h
14-
index 205ac5d3781ddd6c6b70ae4f86c8901a1b064737..af78e330be58537dab0483c7a0eba8015f6f829d 100644
14+
index 23312471c6584efee837e0b5c51cf6401391afa5..ac0a58bf5e47510569d9a72b93eb495b965adea9 100644
1515
--- a/Include/internal/pycore_time.h
1616
+++ b/Include/internal/pycore_time.h
17-
@@ -57,10 +57,7 @@ extern "C" {
18-
# error "this header requires Py_BUILD_CORE define"
17+
@@ -58,10 +58,7 @@ extern "C" {
1918
#endif
2019

20+
#include "pycore_runtime_structs.h" // _PyTimeFraction
2121
-
2222
-#ifdef __clang__
2323
-struct timeval;

Ports/python3/patches/0005-Don-t-include-sys-syscall.h-in-mimalloc.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Subject: [PATCH] Don't include `sys/syscall.h` in mimalloc
88
1 file changed, 1 insertion(+), 1 deletion(-)
99

1010
diff --git a/Objects/mimalloc/prim/unix/prim.c b/Objects/mimalloc/prim/unix/prim.c
11-
index 4d3fb65e954407d9cafff16e188d919c5f818397..50080aaeb3f6ea84d52897727b6d2527335b5f34 100644
11+
index 1598ebabf0a4da09b5d4d8b7c179b983e4c777b4..fec40af90e7f42f2e897ec551c466fc0b2b7730f 100644
1212
--- a/Objects/mimalloc/prim/unix/prim.c
1313
+++ b/Objects/mimalloc/prim/unix/prim.c
1414
@@ -51,7 +51,7 @@ terms of the MIT license. A copy of the license can be found in the file

Ports/python3/patches/0006-Force-disable-pyrepl.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ to set PYTHON_BASIC_REPL=1 to work around the issue.
1111
1 file changed, 1 insertion(+), 1 deletion(-)
1212

1313
diff --git a/Lib/_pyrepl/main.py b/Lib/_pyrepl/main.py
14-
index a6f824dcc4ad14043a0fb4b10cd57e6c83c01cdc..fcec734d1216e59e2dd598ac87be58acdde79b54 100644
14+
index 447eb1e551e7743c42efbfffead65f3d47a59252..36329826f5796676a375ba5a0ee2a520aaf998af 100644
1515
--- a/Lib/_pyrepl/main.py
1616
+++ b/Lib/_pyrepl/main.py
17-
@@ -17,7 +17,7 @@ except Exception as e:
17+
@@ -18,7 +18,7 @@ except Exception as e:
1818
CAN_USE_PYREPL = False
1919
FAIL_REASON = f"warning: can't use pyrepl: {e}"
2020
else:

Ports/python3/version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PYTHON_VERSION="3.13.7"
2-
PYTHON_VERSION_WITHOUT_SUFFIX="3.13.7" # PYTHON_VERSION but without the a1/b1/rc1/... suffix
1+
PYTHON_VERSION="3.14.0"
2+
PYTHON_VERSION_WITHOUT_SUFFIX="3.14.0" # PYTHON_VERSION but without the a1/b1/rc1/... suffix
33
PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz"
44
PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION_WITHOUT_SUFFIX}/${PYTHON_ARCHIVE}"
5-
PYTHON_ARCHIVE_SHA256SUM="5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a"
5+
PYTHON_ARCHIVE_SHA256SUM="2299dae542d395ce3883aca00d3c910307cd68e0b2f7336098c8e7b7eee9f3e9"

0 commit comments

Comments
 (0)