Skip to content

Commit 90263d1

Browse files
committed
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.
1 parent da52253 commit 90263d1

16 files changed

Lines changed: 44 additions & 53 deletions

File tree

‎src/serious_python/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.0.1
2+
3+
* 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.
4+
15
## 6.0.0
26

37
* **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)).

‎src/serious_python/example/flask_example/pubspec.lock‎

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,6 @@ packages:
315315
url: "https://pub.dev"
316316
source: hosted
317317
version: "2.3.0"
318-
petitparser:
319-
dependency: transitive
320-
description:
321-
name: petitparser
322-
sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646"
323-
url: "https://pub.dev"
324-
source: hosted
325-
version: "6.1.0"
326318
platform:
327319
dependency: transitive
328320
description:
@@ -369,42 +361,42 @@ packages:
369361
path: "../.."
370362
relative: true
371363
source: path
372-
version: "6.0.0"
364+
version: "6.0.1"
373365
serious_python_android:
374366
dependency: transitive
375367
description:
376368
path: "../../../serious_python_android"
377369
relative: true
378370
source: path
379-
version: "6.0.0"
371+
version: "6.0.1"
380372
serious_python_darwin:
381373
dependency: transitive
382374
description:
383375
path: "../../../serious_python_darwin"
384376
relative: true
385377
source: path
386-
version: "6.0.0"
378+
version: "6.0.1"
387379
serious_python_linux:
388380
dependency: transitive
389381
description:
390382
path: "../../../serious_python_linux"
391383
relative: true
392384
source: path
393-
version: "6.0.0"
385+
version: "6.0.1"
394386
serious_python_platform_interface:
395387
dependency: transitive
396388
description:
397389
path: "../../../serious_python_platform_interface"
398390
relative: true
399391
source: path
400-
version: "6.0.0"
392+
version: "6.0.1"
401393
serious_python_windows:
402394
dependency: transitive
403395
description:
404396
path: "../../../serious_python_windows"
405397
relative: true
406398
source: path
407-
version: "6.0.0"
399+
version: "6.0.1"
408400
shelf:
409401
dependency: transitive
410402
description:
@@ -466,14 +458,6 @@ packages:
466458
url: "https://pub.dev"
467459
source: hosted
468460
version: "0.7.11"
469-
toml:
470-
dependency: transitive
471-
description:
472-
name: toml
473-
sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d"
474-
url: "https://pub.dev"
475-
source: hosted
476-
version: "0.15.0"
477461
typed_data:
478462
dependency: transitive
479463
description:

‎src/serious_python/example/run_example/pubspec.lock‎

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,6 @@ packages:
330330
url: "https://pub.dev"
331331
source: hosted
332332
version: "2.3.0"
333-
petitparser:
334-
dependency: transitive
335-
description:
336-
name: petitparser
337-
sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646"
338-
url: "https://pub.dev"
339-
source: hosted
340-
version: "6.1.0"
341333
platform:
342334
dependency: transitive
343335
description:
@@ -392,42 +384,42 @@ packages:
392384
path: "../.."
393385
relative: true
394386
source: path
395-
version: "6.0.0"
387+
version: "6.0.1"
396388
serious_python_android:
397389
dependency: transitive
398390
description:
399391
path: "../../../serious_python_android"
400392
relative: true
401393
source: path
402-
version: "6.0.0"
394+
version: "6.0.1"
403395
serious_python_darwin:
404396
dependency: transitive
405397
description:
406398
path: "../../../serious_python_darwin"
407399
relative: true
408400
source: path
409-
version: "6.0.0"
401+
version: "6.0.1"
410402
serious_python_linux:
411403
dependency: transitive
412404
description:
413405
path: "../../../serious_python_linux"
414406
relative: true
415407
source: path
416-
version: "6.0.0"
408+
version: "6.0.1"
417409
serious_python_platform_interface:
418410
dependency: transitive
419411
description:
420412
path: "../../../serious_python_platform_interface"
421413
relative: true
422414
source: path
423-
version: "6.0.0"
415+
version: "6.0.1"
424416
serious_python_windows:
425417
dependency: transitive
426418
description:
427419
path: "../../../serious_python_windows"
428420
relative: true
429421
source: path
430-
version: "6.0.0"
422+
version: "6.0.1"
431423
shelf:
432424
dependency: transitive
433425
description:
@@ -497,14 +489,6 @@ packages:
497489
url: "https://pub.dev"
498490
source: hosted
499491
version: "0.7.11"
500-
toml:
501-
dependency: transitive
502-
description:
503-
name: toml
504-
sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d"
505-
url: "https://pub.dev"
506-
source: hosted
507-
version: "0.15.0"
508492
typed_data:
509493
dependency: transitive
510494
description:

‎src/serious_python/pubspec.yaml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python
22
description: A cross-platform plugin for adding embedded Python runtime to your Flutter apps.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 6.0.0
5+
version: 6.0.1
66

77
platforms:
88
ios:
@@ -47,7 +47,6 @@ dependencies:
4747
archive: ^4.0.7
4848
path: ^1.9.0
4949
args: ^2.5.0
50-
toml: ^0.15.0
5150
http: ^1.2.1
5251
shelf: ^1.4.1
5352
crypto: ^3.0.5

‎src/serious_python_android/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.0.1
2+
3+
* Align with the serious_python **6.0.1** release.
4+
15
## 6.0.0
26

37
* 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)).

‎src/serious_python_android/android/build.gradle.kts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121
}
2222

2323
group = "com.flet.serious_python_android"
24-
version = "6.0.0"
24+
version = "6.0.1"
2525

2626
rootProject.allprojects {
2727
repositories {

‎src/serious_python_android/pubspec.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python_android
22
description: Android implementation of the serious_python plugin
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 6.0.0
5+
version: 6.0.1
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"

‎src/serious_python_darwin/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.0.1
2+
3+
* Align with the serious_python **6.0.1** release.
4+
15
## 6.0.0
26

37
* **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)).

‎src/serious_python_darwin/darwin/serious_python_darwin.podspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'serious_python_darwin'
7-
s.version = '6.0.0'
7+
s.version = '6.0.1'
88
s.summary = 'A cross-platform plugin for adding embedded Python runtime to your Flutter apps.'
99
s.description = <<-DESC
1010
A cross-platform plugin for adding embedded Python runtime to your Flutter apps.

‎src/serious_python_darwin/pubspec.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python_darwin
22
description: iOS and macOS implementations of the serious_python plugin
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 6.0.0
5+
version: 6.0.1
66

77
environment:
88
# The Swift Package Manager build path needs Flutter 3.44 / Dart 3.11 (the

0 commit comments

Comments
 (0)