Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/serious_python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Fix Android builds failing with "Unable to determine the current character, it is not a string, number, array, or object" in `downloadDistArchive_<abi>` or `downloadDartBridge_<abi>` when the download cache is empty: the download tasks run concurrently and shared one ETag cache file, so a task could read it while another was rewriting it. Each task now keeps its own ETag cache ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Fix the `package` command hiding why a step failed when the error went to stdout, such as the `SyntaxError` from compiling an app file, which made `flet build` fail with no explanation unless run with `-vv` ([#262](https://github.com/flet-dev/serious-python/pull/262), [flet-dev/flet#7029](https://github.com/flet-dev/flet/issues/7029)).
Expand Down
12 changes: 6 additions & 6 deletions src/serious_python/example/flask_example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -361,42 +361,42 @@ packages:
path: "../.."
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_android:
dependency: transitive
description:
path: "../../../serious_python_android"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_darwin:
dependency: transitive
description:
path: "../../../serious_python_darwin"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_linux:
dependency: transitive
description:
path: "../../../serious_python_linux"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_platform_interface:
dependency: transitive
description:
path: "../../../serious_python_platform_interface"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_windows:
dependency: transitive
description:
path: "../../../serious_python_windows"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
shelf:
dependency: transitive
description:
Expand Down
12 changes: 6 additions & 6 deletions src/serious_python/example/run_example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -384,42 +384,42 @@ packages:
path: "../.."
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_android:
dependency: transitive
description:
path: "../../../serious_python_android"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_darwin:
dependency: transitive
description:
path: "../../../serious_python_darwin"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_linux:
dependency: transitive
description:
path: "../../../serious_python_linux"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_platform_interface:
dependency: transitive
description:
path: "../../../serious_python_platform_interface"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
serious_python_windows:
dependency: transitive
description:
path: "../../../serious_python_windows"
relative: true
source: path
version: "6.1.3"
version: "6.1.4"
shelf:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

platforms:
ios:
Expand Down
4 changes: 4 additions & 0 deletions src/serious_python_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Fix Android builds failing with "Unable to determine the current character, it is not a string, number, array, or object" in `downloadDistArchive_<abi>` or `downloadDartBridge_<abi>` when the download cache is empty: the download tasks run concurrently and shared one ETag cache file, so a task could read it while another was rewriting it. Each task now keeps its own ETag cache ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Align with the serious_python **6.1.3** release ([#262](https://github.com/flet-dev/serious-python/pull/262)).
Expand Down
7 changes: 6 additions & 1 deletion src/serious_python_android/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
}

group = "com.flet.serious_python_android"
version = "6.1.3"
version = "6.1.4"

rootProject.allprojects {
repositories {
Expand Down Expand Up @@ -243,6 +243,10 @@ for (abi in abis) {
dest(distFile)
onlyIfModified(true)
useETag("all")
// Each Download task keeps its own ETag cache. They run concurrently
// (Worker API) and the plugin rewrites a shared etags.json without a
// cross-task lock, so a task could parse another's half-written file.
cachedETagsFile(layout.buildDirectory.file("download-task/$name.etags.json"))
tempAndMove(true)
doFirst { distFile.parentFile.mkdirs() }
}
Expand Down Expand Up @@ -406,6 +410,7 @@ for (abi in abis) {
dest(bridgeFile)
onlyIfModified(true)
useETag("all")
cachedETagsFile(layout.buildDirectory.file("download-task/$name.etags.json"))
tempAndMove(true)
doFirst { bridgeFile.parentFile.mkdirs() }
}
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down
4 changes: 4 additions & 0 deletions src/serious_python_darwin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Align with the serious_python **6.1.4** release ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Align with the serious_python **6.1.3** release ([#262](https://github.com/flet-dev/serious-python/pull/262)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'serious_python_darwin'
s.version = '6.1.3'
s.version = '6.1.4'
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.
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_darwin/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

environment:
# The Swift Package Manager build path needs Flutter 3.44 / Dart 3.11 (the
Expand Down
4 changes: 4 additions & 0 deletions src/serious_python_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Align with the serious_python **6.1.4** release ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Align with the serious_python **6.1.3** release ([#262](https://github.com/flet-dev/serious-python/pull/262)).
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_linux/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

environment:
sdk: '>=3.1.3 <4.0.0'
Expand Down
4 changes: 4 additions & 0 deletions src/serious_python_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Align with the serious_python **6.1.4** release ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Align with the serious_python **6.1.3** release ([#262](https://github.com/flet-dev/serious-python/pull/262)).
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down
4 changes: 4 additions & 0 deletions src/serious_python_windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.1.4

* Align with the serious_python **6.1.4** release ([#264](https://github.com/flet-dev/serious-python/pull/264)).

## 6.1.3

* Align with the serious_python **6.1.3** release ([#262](https://github.com/flet-dev/serious-python/pull/262)).
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_windows/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3
version: 6.1.4

environment:
sdk: '>=3.1.3 <4.0.0'
Expand Down
Loading