From 90263d166bfb6f661cc8917cd73b3c2f832f087a Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Sat, 24 Oct 2026 18:15:40 -0700 Subject: [PATCH 1/2] Remove unused toml dependency; prepare 6.0.1 serious_python declared toml ^0.15.0 but never imported it. toml 0.15 pins petitparser ^6, so apps that also depend on packages needing petitparser ^7 - such as file_picker 13 via file_picker_linux -> dbus -> xml - failed version solving. Drop the dependency and bump all packages to 6.0.1. --- src/serious_python/CHANGELOG.md | 4 +++ .../example/flask_example/pubspec.lock | 28 ++++--------------- .../example/run_example/pubspec.lock | 28 ++++--------------- src/serious_python/pubspec.yaml | 3 +- src/serious_python_android/CHANGELOG.md | 4 +++ .../android/build.gradle.kts | 2 +- src/serious_python_android/pubspec.yaml | 2 +- src/serious_python_darwin/CHANGELOG.md | 4 +++ .../darwin/serious_python_darwin.podspec | 2 +- src/serious_python_darwin/pubspec.yaml | 2 +- src/serious_python_linux/CHANGELOG.md | 4 +++ src/serious_python_linux/pubspec.yaml | 2 +- .../CHANGELOG.md | 4 +++ .../pubspec.yaml | 2 +- src/serious_python_windows/CHANGELOG.md | 4 +++ src/serious_python_windows/pubspec.yaml | 2 +- 16 files changed, 44 insertions(+), 53 deletions(-) diff --git a/src/serious_python/CHANGELOG.md b/src/serious_python/CHANGELOG.md index 2a0f0335..cf069cbc 100644 --- a/src/serious_python/CHANGELOG.md +++ b/src/serious_python/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Remove the unused `toml` dependency. It pinned `petitparser` ^6, so apps that also depend on packages needing `petitparser` ^7, such as `file_picker` 13 (via `file_picker_linux` → `dbus` → `xml`), failed version solving. + ## 6.0.0 * **Breaking (iOS/macOS):** the minimum supported OS is now **iOS 15.0** and **macOS 12.0** (was iOS 13.0 / macOS 11.0), the lowest deployment targets Xcode 27 accepts. Apps must set `platform :ios, '15.0'` / `platform :osx, '12.0'` in their Podfiles and the matching `IPHONEOS_DEPLOYMENT_TARGET` / `MACOSX_DEPLOYMENT_TARGET`. See `serious_python_darwin` 6.0.0 ([#254](https://github.com/flet-dev/serious-python/issues/254)). diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index 88a4be20..bf4ed871 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -315,14 +315,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.0" - petitparser: - dependency: transitive - description: - name: petitparser - sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646" - url: "https://pub.dev" - source: hosted - version: "6.1.0" platform: dependency: transitive description: @@ -369,42 +361,42 @@ packages: path: "../.." relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "6.0.0" + version: "6.0.1" shelf: dependency: transitive description: @@ -466,14 +458,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.11" - toml: - dependency: transitive - description: - name: toml - sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" - url: "https://pub.dev" - source: hosted - version: "0.15.0" typed_data: dependency: transitive description: diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 2b486650..e2781704 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -330,14 +330,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.0" - petitparser: - dependency: transitive - description: - name: petitparser - sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646" - url: "https://pub.dev" - source: hosted - version: "6.1.0" platform: dependency: transitive description: @@ -392,42 +384,42 @@ packages: path: "../.." relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "6.0.0" + version: "6.0.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "6.0.0" + version: "6.0.1" shelf: dependency: transitive description: @@ -497,14 +489,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.11" - toml: - dependency: transitive - description: - name: toml - sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" - url: "https://pub.dev" - source: hosted - version: "0.15.0" typed_data: dependency: transitive description: diff --git a/src/serious_python/pubspec.yaml b/src/serious_python/pubspec.yaml index 592105c1..a59d7b96 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.0.0 +version: 6.0.1 platforms: ios: @@ -47,7 +47,6 @@ dependencies: archive: ^4.0.7 path: ^1.9.0 args: ^2.5.0 - toml: ^0.15.0 http: ^1.2.1 shelf: ^1.4.1 crypto: ^3.0.5 diff --git a/src/serious_python_android/CHANGELOG.md b/src/serious_python_android/CHANGELOG.md index d962b9de..3e436b38 100644 --- a/src/serious_python_android/CHANGELOG.md +++ b/src/serious_python_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Align with the serious_python **6.0.1** release. + ## 6.0.0 * Update the python-build snapshot to **20261016**: CPython **3.12.15 / 3.13.16 / 3.14.8** and `dart_bridge` **1.11.0** ([python-build#46](https://github.com/flet-dev/python-build/pull/46)). diff --git a/src/serious_python_android/android/build.gradle.kts b/src/serious_python_android/android/build.gradle.kts index dc9b0b2e..59549f0b 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.0.0" +version = "6.0.1" rootProject.allprojects { repositories { diff --git a/src/serious_python_android/pubspec.yaml b/src/serious_python_android/pubspec.yaml index 41616b42..6be7a592 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.0.0 +version: 6.0.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 526d6a8d..e41c10a1 100644 --- a/src/serious_python_darwin/CHANGELOG.md +++ b/src/serious_python_darwin/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Align with the serious_python **6.0.1** release. + ## 6.0.0 * **Breaking:** raise the minimum deployment target to **iOS 15.0** and **macOS 12.0** (was iOS 13.0 / macOS 11.0) in the podspec and `Package.swift`. The bundled `Python.framework`, the per-module Python frameworks and `dart_bridge` are now also built for iOS 15.0 / macOS 12.0, and the framework `MinimumOSVersion` generated for native modules in site-packages is 15.0 ([#254](https://github.com/flet-dev/serious-python/issues/254), [python-build#46](https://github.com/flet-dev/python-build/pull/46), [dart-bridge#23](https://github.com/flet-dev/dart-bridge/pull/23)). diff --git a/src/serious_python_darwin/darwin/serious_python_darwin.podspec b/src/serious_python_darwin/darwin/serious_python_darwin.podspec index d4770369..d36ec3b0 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.0.0' + s.version = '6.0.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 98b4dea9..bc2a74ae 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.0.0 +version: 6.0.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 0c54897a..ce7292c4 100644 --- a/src/serious_python_linux/CHANGELOG.md +++ b/src/serious_python_linux/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Align with the serious_python **6.0.1** release. + ## 6.0.0 * Update the python-build snapshot to **20261016**: CPython **3.12.15 / 3.13.16 / 3.14.8** and `dart_bridge` **1.11.0** ([python-build#46](https://github.com/flet-dev/python-build/pull/46)). diff --git a/src/serious_python_linux/pubspec.yaml b/src/serious_python_linux/pubspec.yaml index cfc5a764..055c14c0 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.0.0 +version: 6.0.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 0e9c83f5..6830db8c 100644 --- a/src/serious_python_platform_interface/CHANGELOG.md +++ b/src/serious_python_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Align with the serious_python **6.0.1** release. + ## 6.0.0 * Align with the serious_python **6.0.0** release. diff --git a/src/serious_python_platform_interface/pubspec.yaml b/src/serious_python_platform_interface/pubspec.yaml index 101009ca..a00bb966 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.0.0 +version: 6.0.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 0313826e..a0e8efc4 100644 --- a/src/serious_python_windows/CHANGELOG.md +++ b/src/serious_python_windows/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.0.1 + +* Align with the serious_python **6.0.1** release. + ## 6.0.0 * Update the python-build snapshot to **20261016**: CPython **3.12.15 / 3.13.16 / 3.14.8** and `dart_bridge` **1.11.0** ([python-build#46](https://github.com/flet-dev/python-build/pull/46)). diff --git a/src/serious_python_windows/pubspec.yaml b/src/serious_python_windows/pubspec.yaml index 15f03e8d..ebceba7f 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.0.0 +version: 6.0.1 environment: sdk: '>=3.1.3 <4.0.0' From 874d792c62412601fecd0ef07a1df38130fd95c6 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Sat, 24 Oct 2026 18:16:18 -0700 Subject: [PATCH 2/2] Link 6.0.1 PR in changelogs --- src/serious_python/CHANGELOG.md | 2 +- src/serious_python_android/CHANGELOG.md | 2 +- src/serious_python_darwin/CHANGELOG.md | 2 +- src/serious_python_linux/CHANGELOG.md | 2 +- src/serious_python_platform_interface/CHANGELOG.md | 2 +- src/serious_python_windows/CHANGELOG.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/serious_python/CHANGELOG.md b/src/serious_python/CHANGELOG.md index cf069cbc..45fc4b28 100644 --- a/src/serious_python/CHANGELOG.md +++ b/src/serious_python/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Remove the unused `toml` dependency. It pinned `petitparser` ^6, so apps that also depend on packages needing `petitparser` ^7, such as `file_picker` 13 (via `file_picker_linux` → `dbus` → `xml`), failed version solving. +* Remove the unused `toml` dependency. It pinned `petitparser` ^6, so apps that also depend on packages needing `petitparser` ^7, such as `file_picker` 13 (via `file_picker_linux` → `dbus` → `xml`), failed version solving ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0 diff --git a/src/serious_python_android/CHANGELOG.md b/src/serious_python_android/CHANGELOG.md index 3e436b38..c0a1ea74 100644 --- a/src/serious_python_android/CHANGELOG.md +++ b/src/serious_python_android/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Align with the serious_python **6.0.1** release. +* Align with the serious_python **6.0.1** release ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0 diff --git a/src/serious_python_darwin/CHANGELOG.md b/src/serious_python_darwin/CHANGELOG.md index e41c10a1..c77edaba 100644 --- a/src/serious_python_darwin/CHANGELOG.md +++ b/src/serious_python_darwin/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Align with the serious_python **6.0.1** release. +* Align with the serious_python **6.0.1** release ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0 diff --git a/src/serious_python_linux/CHANGELOG.md b/src/serious_python_linux/CHANGELOG.md index ce7292c4..cf215ad0 100644 --- a/src/serious_python_linux/CHANGELOG.md +++ b/src/serious_python_linux/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Align with the serious_python **6.0.1** release. +* Align with the serious_python **6.0.1** release ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0 diff --git a/src/serious_python_platform_interface/CHANGELOG.md b/src/serious_python_platform_interface/CHANGELOG.md index 6830db8c..228f9542 100644 --- a/src/serious_python_platform_interface/CHANGELOG.md +++ b/src/serious_python_platform_interface/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Align with the serious_python **6.0.1** release. +* Align with the serious_python **6.0.1** release ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0 diff --git a/src/serious_python_windows/CHANGELOG.md b/src/serious_python_windows/CHANGELOG.md index a0e8efc4..082139ef 100644 --- a/src/serious_python_windows/CHANGELOG.md +++ b/src/serious_python_windows/CHANGELOG.md @@ -1,6 +1,6 @@ ## 6.0.1 -* Align with the serious_python **6.0.1** release. +* Align with the serious_python **6.0.1** release ([#257](https://github.com/flet-dev/serious-python/pull/257)). ## 6.0.0