diff --git a/src/serious_python/CHANGELOG.md b/src/serious_python/CHANGELOG.md index 230cf3cf..99556fd5 100644 --- a/src/serious_python/CHANGELOG.md +++ b/src/serious_python/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* Release Windows apps no longer ship Python's debug modules (`*_d.pyd`), about 10 MB each ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * **The bundled CPython runtimes move to 3.12.16 / 3.13.18 / 3.14.10** (from 3.12.15 / 3.13.16 / 3.14.8), from python-build **20261027**. These are expedited security releases: they stop trusting the compromised eMudhra intermediate CA keys ([CVE-2026-115557](https://github.com/python/cpython/issues/160040)) and reject links that replace the extraction destination in `tarfile`'s `tar_filter` ([CVE-2026-114583](https://github.com/python/cpython/issues/160097)), among other fixes. Pyodide and `dart_bridge` versions are unchanged ([python-build#48](https://github.com/flet-dev/python-build/pull/48)). diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index 472d3ee0..ee2c371a 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -361,42 +361,42 @@ packages: path: "../.." relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "6.1.0" + version: "6.1.1" shelf: dependency: transitive description: diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 0fc3ea1f..bf721fe5 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -384,42 +384,42 @@ packages: path: "../.." relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "6.1.0" + version: "6.1.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "6.1.0" + version: "6.1.1" shelf: dependency: transitive description: diff --git a/src/serious_python/pubspec.yaml b/src/serious_python/pubspec.yaml index 693e86b7..32ac0699 100644 --- a/src/serious_python/pubspec.yaml +++ b/src/serious_python/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python description: A cross-platform plugin for adding embedded Python runtime to your Flutter apps. homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 platforms: ios: diff --git a/src/serious_python_android/CHANGELOG.md b/src/serious_python_android/CHANGELOG.md index 276fe346..8007f5c8 100644 --- a/src/serious_python_android/CHANGELOG.md +++ b/src/serious_python_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* Align with the serious_python **6.1.1** release ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * Update the python-build snapshot to **20261027**: CPython **3.12.16 / 3.13.18 / 3.14.10** ([python-build#48](https://github.com/flet-dev/python-build/pull/48)). diff --git a/src/serious_python_android/android/build.gradle.kts b/src/serious_python_android/android/build.gradle.kts index fbc7a7bf..b6c3d48e 100644 --- a/src/serious_python_android/android/build.gradle.kts +++ b/src/serious_python_android/android/build.gradle.kts @@ -21,7 +21,7 @@ buildscript { } group = "com.flet.serious_python_android" -version = "6.1.0" +version = "6.1.1" rootProject.allprojects { repositories { diff --git a/src/serious_python_android/pubspec.yaml b/src/serious_python_android/pubspec.yaml index 6ab3fb8c..52bfbbf7 100644 --- a/src/serious_python_android/pubspec.yaml +++ b/src/serious_python_android/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python_android description: Android implementation of the serious_python plugin homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 environment: sdk: ">=3.0.0 <4.0.0" diff --git a/src/serious_python_darwin/CHANGELOG.md b/src/serious_python_darwin/CHANGELOG.md index 2b4d0d2d..3cffc859 100644 --- a/src/serious_python_darwin/CHANGELOG.md +++ b/src/serious_python_darwin/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* Align with the serious_python **6.1.1** release ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * Update the python-build snapshot to **20261027**: CPython **3.12.16 / 3.13.18 / 3.14.10** ([python-build#48](https://github.com/flet-dev/python-build/pull/48)). diff --git a/src/serious_python_darwin/darwin/serious_python_darwin.podspec b/src/serious_python_darwin/darwin/serious_python_darwin.podspec index 641e84c1..732cf5ec 100644 --- a/src/serious_python_darwin/darwin/serious_python_darwin.podspec +++ b/src/serious_python_darwin/darwin/serious_python_darwin.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'serious_python_darwin' - s.version = '6.1.0' + s.version = '6.1.1' s.summary = 'A cross-platform plugin for adding embedded Python runtime to your Flutter apps.' s.description = <<-DESC A cross-platform plugin for adding embedded Python runtime to your Flutter apps. diff --git a/src/serious_python_darwin/pubspec.yaml b/src/serious_python_darwin/pubspec.yaml index 123bb85c..779bd10c 100644 --- a/src/serious_python_darwin/pubspec.yaml +++ b/src/serious_python_darwin/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python_darwin description: iOS and macOS implementations of the serious_python plugin homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 environment: # The Swift Package Manager build path needs Flutter 3.44 / Dart 3.11 (the diff --git a/src/serious_python_linux/CHANGELOG.md b/src/serious_python_linux/CHANGELOG.md index 3b12985f..6427ce9e 100644 --- a/src/serious_python_linux/CHANGELOG.md +++ b/src/serious_python_linux/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* Align with the serious_python **6.1.1** release ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * Update the python-build snapshot to **20261027**: CPython **3.12.16 / 3.13.18 / 3.14.10** ([python-build#48](https://github.com/flet-dev/python-build/pull/48)). diff --git a/src/serious_python_linux/pubspec.yaml b/src/serious_python_linux/pubspec.yaml index cd753ca9..fad83f0e 100644 --- a/src/serious_python_linux/pubspec.yaml +++ b/src/serious_python_linux/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python_linux description: Linux implementations of the serious_python plugin homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 environment: sdk: '>=3.1.3 <4.0.0' diff --git a/src/serious_python_platform_interface/CHANGELOG.md b/src/serious_python_platform_interface/CHANGELOG.md index 1bede578..aea44fd8 100644 --- a/src/serious_python_platform_interface/CHANGELOG.md +++ b/src/serious_python_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* Align with the serious_python **6.1.1** release ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * Align with the serious_python **6.1.0** release. diff --git a/src/serious_python_platform_interface/pubspec.yaml b/src/serious_python_platform_interface/pubspec.yaml index 671b8523..383e555f 100644 --- a/src/serious_python_platform_interface/pubspec.yaml +++ b/src/serious_python_platform_interface/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python_platform_interface description: A common platform interface for the serious_python plugin. homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 environment: sdk: ">=3.0.0 <4.0.0" diff --git a/src/serious_python_windows/CHANGELOG.md b/src/serious_python_windows/CHANGELOG.md index 4153b862..f3ad5b96 100644 --- a/src/serious_python_windows/CHANGELOG.md +++ b/src/serious_python_windows/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.1 + +* **Release Windows apps no longer ship Python's debug modules.** The 3.0.0 rewrite of the `DLLs` copy step lost the removal of `*_d.*` from Release builds, so every app carried each extension module twice (`_ctypes.pyd` and `_ctypes_d.pyd`, …): about 10 MB and two dozen files more than needed, and as many extra signatures when the app is code-signed. Release and Profile builds now drop them again; Debug builds keep them ([#260](https://github.com/flet-dev/serious-python/pull/260)). + ## 6.1.0 * Update the python-build snapshot to **20261027**: CPython **3.12.16 / 3.13.18 / 3.14.10** ([python-build#48](https://github.com/flet-dev/python-build/pull/48)). diff --git a/src/serious_python_windows/pubspec.yaml b/src/serious_python_windows/pubspec.yaml index 9b1a05a6..ceb2221a 100644 --- a/src/serious_python_windows/pubspec.yaml +++ b/src/serious_python_windows/pubspec.yaml @@ -2,7 +2,7 @@ name: serious_python_windows description: Windows implementations of the serious_python plugin homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python -version: 6.1.0 +version: 6.1.1 environment: sdk: '>=3.1.3 <4.0.0' diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index ce925f39..97eb4eeb 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -238,12 +238,20 @@ add_custom_command(TARGET CopyPythonDLLs POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory "${SP_RUNNER_OUT}" COMMAND ${CMAKE_COMMAND} -E copy_directory "${PYTHON_PACKAGE}/Lib" "${SP_RUNNER_OUT}/Lib" COMMAND ${CMAKE_COMMAND} -E copy_directory "${PYTHON_PACKAGE}/DLLs" "${SP_RUNNER_OUT}/DLLs" - # Strip Debug-only PYDs from Release builds (best effort — missing files OK). + # Drop what an embedded app never loads: Tk, icons, catalogs (best effort — + # missing files OK). COMMAND ${CMAKE_COMMAND} -E rm -f -- "${SP_RUNNER_OUT}/DLLs/tcl86t.dll" "${SP_RUNNER_OUT}/DLLs/tk86t.dll" COMMAND ${CMAKE_COMMAND} -DDIR=${SP_RUNNER_OUT}/DLLs -DGLOBS=*.ico\;*.cat -P "${CMAKE_CURRENT_SOURCE_DIR}/rm_globs.cmake" + # Debug-only modules (*_d.pyd, *_d.dll, *_d.pdb) ship in Debug builds only: + # Release and Profile builds load the release ones. (The 3.0.0 move from + # cmd.exe DEL to rm_globs.cmake dropped this, so Release apps carried + # every module twice.) "__none__" matches nothing in Debug builds. + COMMAND ${CMAKE_COMMAND} -DDIR=${SP_RUNNER_OUT}/DLLs + -DGLOBS=$,__none__,*_d.*> + -P "${CMAKE_CURRENT_SOURCE_DIR}/rm_globs.cmake" ) # Mirror the user's external site-packages dir into runner/site-packages if