Skip to content

Commit cc17b54

Browse files
Fix: xcframeworks migration script didn't work for sub-directories (#131)
* Version bumped to 0.8.7, changelog updated * Cleanup
1 parent d9ac886 commit cc17b54

File tree

19 files changed

+56
-31
lines changed

19 files changed

+56
-31
lines changed

src/serious_python/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
eb21e6e3680f591dc1c2a20e8ef88b69cffdf67f724e3a938f8aa8a759acb036
1+
e23e3aa0eeaae51a8bdf828f103237a86287b3580b5ced9b7039303c402d5e95
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#numpy
22
lru-dict
33
#pyjnius
4-
flet-libsodium
4+
#flet-libsodium
55
pysodium
6-
#supabase
6+
numpy
7+
Pyrebase4

src/serious_python/example/run_example/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PODS:
55
- path_provider_foundation (0.0.1):
66
- Flutter
77
- FlutterMacOS
8-
- serious_python_darwin (0.8.5):
8+
- serious_python_darwin (0.8.6):
99
- Flutter
1010
- FlutterMacOS
1111

@@ -29,7 +29,7 @@ SPEC CHECKSUMS:
2929
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
3030
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
3131
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
32-
serious_python_darwin: 190aa70fd014e151039f01cc14eefb4408eeb724
32+
serious_python_darwin: c1d43899332e5f14ed1af6651ae991b371d96cf9
3333

3434
PODFILE CHECKSUM: a57f30d18f102dd3ce366b1d62a55ecbef2158e5
3535

src/serious_python/example/run_example/pubspec.lock

+14-14
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,18 @@ packages:
150150
dependency: transitive
151151
description:
152152
name: leak_tracker
153-
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
153+
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
154154
url: "https://pub.dev"
155155
source: hosted
156-
version: "10.0.4"
156+
version: "10.0.5"
157157
leak_tracker_flutter_testing:
158158
dependency: transitive
159159
description:
160160
name: leak_tracker_flutter_testing
161-
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
161+
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
162162
url: "https://pub.dev"
163163
source: hosted
164-
version: "3.0.3"
164+
version: "3.0.5"
165165
leak_tracker_testing:
166166
dependency: transitive
167167
description:
@@ -190,18 +190,18 @@ packages:
190190
dependency: transitive
191191
description:
192192
name: material_color_utilities
193-
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
193+
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
194194
url: "https://pub.dev"
195195
source: hosted
196-
version: "0.8.0"
196+
version: "0.11.1"
197197
meta:
198198
dependency: transitive
199199
description:
200200
name: meta
201-
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
201+
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
202202
url: "https://pub.dev"
203203
source: hosted
204-
version: "1.12.0"
204+
version: "1.15.0"
205205
path:
206206
dependency: "direct main"
207207
description:
@@ -270,10 +270,10 @@ packages:
270270
dependency: transitive
271271
description:
272272
name: platform
273-
sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
273+
sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"
274274
url: "https://pub.dev"
275275
source: hosted
276-
version: "3.1.4"
276+
version: "3.1.5"
277277
plugin_platform_interface:
278278
dependency: transitive
279279
description:
@@ -397,10 +397,10 @@ packages:
397397
dependency: transitive
398398
description:
399399
name: test_api
400-
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
400+
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
401401
url: "https://pub.dev"
402402
source: hosted
403-
version: "0.7.0"
403+
version: "0.7.2"
404404
toml:
405405
dependency: transitive
406406
description:
@@ -429,10 +429,10 @@ packages:
429429
dependency: transitive
430430
description:
431431
name: vm_service
432-
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
432+
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
433433
url: "https://pub.dev"
434434
source: hosted
435-
version: "14.2.1"
435+
version: "14.2.5"
436436
web:
437437
dependency: transitive
438438
description:

src/serious_python/pubspec.yaml

+1-1
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: 0.8.6
5+
version: 0.8.7
66

77
platforms:
88
ios:

