]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-129917: Update installers to use SQLite 3.49.1 (#131025) (#131958)
authorErlend E. Aasland <erlend@python.org>
Mon, 31 Mar 2025 21:39:06 +0000 (23:39 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Mar 2025 21:39:06 +0000 (21:39 +0000)
(cherry picked from commit 45a3ab5a81769eadd94da3e26eb9bb2f3ae80fb1)

Co-authored-by: Ned Deily <nad@python.org>
Mac/BuildScript/build-installer.py
Misc/NEWS.d/next/Windows/2025-03-09-21-45-31.gh-issue-131025.hlS5EC.rst [new file with mode: 0644]
Misc/NEWS.d/next/macOS/2025-03-09-21-45-48.gh-issue-131025.VmKQkv.rst [new file with mode: 0644]
Misc/externals.spdx.json
PCbuild/get_externals.bat
PCbuild/python.props
PCbuild/readme.txt

index 90f2b685c84da61084bab748c7ed37dc5838bebc..586868c9675584231dae5be0446a09949dcd3718 100755 (executable)
@@ -359,9 +359,9 @@ def library_recipes():
                   ),
           ),
           dict(
-              name="SQLite 3.45.3",
-              url="https://sqlite.org/2024/sqlite-autoconf-3450300.tar.gz",
-              checksum="b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531",
+              name="SQLite 3.49.1",
+              url="https://sqlite.org/2025/sqlite-autoconf-3490100.tar.gz",
+              checksum="106642d8ccb36c5f7323b64e4152e9b719f7c0215acf5bfeac3d5e7f97b59254",
               extra_cflags=('-Os '
                             '-DSQLITE_ENABLE_FTS5 '
                             '-DSQLITE_ENABLE_FTS4 '
@@ -372,11 +372,10 @@ def library_recipes():
                             ),
               configure_pre=[
                   '--enable-threadsafe',
-                  '--enable-shared=no',
-                  '--enable-static=yes',
                   '--disable-readline',
                   '--disable-dependency-tracking',
-              ]
+              ],
+              install=f"make && ranlib libsqlite3.a && make install DESTDIR={shellQuote(os.path.join(WORKDIR, 'libraries'))}",
           ),
         ])
 
diff --git a/Misc/NEWS.d/next/Windows/2025-03-09-21-45-31.gh-issue-131025.hlS5EC.rst b/Misc/NEWS.d/next/Windows/2025-03-09-21-45-31.gh-issue-131025.hlS5EC.rst
new file mode 100644 (file)
index 0000000..0764232
--- /dev/null
@@ -0,0 +1 @@
+Update Windows installer to ship with SQLite 3.49.1.
diff --git a/Misc/NEWS.d/next/macOS/2025-03-09-21-45-48.gh-issue-131025.VmKQkv.rst b/Misc/NEWS.d/next/macOS/2025-03-09-21-45-48.gh-issue-131025.VmKQkv.rst
new file mode 100644 (file)
index 0000000..c82feb3
--- /dev/null
@@ -0,0 +1 @@
+Update macOS installer to ship with SQLite 3.49.1.
index 7a6bd2c9ec0fe1fc1358a1eac4e5e75a1b8f3ec9..2ad84996cd169e86a45052ba1c53a425761373a7 100644 (file)
       "checksums": [
         {
           "algorithm": "SHA256",
-          "checksumValue": "730e4a3efd6a63828bee499940fb13acc2a32c182502ce8a1d970387895d0504"
+          "checksumValue": "e335aeb44fa36cde60ecbb6a9f8be6f5d449d645ce9b0199ee53a7e6728d19d2"
         }
       ],
-      "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/sqlite-3.45.3.0.tar.gz",
+      "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/sqlite-3.49.1.0.tar.gz",
       "externalRefs": [
         {
           "referenceCategory": "SECURITY",
-          "referenceLocator": "cpe:2.3:a:sqlite:sqlite:3.45.3.0:*:*:*:*:*:*:*",
+          "referenceLocator": "cpe:2.3:a:sqlite:sqlite:3.49.1.0:*:*:*:*:*:*:*",
           "referenceType": "cpe23Type"
         }
       ],
       "licenseConcluded": "NOASSERTION",
       "name": "sqlite",
       "primaryPackagePurpose": "SOURCE",
-      "versionInfo": "3.45.3.0"
+      "versionInfo": "3.49.1.0"
     },
     {
       "SPDXID": "SPDXRef-PACKAGE-tcl-core",
index 5e8e30fdb5dfd1b20696761f386275da44761add..777892387c9e539e4ff0cbde8382b270ae4ca0ed 100644 (file)
@@ -54,7 +54,7 @@ set libraries=
 set libraries=%libraries%                                       bzip2-1.0.8
 if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries%  libffi-3.4.4
 if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries%     openssl-3.0.16
-set libraries=%libraries%                                       sqlite-3.45.3.0
+set libraries=%libraries%                                       sqlite-3.49.1.0
 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.15.0
 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.15.0
 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6
index 385072f3893ac6fbc651d9855f1600154da07d13..cce140fcad77ee7fc8dc4580e856a5311b3524a4 100644 (file)
@@ -68,7 +68,7 @@
   <Import Project="$(ExternalProps)" Condition="$(ExternalProps) != '' and Exists('$(ExternalProps)')" />
 
   <PropertyGroup>
-    <sqlite3Dir Condition="$(sqlite3Dir) == ''">$(ExternalsDir)sqlite-3.45.3.0\</sqlite3Dir>
+    <sqlite3Dir Condition="$(sqlite3Dir) == ''">$(ExternalsDir)sqlite-3.49.1.0\</sqlite3Dir>
     <bz2Dir Condition="$(bz2Dir) == ''">$(ExternalsDir)bzip2-1.0.8\</bz2Dir>
     <lzmaDir Condition="$(lzmaDir) == ''">$(ExternalsDir)xz-5.2.5\</lzmaDir>
     <libffiDir Condition="$(libffiDir) == ''">$(ExternalsDir)libffi-3.4.4\</libffiDir>
index e054a94cf578bfd0e2fd3845bee4c8cf30db2b32..212c1e8eb0b92a20b58b34cc8ec70cdbb1e05936 100644 (file)
@@ -189,7 +189,7 @@ _ssl
     again when building.
 
 _sqlite3
-    Wraps SQLite 3.45.3, which is itself built by sqlite3.vcxproj
+    Wraps SQLite 3.49.1, which is itself built by sqlite3.vcxproj
     Homepage:
         https://www.sqlite.org/
 _tkinter