From ac980491c836d82ee831c96a4d9bcce53bbd67c0 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" <68491+gpshead@users.noreply.github.com> Date: Tue, 5 Aug 2025 13:50:51 -0700 Subject: [PATCH] [3.9] gh-137134: Update SQLite to 3.50.4 for binary releases (GH-137135) * Update SQLite to 3.50.3 for binary releases. * macOS and Windows news entries. what about Android? * update sbom hash * newline fix via regen-sbom * news wording * Update SQLite to 3.50.4 for binary releases. * update 3.50.4.0.tar.gz hash in sbom & regen-sbom to fix whitespace * Postpone to a separate PR the build-installer changes to support additional hash types (cherry picked from commit 532c37695d03f84fc6d12f891d26b901ef402ac4) Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com> Co-authored-by: Erlend E. Aasland Co-authored-by: Claude Co-authored-by: Ned Deily --- Mac/BuildScript/build-installer.py | 6 +++--- .../Windows/2025-07-27-02-16-53.gh-issue-137134.W0WpDF.rst | 1 + .../macOS/2025-07-27-02-17-40.gh-issue-137134.pjgITs.rst | 1 + PCbuild/get_externals.bat | 2 +- PCbuild/python.props | 2 +- PCbuild/readme.txt | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 Misc/NEWS.d/next/Windows/2025-07-27-02-16-53.gh-issue-137134.W0WpDF.rst create mode 100644 Misc/NEWS.d/next/macOS/2025-07-27-02-17-40.gh-issue-137134.pjgITs.rst diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index a752c73bce3baa..e4d43fe7c586d9 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -356,9 +356,9 @@ def library_recipes(): ), ), dict( - name="SQLite 3.37.2", - url="https://sqlite.org/2022/sqlite-autoconf-3370200.tar.gz", - checksum='683cc5312ee74e71079c14d24b7a6d27', + name="SQLite 3.50.4", + url="https://www.sqlite.org/2025/sqlite-autoconf-3500400.tar.gz", + checksum="a3db587a1b92ee5ddac2f66b3edb41b26f9c867275782d46c3a088977d6a5b18", extra_cflags=('-Os ' '-DSQLITE_ENABLE_FTS5 ' '-DSQLITE_ENABLE_FTS4 ' diff --git a/Misc/NEWS.d/next/Windows/2025-07-27-02-16-53.gh-issue-137134.W0WpDF.rst b/Misc/NEWS.d/next/Windows/2025-07-27-02-16-53.gh-issue-137134.W0WpDF.rst new file mode 100644 index 00000000000000..ddccf95b7d039a --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2025-07-27-02-16-53.gh-issue-137134.W0WpDF.rst @@ -0,0 +1 @@ +Update Windows installer to ship with SQLite 3.50.4. diff --git a/Misc/NEWS.d/next/macOS/2025-07-27-02-17-40.gh-issue-137134.pjgITs.rst b/Misc/NEWS.d/next/macOS/2025-07-27-02-17-40.gh-issue-137134.pjgITs.rst new file mode 100644 index 00000000000000..957270f5abae93 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2025-07-27-02-17-40.gh-issue-137134.pjgITs.rst @@ -0,0 +1 @@ +Update macOS installer to ship with SQLite version 3.50.4. diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index d12f6ffd1d699f..82eda68270ff65 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -54,7 +54,7 @@ set libraries= set libraries=%libraries% bzip2-1.0.8 if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.3.0 if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1w -set libraries=%libraries% sqlite-3.37.2.0 +set libraries=%libraries% sqlite-3.50.4.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.12.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.12.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6 diff --git a/PCbuild/python.props b/PCbuild/python.props index b5c9d0e9e05e16..c8ce516515153b 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -62,7 +62,7 @@ - $(ExternalsDir)sqlite-3.37.2.0\ + $(ExternalsDir)sqlite-3.50.4.0\ $(ExternalsDir)bzip2-1.0.8\ $(ExternalsDir)xz-5.2.5\ $(ExternalsDir)libffi-3.3.0\ diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 75fd2494d975a9..a6d60e9c251619 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -183,7 +183,7 @@ _ssl again when building. _sqlite3 - Wraps SQLite 3.37.2, which is itself built by sqlite3.vcxproj + Wraps SQLite 3.50.4, which is itself built by sqlite3.vcxproj Homepage: https://www.sqlite.org/ _tkinter