This is a minor version bump. Release notes of 3.13.6: https://www.python.org/downloads/release/python-3136/ "3.13.6 is the sixth maintenance release of 3.13, containing around 200 bugfixes, build improvements and documentation changes since 3.13.5. Release notes of 3.13.7: https://www.python.org/downloads/release/python-3137/ "3.13.7 is an expedited release to fix a significant issue with the 3.13.6 release: gh-137583: Regression in ssl module between 3.13.5 and 3.13.6: reading from a TLS-encrypted connection blocks" Patches are just refreshed, except patch 0009-3.13-gh-130577-tarfile-now-validates-archives-to-ens.patch which is dropped as it is upstream as of commit cdae923ffe187d6ef916c0f665a31249619193fe. The corresponding _IGNORE_CVES entry is also removed. Passes our basic Python 3 tests: https://gitlab.com/tpetazzoni/buildroot/-/pipelines/1990154299 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [Julien: remove _IGNORE_CVES for removed patch #0009] Signed-off-by: Julien Olivain <ju.o@free.fr>
66 lines
1.8 KiB
Diff
66 lines
1.8 KiB
Diff
From 8f6beca556599479705444af7cc7c49b2b964af8 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
Date: Tue, 6 Feb 2024 22:12:20 +0100
|
|
Subject: [PATCH] Add option to disable the sqlite3 module
|
|
|
|
Upstream: N/A
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
|
[ Andrey Smirnov: ported to Python 3.6 ]
|
|
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
|
|
[ Adam Duskett: ported to Python 3.10.0 ]
|
|
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
|
[ Vincent Fazio: ported to Python 3.13.2 ]
|
|
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
|
|
---
|
|
Makefile.pre.in | 5 ++++-
|
|
configure.ac | 7 +++++++
|
|
2 files changed, 11 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
index 2d067730633..a45a76cce45 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2336,7 +2336,6 @@ LIBSUBDIRS= asyncio \
|
|
pathlib \
|
|
re \
|
|
site-packages \
|
|
- sqlite3 \
|
|
sysconfig \
|
|
tkinter \
|
|
tomllib \
|
|
@@ -2500,6 +2499,10 @@ ifeq (@IDLE@,yes)
|
|
LIBSUBDIRS += idlelib idlelib/Icons
|
|
endif
|
|
|
|
+ifeq (@SQLITE3@,yes)
|
|
+LIBSUBDIRS += sqlite3
|
|
+endif
|
|
+
|
|
TEST_MODULES=@TEST_MODULES@
|
|
|
|
.PHONY: libinstall
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 6635aaa134d..8153b738b2f 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -4755,6 +4755,13 @@ AS_VAR_IF([posix_threads], [stub], [
|
|
AC_DEFINE([HAVE_PTHREAD_STUBS], [1], [Define if platform requires stubbed pthreads support])
|
|
])
|
|
|
|
+AC_SUBST(SQLITE3)
|
|
+AC_ARG_ENABLE(sqlite3,
|
|
+ AS_HELP_STRING([--disable-sqlite3], [disable sqlite3]),
|
|
+ [ SQLITE3="${enableval}" ], [ SQLITE3=yes ])
|
|
+AS_IF([test "$SQLITE3" = "no"],
|
|
+ [PY_STDLIB_MOD_SET_NA([_sqlite3])])
|
|
+
|
|
AC_SUBST(PYDOC)
|
|
|
|
AC_ARG_ENABLE(pydoc,
|
|
--
|
|
2.50.1
|
|
|