src/serious_python_android/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.

src/serious_python_android/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.flet.serious_python_android'
2-
version '0.8.6'
2+
version '0.8.7'
33

44
def python_version = '3.12'
55

src/serious_python_android/pubspec.yaml

+1-1
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: 0.8.6
5+
version: 0.8.7
66

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

src/serious_python_darwin/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.

src/serious_python_darwin/darwin/serious_python_darwin.podspec

+1-1
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 = '0.8.6'
7+
s.version = '0.8.7'
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/darwin/xcframework_utils.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ create_xcframework_from_dylibs() {
6969
fd=iphonesimulator/$framework.framework
7070
mkdir -p $fd
7171
lipo -create \
72-
$(find "$simulator_arm64_dir" -name "$dylib_without_ext.*.$dylib_ext" -o -name "$dylib_without_ext.$dylib_ext" -type f) \
73-
$(find "$simulator_x86_64_dir" -name "$dylib_without_ext.*.$dylib_ext" -o -name "$dylib_without_ext.$dylib_ext" -type f) \
72+
$(find "$simulator_arm64_dir" -path "$simulator_arm64_dir/$dylib_without_ext.*.$dylib_ext" -o -path "$simulator_arm64_dir/$dylib_without_ext.$dylib_ext") \
73+
$(find "$simulator_x86_64_dir" -path "$simulator_x86_64_dir/$dylib_without_ext.*.$dylib_ext" -o -path "$simulator_x86_64_dir/$dylib_without_ext.$dylib_ext") \
7474
-output $fd/$framework
75-
find "$simulator_arm64_dir" -name "$dylib_without_ext.*.$dylib_ext" -o -name "$dylib_without_ext.$dylib_ext" -type f -delete
76-
find "$simulator_x86_64_dir" -name "$dylib_without_ext.*.$dylib_ext" -o -name "$dylib_without_ext.$dylib_ext" -type f -delete
75+
find "$simulator_arm64_dir" -path "$simulator_arm64_dir/$dylib_without_ext.*.$dylib_ext" -o -path "$simulator_arm64_dir/$dylib_without_ext.$dylib_ext" -delete
76+
find "$simulator_x86_64_dir" -path "$simulator_x86_64_dir/$dylib_without_ext.*.$dylib_ext" -o -path "$simulator_x86_64_dir/$dylib_without_ext.$dylib_ext" -delete
7777
install_name_tool -id @rpath/$framework.framework/$framework $fd/$framework
7878
create_plist $framework "org.python.$framework_identifier" $fd/Info.plist
7979
echo "$origin_prefix/$dylib_without_ext.fwork" > $fd/$framework.origin

src/serious_python_darwin/pubspec.yaml

+1-1
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: 0.8.6
5+
version: 0.8.7
66

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

src/serious_python_linux/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.

src/serious_python_linux/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python_linux
22
description: Linux implementations of the serious_python plugin
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 0.8.6
5+
version: 0.8.7
66

77
environment:
88
sdk: '>=3.1.3 <4.0.0'

src/serious_python_platform_interface/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.

src/serious_python_platform_interface/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python_platform_interface
22
description: A common platform interface for the serious_python plugin.
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 0.8.6
5+
version: 0.8.7
66

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

src/serious_python_windows/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.7
2+
3+
* Fixed: `xcframeworks` migration script didn't work for sub-directories.
4+
15
## 0.8.6
26

37
* Added `com.flet.serious_python_android.PythonActivity` holder class with `mActivity` holding a reference to an app MainActivity. Needed for `plyer`.

src/serious_python_windows/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: serious_python_windows
22
description: Windows implementations of the serious_python plugin
33
homepage: https://flet.dev
44
repository: https://github.com/flet-dev/serious-python
5-
version: 0.8.6
5+
version: 0.8.7
66

77
environment:
88
sdk: '>=3.1.3 <4.0.0'

0 commit comments

Comments
 (0)