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
5 changes: 5 additions & 0 deletions src/serious_python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.5

* Bump `archive` to `^4.0.7`.
* Fixed iOS framework identifier generation.

## 0.9.4

* 16 KB memory page support for Android 15+ (by [@ReYaNOW](https://github.com/ReYaNOW)).
Expand Down
4 changes: 2 additions & 2 deletions 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: 0.9.4
version: 0.9.5

platforms:
ios:
Expand Down Expand Up @@ -44,7 +44,7 @@ dependencies:
path: ../serious_python_linux

path_provider: ^2.1.3
archive: ^3.6.1
archive: ^4.0.7
path: ^1.9.0
args: ^2.5.0
toml: ^0.15.0
Expand Down
5 changes: 5 additions & 0 deletions src/serious_python_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.5

* Bump `archive` to `^4.0.7`.
* Fixed iOS framework identifier generation.

## 0.9.4

* 16 KB memory page support for Android 15+ (by [@ReYaNOW](https://github.com/ReYaNOW)).
Expand Down
2 changes: 1 addition & 1 deletion src/serious_python_android/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.flet.serious_python_android'
version '0.9.4'
version '0.9.5'

def python_version = '3.12'

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: 0.9.4
version: 0.9.5

environment:
sdk: ">=3.0.0 <4.0.0"
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 = '0.9.4'
s.version = '0.9.5'
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
6 changes: 5 additions & 1 deletion src/serious_python_darwin/darwin/xcframework_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ create_plist() {
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
Expand Down Expand Up @@ -55,6 +55,10 @@ create_xcframework_from_dylibs() {
dylib_without_ext=$(echo $dylib_relative_path | cut -d "." -f 1)
framework=$(echo $dylib_without_ext | tr "/" ".")
framework_identifier=${framework//_/-}
while [[ $framework_identifier == -* ]]; do
framework_identifier=${framework_identifier#-}
done
framework_identifier=${framework_identifier:-framework}

# creating "iphoneos" framework
fd=iphoneos/$framework.framework
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: 0.9.4
version: 0.9.5

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

* Bump `archive` to `^4.0.7`.
* Fixed iOS framework identifier generation.

## 0.9.4

* 16 KB memory page support for Android 15+ (by [@ReYaNOW](https://github.com/ReYaNOW)).
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: 0.9.4
version: 0.9.5

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

* Bump `archive` to `^4.0.7`.
* Fixed iOS framework identifier generation.

## 0.9.4

* 16 KB memory page support for Android 15+ (by [@ReYaNOW](https://github.com/ReYaNOW)).
Expand Down
4 changes: 2 additions & 2 deletions src/serious_python_platform_interface/lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ Future<String> extractAssetOrFile(String path,
archive = ZipDecoder().decodeBytes(data);
} else {
final inputStream = InputFileStream(path);
archive = ZipDecoder().decodeBuffer(inputStream);
archive = ZipDecoder().decodeStream(inputStream);
}
await extractArchiveToDiskAsync(archive, destDir.path, asyncWrite: true);
await extractArchiveToDisk(archive, destDir.path);
} catch (e) {
debugPrint("Error unpacking archive: $e");
await destDir.delete(recursive: true);
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 @@ -13,7 +13,7 @@ dependencies:
sdk: flutter
plugin_platform_interface: ^2.1.8
path_provider: ^2.1.3
archive: ^3.6.1
archive: ^4.0.7
path: ^1.9.0

dev_dependencies:
Expand Down
5 changes: 5 additions & 0 deletions src/serious_python_windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.5

* Bump `archive` to `^4.0.7`.
* Fixed iOS framework identifier generation.

## 0.9.4

* 16 KB memory page support for Android 15+ (by [@ReYaNOW](https://github.com/ReYaNOW)).
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: 0.9.4
version: 0.9.5

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