Skip to content

Commit fb35c88

Browse files
committed
Pin python-build download URLs to v3.12.12
Update download URLs to use the python-build v3.12.12 release across platforms. Changes: android/build.gradle, darwin/prepare_ios.sh, darwin/prepare_macos.sh, linux/CMakeLists.txt, and windows/CMakeLists.txt now reference the v3.12.12 artifacts to ensure consistent, explicit downloads instead of relying on the variable-derived release path.
1 parent 2a95061 commit fb35c88

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/serious_python_android/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ android.defaultConfig.ndk.abiFilters.each { abi ->
9696
}
9797

9898
tasks.register("downloadDistArchive_$abi", Download) {
99-
src "https://github.com/flet-dev/python-build/releases/download/v${python_version}/python-android-dart-${python_version}-${abi}.tar.gz"
99+
src "https://github.com/flet-dev/python-build/releases/download/v3.12.12/python-android-dart-${python_version}-${abi}.tar.gz"
100100
dest new File(buildDir, "python-android-${abi}.tar.gz")
101101
}
102102
tasks.register("untarFile_$abi", Copy) {

src/serious_python_darwin/darwin/prepare_ios.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ ! -d "$dist" ]; then
77
mkdir -p $dist
88

99
python_ios_dist_file="python-ios-dart-$python_version.tar.gz"
10-
python_ios_dist_url="https://github.com/flet-dev/python-build/releases/download/v$python_version/$python_ios_dist_file"
10+
python_ios_dist_url="https://github.com/flet-dev/python-build/releases/download/v3.12.12/$python_ios_dist_file"
1111

1212
# download iOS dist
1313
curl -LO $python_ios_dist_url

src/serious_python_darwin/darwin/prepare_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ ! -d "$dist" ]; then
77
mkdir -p $dist
88

99
python_macos_dist_file="python-macos-dart-$python_version.tar.gz"
10-
python_macos_dist_url="https://github.com/flet-dev/python-build/releases/download/v$python_version/$python_macos_dist_file"
10+
python_macos_dist_url="https://github.com/flet-dev/python-build/releases/download/v3.12.12/$python_macos_dist_file"
1111

1212
# download macos dist
1313
curl -LO $python_macos_dist_url

src/serious_python_linux/linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ project(${PROJECT_NAME} LANGUAGES CXX)
1717
set(PLUGIN_NAME "serious_python_linux_plugin")
1818

1919
set(PYTHON_PACKAGE ${CMAKE_BINARY_DIR}/python)
20-
set(PYTHON_URL https://github.com/flet-dev/python-build/releases/download/v${PYTHON_VERSION}/python-linux-dart-${PYTHON_VERSION}-${PYTHON_ARCH}.tar.gz)
20+
set(PYTHON_URL https://github.com/flet-dev/python-build/releases/download/v3.12.12/python-linux-dart-${PYTHON_VERSION}-${PYTHON_ARCH}.tar.gz)
2121
set(PYTHON_FILE ${CMAKE_BINARY_DIR}/python-linux-dart-${PYTHON_VERSION}-${PYTHON_ARCH}.tar.gz)
2222
if (NOT EXISTS ${PYTHON_FILE})
2323
file(DOWNLOAD ${PYTHON_URL} ${PYTHON_FILE})

src/serious_python_windows/windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cmake_policy(VERSION 3.14...3.25)
1717
set(PLUGIN_NAME "serious_python_windows_plugin")
1818

1919
set(PYTHON_PACKAGE ${CMAKE_BINARY_DIR}/python)
20-
set(PYTHON_URL "https://github.com/flet-dev/python-build/releases/download/v3.12/python-windows-for-dart-3.12.zip")
20+
set(PYTHON_URL "https://github.com/flet-dev/python-build/releases/download/v3.12.12/python-windows-for-dart-3.12.zip")
2121
set(PYTHON_FILE ${CMAKE_BINARY_DIR}/python-windows-for-dart.zip)
2222
if (NOT EXISTS ${PYTHON_FILE})
2323
file(DOWNLOAD ${PYTHON_URL} ${PYTHON_FILE})

0 commit comments

Comments
 (0)