From ad42bd0c036c21f636116336b1d9b40f96d76ded Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Sun, 19 Oct 2025 07:56:12 -0400 Subject: [PATCH 01/14] Updating deps --- .../example/flask_example/app/app.zip.hash | 2 +- .../example/flask_example/pubspec.lock | 182 +++++++++--------- .../example/flask_example/pubspec.yaml | 4 +- .../windows/flutter/CMakeLists.txt | 7 +- .../example/flet_example/app/app.zip.hash | 2 +- .../example/flet_example/pubspec.lock | 112 ++++++----- .../example/flet_example/pubspec.yaml | 6 +- .../example/run_example/pubspec.lock | 168 ++++++++-------- .../example/run_example/pubspec.yaml | 8 +- src/serious_python/pubspec.yaml | 18 +- src/serious_python_android/pubspec.yaml | 10 +- src/serious_python_darwin/pubspec.yaml | 6 +- src/serious_python_linux/pubspec.yaml | 4 +- .../lib/src/utils.dart | 4 +- .../pubspec.yaml | 10 +- src/serious_python_windows/pubspec.yaml | 4 +- .../windows/CMakeLists.txt | 10 +- 17 files changed, 295 insertions(+), 262 deletions(-) diff --git a/src/serious_python/example/flask_example/app/app.zip.hash b/src/serious_python/example/flask_example/app/app.zip.hash index 7099c3a9..293ce40f 100644 --- a/src/serious_python/example/flask_example/app/app.zip.hash +++ b/src/serious_python/example/flask_example/app/app.zip.hash @@ -1 +1 @@ -9abed4a7d914300e2cf342c04e7dfcf58a5dbda44fc93a99a86b0e8831207840 \ No newline at end of file +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index 2986e328..2883064f 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -5,66 +5,66 @@ packages: dependency: transitive description: name: archive - sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd" url: "https://pub.dev" source: hosted - version: "3.6.1" + version: "4.0.7" args: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.7.0" async: dependency: transitive description: name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.13.0" boolean_selector: dependency: transitive description: name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" characters: dependency: transitive description: name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.0" clock: dependency: transitive description: name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" collection: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.1" crypto: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -77,18 +77,18 @@ packages: dependency: transitive description: name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.3" ffi: dependency: transitive description: name: ffi - sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" + sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" file: dependency: transitive description: @@ -106,10 +106,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "6.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -127,106 +127,106 @@ packages: dependency: "direct main" description: name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.5.0" http_parser: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "11.0.2" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.10" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" lints: dependency: transitive description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "6.0.0" matcher: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.16.0" path: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" path_provider: dependency: transitive description: name: path_provider - sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" + sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db" url: "https://pub.dev" source: hosted - version: "2.2.10" + version: "2.2.18" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.2" path_provider_linux: dependency: transitive description: @@ -255,18 +255,18 @@ packages: dependency: transitive description: name: petitparser - sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 + sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646" url: "https://pub.dev" source: hosted - version: "6.0.2" + version: "6.1.0" platform: dependency: transitive description: name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted - version: "3.1.5" + version: "3.1.6" plugin_platform_interface: dependency: transitive description: @@ -275,157 +275,165 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + posix: + dependency: transitive + description: + name: posix + sha256: "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61" + url: "https://pub.dev" + source: hosted + version: "6.0.3" serious_python: dependency: "direct main" description: path: "../.." relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.0" + version: "0.9.2" shelf: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.10.1" stack_trace: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" string_scanner: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.4.1" term_glyph: dependency: transitive description: name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" test_api: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.7.6" toml: dependency: transitive description: name: toml - sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" + sha256: d968d149c8bd06dc14e09ea3a140f90a3f2ba71949e7a91df4a46f3107400e71 url: "https://pub.dev" source: hosted - version: "0.15.0" + version: "0.16.0" typed_data: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" vector_math: dependency: transitive description: name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.2.0" vm_service: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "15.0.2" web: dependency: transitive description: name: web - sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" sdks: - dart: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.8.0 <4.0.0" + flutter: ">=3.29.0" diff --git a/src/serious_python/example/flask_example/pubspec.yaml b/src/serious_python/example/flask_example/pubspec.yaml index f82685f5..905a6750 100644 --- a/src/serious_python/example/flask_example/pubspec.yaml +++ b/src/serious_python/example/flask_example/pubspec.yaml @@ -38,7 +38,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.2 + cupertino_icons: ^1.0.8 http: ^1.1.2 dev_dependencies: @@ -50,7 +50,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/src/serious_python/example/flask_example/windows/flutter/CMakeLists.txt b/src/serious_python/example/flask_example/windows/flutter/CMakeLists.txt index 930d2071..903f4899 100644 --- a/src/serious_python/example/flask_example/windows/flutter/CMakeLists.txt +++ b/src/serious_python/example/flask_example/windows/flutter/CMakeLists.txt @@ -10,6 +10,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake) # https://github.com/flutter/flutter/issues/57146. set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") +# Set fallback configurations for older versions of the flutter tool. +if (NOT DEFINED FLUTTER_TARGET_PLATFORM) + set(FLUTTER_TARGET_PLATFORM "windows-x64") +endif() + # === Flutter Library === set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") @@ -92,7 +97,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E env ${FLUTTER_TOOL_ENVIRONMENT} "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - windows-x64 $ + ${FLUTTER_TARGET_PLATFORM} $ VERBATIM ) add_custom_target(flutter_assemble DEPENDS diff --git a/src/serious_python/example/flet_example/app/app.zip.hash b/src/serious_python/example/flet_example/app/app.zip.hash index a846e48f..293ce40f 100644 --- a/src/serious_python/example/flet_example/app/app.zip.hash +++ b/src/serious_python/example/flet_example/app/app.zip.hash @@ -1 +1 @@ -43f8a7b00e44a09647dda36299259976950ba7259c5060de20677c449690fc73 \ No newline at end of file +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/src/serious_python/example/flet_example/pubspec.lock b/src/serious_python/example/flet_example/pubspec.lock index c3f79d69..81287015 100644 --- a/src/serious_python/example/flet_example/pubspec.lock +++ b/src/serious_python/example/flet_example/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: archive - sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd" url: "https://pub.dev" source: hosted - version: "3.6.1" + version: "4.0.7" args: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.7.0" async: dependency: transitive description: @@ -37,26 +37,26 @@ packages: dependency: transitive description: name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.0" clock: dependency: transitive description: name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" collection: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.1" cross_file: dependency: transitive description: @@ -69,10 +69,10 @@ packages: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -109,10 +109,10 @@ packages: dependency: transitive description: name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.3" ffi: dependency: transitive description: @@ -251,10 +251,10 @@ packages: dependency: transitive description: name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.5.0" http_parser: dependency: transitive description: @@ -272,10 +272,10 @@ packages: dependency: transitive description: name: intl - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" url: "https://pub.dev" source: hosted - version: "0.19.0" + version: "0.20.2" js: dependency: transitive description: @@ -296,26 +296,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "11.0.2" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.10" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" lints: dependency: transitive description: @@ -344,26 +344,26 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.16.0" package_info_plus: dependency: "direct main" description: @@ -384,10 +384,10 @@ packages: dependency: "direct main" description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" path_parsing: dependency: transitive description: @@ -400,10 +400,10 @@ packages: dependency: "direct main" description: name: path_provider - sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" path_provider_android: dependency: transitive description: @@ -468,6 +468,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + posix: + dependency: transitive + description: + name: posix + sha256: "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61" + url: "https://pub.dev" + source: hosted + version: "6.0.3" process: dependency: transitive description: @@ -546,42 +554,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.0" + version: "0.9.2" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.0" + version: "0.9.2" shared_preferences: dependency: transitive description: @@ -650,7 +658,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: @@ -663,18 +671,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" string_scanner: dependency: transitive description: @@ -703,18 +711,18 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.7.6" toml: dependency: transitive description: name: toml - sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" + sha256: d968d149c8bd06dc14e09ea3a140f90a3f2ba71949e7a91df4a46f3107400e71 url: "https://pub.dev" source: hosted - version: "0.15.0" + version: "0.16.0" typed_data: dependency: transitive description: @@ -823,10 +831,10 @@ packages: dependency: transitive description: name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.2.0" vm_service: dependency: transitive description: @@ -908,5 +916,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.8.0-0 <4.0.0" flutter: ">=3.22.0" diff --git a/src/serious_python/example/flet_example/pubspec.yaml b/src/serious_python/example/flet_example/pubspec.yaml index f8e5e4ee..8cc02e1f 100644 --- a/src/serious_python/example/flet_example/pubspec.yaml +++ b/src/serious_python/example/flet_example/pubspec.yaml @@ -37,14 +37,14 @@ dependencies: flet: ^0.26.0 - path: ^1.8.3 + path: ^1.9.1 url_strategy: ^0.2.0 - path_provider: ^2.1.4 + path_provider: ^2.1.5 package_info_plus: ^8.0.2 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.2 + cupertino_icons: ^1.0.8 dev_dependencies: flutter_test: diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 94e4ede3..a8b02d07 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -5,66 +5,66 @@ packages: dependency: transitive description: name: archive - sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd" url: "https://pub.dev" source: hosted - version: "3.6.1" + version: "4.0.7" args: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.7.0" async: dependency: transitive description: name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" url: "https://pub.dev" source: hosted - version: "2.11.0" + version: "2.13.0" boolean_selector: dependency: transitive description: name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" characters: dependency: transitive description: name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.0" clock: dependency: transitive description: name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" collection: dependency: transitive description: name: collection - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" url: "https://pub.dev" source: hosted - version: "1.19.0" + version: "1.19.1" crypto: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -77,26 +77,26 @@ packages: dependency: transitive description: name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.3" ffi: dependency: transitive description: name: ffi - sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" + sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" file: dependency: transitive description: name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 url: "https://pub.dev" source: hosted - version: "7.0.0" + version: "7.0.1" flutter: dependency: "direct main" description: flutter @@ -137,18 +137,18 @@ packages: dependency: transitive description: name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.5.0" http_parser: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" integration_test: dependency: "direct dev" description: flutter @@ -158,26 +158,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" url: "https://pub.dev" source: hosted - version: "10.0.7" + version: "11.0.2" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.0.10" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" lints: dependency: transitive description: @@ -190,10 +190,10 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.17" material_color_utilities: dependency: transitive description: @@ -206,42 +206,42 @@ packages: dependency: transitive description: name: meta - sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c url: "https://pub.dev" source: hosted - version: "1.15.0" + version: "1.16.0" path: dependency: "direct main" description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" path_provider: dependency: "direct main" description: name: path_provider - sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" + sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db" url: "https://pub.dev" source: hosted - version: "2.2.10" + version: "2.2.18" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.2" path_provider_linux: dependency: transitive description: @@ -270,18 +270,18 @@ packages: dependency: transitive description: name: petitparser - sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 + sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646" url: "https://pub.dev" source: hosted - version: "6.0.2" + version: "6.1.0" platform: dependency: transitive description: name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted - version: "3.1.5" + version: "3.1.6" plugin_platform_interface: dependency: transitive description: @@ -290,14 +290,22 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + posix: + dependency: transitive + description: + name: posix + sha256: "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61" + url: "https://pub.dev" + source: hosted + version: "6.0.3" process: dependency: transitive description: name: process - sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" + sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744 url: "https://pub.dev" source: hosted - version: "5.0.2" + version: "5.0.5" serious_python: dependency: "direct main" description: @@ -344,10 +352,10 @@ packages: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" sky_engine: dependency: transitive description: flutter @@ -357,34 +365,34 @@ packages: dependency: transitive description: name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.10.1" stack_trace: dependency: transitive description: name: stack_trace - sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.12.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" string_scanner: dependency: transitive description: name: string_scanner - sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.1" sync_http: dependency: transitive description: @@ -397,74 +405,74 @@ packages: dependency: transitive description: name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" test_api: dependency: transitive description: name: test_api - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" + sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" url: "https://pub.dev" source: hosted - version: "0.7.3" + version: "0.7.6" toml: dependency: transitive description: name: toml - sha256: "9968de24e45b632bf1a654fe1ac7b6fe5261c349243df83fd262397799c45a2d" + sha256: d968d149c8bd06dc14e09ea3a140f90a3f2ba71949e7a91df4a46f3107400e71 url: "https://pub.dev" source: hosted - version: "0.15.0" + version: "0.16.0" typed_data: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" vector_math: dependency: transitive description: name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.2.0" vm_service: dependency: transitive description: name: vm_service - sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b + sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" url: "https://pub.dev" source: hosted - version: "14.3.0" + version: "15.0.2" web: dependency: transitive description: name: web - sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" webdriver: dependency: transitive description: name: webdriver - sha256: "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8" + sha256: "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade" url: "https://pub.dev" source: hosted - version: "3.0.4" + version: "3.1.0" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" sdks: - dart: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.8.0-0 <4.0.0" + flutter: ">=3.29.0" diff --git a/src/serious_python/example/run_example/pubspec.yaml b/src/serious_python/example/run_example/pubspec.yaml index 6e186c10..edfc2819 100644 --- a/src/serious_python/example/run_example/pubspec.yaml +++ b/src/serious_python/example/run_example/pubspec.yaml @@ -34,12 +34,12 @@ dependencies: serious_python: path: ../../ - path_provider: ^2.0.15 - path: ^1.8.3 + path_provider: ^2.1.5 + path: ^1.9.1 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.2 + cupertino_icons: ^1.0.8 dev_dependencies: flutter_test: @@ -50,7 +50,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 integration_test: sdk: flutter diff --git a/src/serious_python/pubspec.yaml b/src/serious_python/pubspec.yaml index ce367121..ba015384 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: 0.9.2 +version: 0.9.2+1 platforms: ios: @@ -43,18 +43,18 @@ dependencies: serious_python_linux: path: ../serious_python_linux - path_provider: ^2.1.3 - archive: ^3.6.1 - path: ^1.9.0 - args: ^2.5.0 - toml: ^0.15.0 - http: ^1.2.1 + path_provider: ^2.1.5 + archive: ^4.0.7 + path: ^1.9.1 + args: ^2.7.0 + toml: ^0.16.0 + http: ^1.5.0 shelf: ^1.4.1 - crypto: ^3.0.5 + crypto: ^3.0.6 glob: ^2.1.3 dev_dependencies: flutter_test: sdk: flutter plugin_platform_interface: ^2.1.6 - flutter_lints: ^2.0.0 \ No newline at end of file + flutter_lints: ^6.0.0 \ No newline at end of file diff --git a/src/serious_python_android/pubspec.yaml b/src/serious_python_android/pubspec.yaml index 9aa63a37..726b4dd3 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: 0.9.2 +version: 0.9.2+1 environment: sdk: ">=3.0.0 <4.0.0" @@ -14,14 +14,14 @@ dependencies: plugin_platform_interface: ^2.1.8 serious_python_platform_interface: path: ../serious_python_platform_interface - path: ^1.9.0 - ffi: ^2.1.2 + path: ^1.9.1 + ffi: ^2.1.3 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 - ffigen: ^9.0.0 + flutter_lints: ^6.0.0 + ffigen: ^19.1.0 flutter: plugin: diff --git a/src/serious_python_darwin/pubspec.yaml b/src/serious_python_darwin/pubspec.yaml index 659499c5..16717374 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: 0.9.2 +version: 0.9.2+1 environment: sdk: ">=3.0.0 <4.0.0" @@ -14,12 +14,12 @@ dependencies: plugin_platform_interface: ^2.1.8 serious_python_platform_interface: path: ../serious_python_platform_interface - path: ^1.9.0 + path: ^1.9.1 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 flutter: plugin: diff --git a/src/serious_python_linux/pubspec.yaml b/src/serious_python_linux/pubspec.yaml index 651300f8..97e10cd8 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: 0.9.2 +version: 0.9.2+1 environment: sdk: '>=3.1.3 <4.0.0' @@ -18,7 +18,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 flutter: plugin: diff --git a/src/serious_python_platform_interface/lib/src/utils.dart b/src/serious_python_platform_interface/lib/src/utils.dart index e364c4e3..a45e7f34 100644 --- a/src/serious_python_platform_interface/lib/src/utils.dart +++ b/src/serious_python_platform_interface/lib/src/utils.dart @@ -60,9 +60,9 @@ Future 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); diff --git a/src/serious_python_platform_interface/pubspec.yaml b/src/serious_python_platform_interface/pubspec.yaml index 1823cc09..c23dd326 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: 0.9.2 +version: 0.9.2+1 environment: sdk: ">=3.0.0 <4.0.0" @@ -12,11 +12,11 @@ dependencies: flutter: sdk: flutter plugin_platform_interface: ^2.1.8 - path_provider: ^2.1.3 - archive: ^3.6.1 - path: ^1.9.0 + path_provider: ^2.1.5 + archive: ^4.0.7 + path: ^1.9.1 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 diff --git a/src/serious_python_windows/pubspec.yaml b/src/serious_python_windows/pubspec.yaml index 439a50e0..7a91d271 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: 0.9.2 +version: 0.9.2+1 environment: sdk: '>=3.1.3 <4.0.0' @@ -18,7 +18,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 flutter: plugin: diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index d13a5c11..ba8659b6 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -30,6 +30,10 @@ list(APPEND PLUGIN_SOURCES "serious_python_windows_plugin.h" ) +if(MSVC) + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") +endif() + # Define the plugin library target. Its name must not be changed (see comment # on PLUGIN_NAME above). add_library(${PLUGIN_NAME} SHARED @@ -71,9 +75,9 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE set(serious_python_windows_bundled_libraries "${PYTHON_PACKAGE}/python312$<$:_d>.dll" "${PYTHON_PACKAGE}/python3$<$:_d>.dll" - "$ENV{WINDIR}/system32/msvcp140.dll" - "$ENV{WINDIR}/system32/vcruntime140.dll" - "$ENV{WINDIR}/system32/vcruntime140_1.dll" +# "$ENV{WINDIR}/system32/msvcp140.dll" +# "$ENV{WINDIR}/system32/vcruntime140.dll" +# "$ENV{WINDIR}/system32/vcruntime140_1.dll" PARENT_SCOPE ) From 895b3826068e94719c5a657f9c8d78907dc4c407 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Sun, 19 Oct 2025 08:13:40 -0400 Subject: [PATCH 02/14] Updated deps --- .../example/flask_example/pubspec.lock | 24 +-- .../example/flet_example/pubspec.lock | 172 +++++++++--------- .../example/run_example/pubspec.lock | 32 ++-- 3 files changed, 114 insertions(+), 114 deletions(-) diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index 2883064f..450738d9 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -215,18 +215,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db" + sha256: e122c5ea805bb6773bb12ce667611265980940145be920cd09a4b0ec0285cb16 url: "https://pub.dev" source: hosted - version: "2.2.18" + version: "2.2.20" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" + sha256: efaec349ddfc181528345c56f8eda9d6cccd71c177511b132c6a0ddaefaa2738 url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" path_provider_linux: dependency: transitive description: @@ -289,42 +289,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" shelf: dependency: transitive description: @@ -435,5 +435,5 @@ packages: source: hosted version: "1.1.0" sdks: - dart: ">=3.8.0 <4.0.0" - flutter: ">=3.29.0" + dart: ">=3.9.0 <4.0.0" + flutter: ">=3.35.0" diff --git a/src/serious_python/example/flet_example/pubspec.lock b/src/serious_python/example/flet_example/pubspec.lock index a9b25b04..2500a16d 100644 --- a/src/serious_python/example/flet_example/pubspec.lock +++ b/src/serious_python/example/flet_example/pubspec.lock @@ -93,26 +93,26 @@ packages: dependency: transitive description: name: device_info_plus - sha256: "72d146c6d7098689ff5c5f66bcf593ac11efc530095385356e131070333e64da" + sha256: "98f28b42168cc509abc92f88518882fd58061ea372d7999aecc424345c7bff6a" url: "https://pub.dev" source: hosted - version: "11.3.0" + version: "11.5.0" device_info_plus_platform_interface: dependency: transitive description: name: device_info_plus_platform_interface - sha256: "0b04e02b30791224b31969eb1b50d723498f402971bff3630bca2ba839bd1ed2" + sha256: e1ea89119e34903dca74b883d0dd78eb762814f97fb6c76f35e9ff74d261a18f url: "https://pub.dev" source: hosted - version: "7.0.2" + version: "7.0.3" equatable: dependency: transitive description: name: equatable - sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.0.7" fake_async: dependency: transitive description: @@ -125,10 +125,10 @@ packages: dependency: transitive description: name: ffi - sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" + sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" file: dependency: transitive description: @@ -141,10 +141,10 @@ packages: dependency: transitive description: name: file_picker - sha256: e7e16c9d15c36330b94ca0e2ad8cb61f93cd5282d0158c09805aed13b5452f22 + sha256: f2d9f173c2c14635cc0e9b14c143c49ef30b4934e8d1d274d6206fcb0086a06f url: "https://pub.dev" source: hosted - version: "10.3.2" + version: "10.3.3" fl_chart: dependency: transitive description: @@ -196,18 +196,18 @@ packages: dependency: transitive description: name: flutter_markdown - sha256: f0e599ba89c9946c8e051780f0ec99aba4ba15895e0380a7ab68f420046fc44e + sha256: "08fb8315236099ff8e90cb87bb2b935e0a724a3af1623000a9cec930468e0f27" url: "https://pub.dev" source: hosted - version: "0.7.4+1" + version: "0.7.7+1" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" + sha256: "306f0596590e077338312f38837f595c04f28d6cdeeac392d3d74df2f0003687" url: "https://pub.dev" source: hosted - version: "2.0.22" + version: "2.0.32" flutter_redux: dependency: transitive description: @@ -220,10 +220,10 @@ packages: dependency: transitive description: name: flutter_svg - sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b + sha256: b9c2ad5872518a27507ab432d1fb97e8813b05f0fc693f9d40fad06d073e0678 url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.2.1" flutter_test: dependency: "direct dev" description: flutter @@ -267,10 +267,10 @@ packages: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" integration_test: dependency: "direct dev" description: flutter @@ -336,18 +336,18 @@ packages: dependency: transitive description: name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" markdown: dependency: transitive description: name: markdown - sha256: ef2a1298144e3f985cc736b22e0ccdaf188b5b3970648f2d9dc13efd1d9df051 + sha256: "935e23e1ff3bc02d390bad4d4be001208ee92cc217cb5b5a6c19bc14aaa318c1" url: "https://pub.dev" source: hosted - version: "7.2.2" + version: "7.3.0" matcher: dependency: transitive description: @@ -376,18 +376,18 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918 + sha256: "16eee997588c60225bda0488b6dcfac69280a6b7a3cf02c741895dd370a02968" url: "https://pub.dev" source: hosted - version: "8.0.2" + version: "8.3.1" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 + sha256: "202a487f08836a592a6bd4f901ac69b3a8f146af552bbd14407b6b41e1c3f086" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.2.1" path: dependency: "direct main" description: @@ -400,10 +400,10 @@ packages: dependency: transitive description: name: path_parsing - sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" path_provider: dependency: "direct main" description: @@ -416,18 +416,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" + sha256: e122c5ea805bb6773bb12ce667611265980940145be920cd09a4b0ec0285cb16 url: "https://pub.dev" source: hosted - version: "2.2.10" + version: "2.2.20" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: efaec349ddfc181528345c56f8eda9d6cccd71c177511b132c6a0ddaefaa2738 url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.3" path_provider_linux: dependency: transitive description: @@ -456,10 +456,10 @@ packages: dependency: transitive description: name: petitparser - sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 + sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646" url: "https://pub.dev" source: hosted - version: "6.0.2" + version: "6.1.0" platform: dependency: transitive description: @@ -488,10 +488,10 @@ packages: dependency: transitive description: name: process - sha256: "107d8be718f120bbba9dcd1e95e3bd325b1b4a4f07db64154635ba03f2567a0d" + sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744 url: "https://pub.dev" source: hosted - version: "5.0.3" + version: "5.0.5" redux: dependency: transitive description: @@ -562,66 +562,66 @@ packages: path: "../.." relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.2" + version: "0.9.3+1" shared_preferences: dependency: transitive description: name: shared_preferences - sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051" + sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.5.3" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e" + sha256: "34266009473bf71d748912da4bf62d439185226c03e01e2d9687bc65bbfcb713" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.15" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: c4b35f6cb8f63c147312c054ce7c2254c8066745125264f0c88739c417fc9d9f + sha256: "1c33a907142607c40a7542768ec9badfd16293bac51da3a4482623d15845f88b" url: "https://pub.dev" source: hosted - version: "2.5.2" + version: "2.5.5" shared_preferences_linux: dependency: transitive description: @@ -642,10 +642,10 @@ packages: dependency: transitive description: name: shared_preferences_web - sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e + sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" shared_preferences_windows: dependency: transitive description: @@ -658,10 +658,10 @@ packages: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" sky_engine: dependency: transitive description: flutter @@ -735,50 +735,50 @@ packages: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" url_launcher: dependency: transitive description: name: url_launcher - sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" + sha256: f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8 url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.2" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79 + sha256: "5c8b6c2d89a78f5a1cca70a73d9d5f86c701b36b42f9c9dac7bad592113c28e9" url: "https://pub.dev" source: hosted - version: "6.3.9" + version: "6.3.24" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e + sha256: "6b63f1441e4f653ae799166a72b50b1767321ecc263a57aadf825a7a2a5477d9" url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.5" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.2.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "769549c999acdb42b8bcfa7c43d72bf79a382ca7441ab18a808e101149daf672" + sha256: "8262208506252a3ed4ff5c0dc1e973d2c0e0ef337d0a074d35634da5d44397c9" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.2.4" url_launcher_platform_interface: dependency: transitive description: @@ -791,18 +791,18 @@ packages: dependency: transitive description: name: url_launcher_web - sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" + sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2" url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.4.1" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185" + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.4" url_strategy: dependency: "direct main" description: @@ -815,26 +815,26 @@ packages: dependency: transitive description: name: vector_graphics - sha256: "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de" + sha256: a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6 url: "https://pub.dev" source: hosted - version: "1.1.18" + version: "1.1.19" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da + sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.13" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" + sha256: d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc url: "https://pub.dev" source: hosted - version: "1.1.16" + version: "1.1.19" vector_math: dependency: transitive description: @@ -847,18 +847,18 @@ packages: dependency: transitive description: name: vm_service - sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02 + sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" url: "https://pub.dev" source: hosted - version: "15.0.0" + version: "15.0.2" web: dependency: transitive description: name: web - sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" web_socket_channel: dependency: transitive description: @@ -879,18 +879,18 @@ packages: dependency: transitive description: name: win32 - sha256: "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba" + sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e url: "https://pub.dev" source: hosted - version: "5.13.0" + version: "5.15.0" win32_registry: dependency: transitive description: name: win32_registry - sha256: "21ec76dfc731550fd3e2ce7a33a9ea90b828fdf19a5c3bcf556fa992cfa99852" + sha256: "6f1b564492d0147b330dd794fee8f512cec4977957f310f9951b5f9d83618dae" url: "https://pub.dev" source: hosted - version: "1.1.5" + version: "2.1.0" window_manager: dependency: transitive description: @@ -911,10 +911,10 @@ packages: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" xml: dependency: transitive description: @@ -924,5 +924,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.8.0-0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.9.0 <4.0.0" + flutter: ">=3.35.0" diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 0e447b55..8cc78ac7 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -111,10 +111,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "6.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -182,10 +182,10 @@ packages: dependency: transitive description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "6.0.0" matcher: dependency: transitive description: @@ -230,18 +230,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db" + sha256: e122c5ea805bb6773bb12ce667611265980940145be920cd09a4b0ec0285cb16 url: "https://pub.dev" source: hosted - version: "2.2.18" + version: "2.2.20" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" + sha256: efaec349ddfc181528345c56f8eda9d6cccd71c177511b132c6a0ddaefaa2738 url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" path_provider_linux: dependency: transitive description: @@ -312,42 +312,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.3" + version: "0.9.3+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.3" + version: "0.9.3+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.3" + version: "0.9.3+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.3" + version: "0.9.3+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.3" + version: "0.9.3+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.3" + version: "0.9.3+1" shelf: dependency: transitive description: @@ -474,5 +474,5 @@ packages: source: hosted version: "1.1.0" sdks: - dart: ">=3.8.0-0 <4.0.0" - flutter: ">=3.29.0" + dart: ">=3.9.0 <4.0.0" + flutter: ">=3.35.0" From ab35b265d69567740822b75bfbc02ccef49703bd Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 09:39:44 -0400 Subject: [PATCH 03/14] Updating flutter version 3.7 --- src/serious_python/pubspec.yaml | 4 ++-- src/serious_python_android/pubspec.yaml | 2 +- src/serious_python_linux/pubspec.yaml | 4 ++-- src/serious_python_windows/pubspec.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/serious_python/pubspec.yaml b/src/serious_python/pubspec.yaml index 93b5942d..07cd7712 100644 --- a/src/serious_python/pubspec.yaml +++ b/src/serious_python/pubspec.yaml @@ -49,12 +49,12 @@ dependencies: args: ^2.7.0 toml: ^0.16.0 http: ^1.5.0 - shelf: ^1.4.1 + shelf: ^1.4.2 crypto: ^3.0.6 glob: ^2.1.3 dev_dependencies: flutter_test: sdk: flutter - plugin_platform_interface: ^2.1.6 + plugin_platform_interface: ^2.1.8 flutter_lints: ^6.0.0 \ No newline at end of file diff --git a/src/serious_python_android/pubspec.yaml b/src/serious_python_android/pubspec.yaml index e1e5d758..1da5e6e2 100644 --- a/src/serious_python_android/pubspec.yaml +++ b/src/serious_python_android/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: serious_python_platform_interface: path: ../serious_python_platform_interface path: ^1.9.1 - ffi: ^2.1.3 + ffi: ^2.1.4 dev_dependencies: flutter_test: diff --git a/src/serious_python_linux/pubspec.yaml b/src/serious_python_linux/pubspec.yaml index 78678e1d..63d87fc9 100644 --- a/src/serious_python_linux/pubspec.yaml +++ b/src/serious_python_linux/pubspec.yaml @@ -5,8 +5,8 @@ repository: https://github.com/flet-dev/serious-python version: 0.9.3+1 environment: - sdk: '>=3.1.3 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.7.0" dependencies: flutter: diff --git a/src/serious_python_windows/pubspec.yaml b/src/serious_python_windows/pubspec.yaml index 0d9f54fe..1c3097fa 100644 --- a/src/serious_python_windows/pubspec.yaml +++ b/src/serious_python_windows/pubspec.yaml @@ -5,8 +5,8 @@ repository: https://github.com/flet-dev/serious-python version: 0.9.3+1 environment: - sdk: '>=3.1.3 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.7.0" dependencies: flutter: From 3e94ae3a66b1d6af57964a724c96b294143d88de Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 09:54:16 -0400 Subject: [PATCH 04/14] Using CMake InstallRequiredSystemLibraries module to bundle the correct MSVC runtime --- src/serious_python_windows/windows/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index ba8659b6..ac452353 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -31,9 +31,14 @@ list(APPEND PLUGIN_SOURCES ) if(MSVC) - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") + set(CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY $,ON,OFF>) + file(REAL_PATH ${CMAKE_BINARY_DIR}/runner/$ FLUTTER_APP_DIR) + set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION ${FLUTTER_APP_DIR}) endif() +include(InstallRequiredSystemLibraries) + # Define the plugin library target. Its name must not be changed (see comment # on PLUGIN_NAME above). add_library(${PLUGIN_NAME} SHARED @@ -75,9 +80,6 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE set(serious_python_windows_bundled_libraries "${PYTHON_PACKAGE}/python312$<$:_d>.dll" "${PYTHON_PACKAGE}/python3$<$:_d>.dll" -# "$ENV{WINDIR}/system32/msvcp140.dll" -# "$ENV{WINDIR}/system32/vcruntime140.dll" -# "$ENV{WINDIR}/system32/vcruntime140_1.dll" PARENT_SCOPE ) From e25aed711349e0bc2b6ea6bd50fae5c0c1a0c9ef Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 11:06:18 -0400 Subject: [PATCH 05/14] Debug libraries are NonRedist --- src/serious_python_windows/windows/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index ac452353..b17aee4b 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -32,7 +32,6 @@ list(APPEND PLUGIN_SOURCES if(MSVC) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") - set(CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY $,ON,OFF>) file(REAL_PATH ${CMAKE_BINARY_DIR}/runner/$ FLUTTER_APP_DIR) set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION ${FLUTTER_APP_DIR}) endif() From cc37f6073f5a7f4f00abaf2ce57a507aac4dfae7 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 11:07:03 -0400 Subject: [PATCH 06/14] Adding missing requirements.txt --- src/serious_python/example/flask_example/requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/serious_python/example/flask_example/requirements.txt diff --git a/src/serious_python/example/flask_example/requirements.txt b/src/serious_python/example/flask_example/requirements.txt new file mode 100644 index 00000000..8ab6294c --- /dev/null +++ b/src/serious_python/example/flask_example/requirements.txt @@ -0,0 +1 @@ +flask \ No newline at end of file From e3ff110cc56c6116c4e2c83764a73e343d30903b Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 11:11:46 -0400 Subject: [PATCH 07/14] Updating plugin versions --- .../example/flask_example/pubspec.lock | 12 ++++++------ src/serious_python/example/flet_example/pubspec.lock | 12 ++++++------ src/serious_python/example/run_example/pubspec.lock | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index 450738d9..c2fe1546 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -289,42 +289,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" shelf: dependency: transitive description: diff --git a/src/serious_python/example/flet_example/pubspec.lock b/src/serious_python/example/flet_example/pubspec.lock index 2500a16d..13867579 100644 --- a/src/serious_python/example/flet_example/pubspec.lock +++ b/src/serious_python/example/flet_example/pubspec.lock @@ -562,42 +562,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" shared_preferences: dependency: transitive description: diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 8cc78ac7..18da7d47 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -312,42 +312,42 @@ packages: path: "../.." relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "0.9.3+1" + version: "0.9.4+1" shelf: dependency: transitive description: From 522dc425654ad1c1a9eb864fc2f3f22885012c92 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 27 Oct 2025 11:31:15 -0400 Subject: [PATCH 08/14] Migrating to github hosted flet package --- .../example/flet_example/pubspec.lock | 99 ++++++++++--------- .../example/flet_example/pubspec.yaml | 5 +- 2 files changed, 58 insertions(+), 46 deletions(-) diff --git a/src/serious_python/example/flet_example/pubspec.lock b/src/serious_python/example/flet_example/pubspec.lock index 13867579..c69ea38b 100644 --- a/src/serious_python/example/flet_example/pubspec.lock +++ b/src/serious_python/example/flet_example/pubspec.lock @@ -93,10 +93,10 @@ packages: dependency: transitive description: name: device_info_plus - sha256: "98f28b42168cc509abc92f88518882fd58061ea372d7999aecc424345c7bff6a" + sha256: dd0e8e02186b2196c7848c9d394a5fd6e5b57a43a546082c5820b1ec72317e33 url: "https://pub.dev" source: hosted - version: "11.5.0" + version: "12.2.0" device_info_plus_platform_interface: dependency: transitive description: @@ -145,22 +145,15 @@ packages: url: "https://pub.dev" source: hosted version: "10.3.3" - fl_chart: - dependency: transitive - description: - name: fl_chart - sha256: "74959b99b92b9eebeed1a4049426fd67c4abc3c5a0f4d12e2877097d6a11ae08" - url: "https://pub.dev" - source: hosted - version: "0.69.2" flet: dependency: "direct main" description: - name: flet - sha256: "3be85b7d2e70e00d957966a7bcec2b290057d440b7aafd795a197a39ab3783cf" - url: "https://pub.dev" - source: hosted - version: "0.28.3" + path: "packages/flet" + ref: HEAD + resolved-ref: "42dcc718a9ddd6b2c53100fed8e9c6afbb78e223" + url: "https://github.com/flet-dev/flet.git" + source: git + version: "0.70.0" flutter: dependency: "direct main" description: flutter @@ -196,10 +189,10 @@ packages: dependency: transitive description: name: flutter_markdown - sha256: "08fb8315236099ff8e90cb87bb2b935e0a724a3af1623000a9cec930468e0f27" + sha256: e7bbc718adc9476aa14cfddc1ef048d2e21e4e8f18311aaac723266db9f9e7b5 url: "https://pub.dev" source: hosted - version: "0.7.7+1" + version: "0.7.6+2" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -208,14 +201,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.32" - flutter_redux: - dependency: transitive - description: - name: flutter_redux - sha256: "3b20be9e08d0038e1452fbfa1fdb1ea0a7c3738c997734530b3c6d0bb5fcdbdc" - url: "https://pub.dev" - source: hosted - version: "0.10.0" flutter_svg: dependency: transitive description: @@ -284,14 +269,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.20.2" - js: - dependency: transitive - description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 - url: "https://pub.dev" - source: hosted - version: "0.6.7" json_annotation: dependency: transitive description: @@ -372,6 +349,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.16.0" + msgpack_dart: + dependency: transitive + description: + name: msgpack_dart + sha256: c2d235ed01f364719b5296aecf43ac330f0d7bc865fa134d0d7910a40454dffb + url: "https://pub.dev" + source: hosted + version: "1.0.1" + nested: + dependency: transitive + description: + name: nested + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" + source: hosted + version: "1.0.0" package_info_plus: dependency: "direct main" description: @@ -492,14 +485,14 @@ packages: url: "https://pub.dev" source: hosted version: "5.0.5" - redux: + provider: dependency: transitive description: - name: redux - sha256: "1e86ed5b1a9a717922d0a0ca41f9bf49c1a587d50050e9426fc65b14e85ec4d7" + name: provider + sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "6.1.5+1" screen_retriever: dependency: transitive description: @@ -540,22 +533,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.0" + screenshot: + dependency: transitive + description: + name: screenshot + sha256: "63817697a7835e6ce82add4228e15d233b74d42975c143ad8cfe07009fab866b" + url: "https://pub.dev" + source: hosted + version: "3.0.0" sensors_plus: dependency: transitive description: name: sensors_plus - sha256: "8e7fa79b4940442bb595bfc0ee9da4af5a22a0fe6ebacc74998245ee9496a82d" + sha256: "89e2bfc3d883743539ce5774a2b93df61effde40ff958ecad78cd66b1a8b8d52" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "6.1.2" sensors_plus_platform_interface: dependency: transitive description: name: sensors_plus_platform_interface - sha256: bc472d6cfd622acb4f020e726433ee31788b038056691ba433fec80e448a094f + sha256: "58815d2f5e46c0c41c40fb39375d3f127306f7742efe3b891c0b1c87e2b5cd5d" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "2.0.1" serious_python: dependency: "direct main" description: @@ -859,14 +860,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.1" + web_socket: + dependency: transitive + description: + name: web_socket + sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c" + url: "https://pub.dev" + source: hosted + version: "1.0.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b + sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8 url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "3.0.3" webdriver: dependency: transitive description: @@ -895,10 +904,10 @@ packages: dependency: transitive description: name: window_manager - sha256: "732896e1416297c63c9e3fb95aea72d0355f61390263982a47fd519169dc5059" + sha256: "7eb6d6c4164ec08e1bf978d6e733f3cebe792e2a23fb07cbca25c2872bfdbdcd" url: "https://pub.dev" source: hosted - version: "0.4.3" + version: "0.5.1" window_to_front: dependency: transitive description: diff --git a/src/serious_python/example/flet_example/pubspec.yaml b/src/serious_python/example/flet_example/pubspec.yaml index 4da6c1cb..fc0e369d 100644 --- a/src/serious_python/example/flet_example/pubspec.yaml +++ b/src/serious_python/example/flet_example/pubspec.yaml @@ -35,7 +35,10 @@ dependencies: serious_python: path: ../../ - flet: ^0.28.3 + flet: + git: + url: https://github.com/flet-dev/flet.git + path: packages/flet path: ^1.9.1 url_strategy: ^0.2.0 From b442ac587101d870c014c24568f523b3d72e9cef Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 10 Nov 2025 04:23:49 -0500 Subject: [PATCH 09/14] Using sync method for path --- src/serious_python/bin/package_command.dart | 26 ++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/serious_python/bin/package_command.dart b/src/serious_python/bin/package_command.dart index f7596bb9..6d1f9eab 100644 --- a/src/serious_python/bin/package_command.dart +++ b/src/serious_python/bin/package_command.dart @@ -183,13 +183,13 @@ class PackageCommand extends Command { exit(2); } - if (!await sourceDir.exists()) { + if (!sourceDir.existsSync()) { stderr.writeln('Source directory does not exist.'); exit(2); } final pubspecFile = File(path.join(currentPath, "pubspec.yaml")); - if (!await pubspecFile.exists()) { + if (!pubspecFile.existsSync()) { stderr.writeln("Current directory must contain pubspec.yaml."); exit(2); } @@ -211,7 +211,7 @@ class PackageCommand extends Command { // ensure standard Dart/Flutter "build" directory exists _buildDir = Directory(path.join(currentPath, "build")); - if (!await _buildDir!.exists()) { + if (!_buildDir!.existsSync()) { await _buildDir!.create(); } @@ -224,7 +224,7 @@ class PackageCommand extends Command { // create dest dir final dest = File(path.join(currentPath, assetPath)); - if (!await dest.parent.exists()) { + if (!dest.parent.existsSync()) { stdout.writeln("Creating asset directory: ${dest.parent.path}"); await dest.parent.create(recursive: true); } @@ -277,7 +277,7 @@ class PackageCommand extends Command { sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); } - if (await Directory(sitePackagesRoot).exists()) { + if (Directory(sitePackagesRoot).existsSync()) { await for (var f in Directory(sitePackagesRoot) .list() .where((f) => !path.basename(f.path).startsWith("."))) { @@ -373,7 +373,7 @@ class PackageCommand extends Command { if (!flutterPackagesCopied) { stdout.writeln( "Copying Flutter packages to $flutterPackagesRoot"); - if (!await flutterPackagesRootDir.exists()) { + if (!flutterPackagesRootDir.existsSync()) { await flutterPackagesRootDir.create(recursive: true); } await copyDirectory(sitePackagesFlutterDir, @@ -424,7 +424,7 @@ class PackageCommand extends Command { // synchronize pod var syncSh = File(path.join(sitePackagesRoot, ".pod", "sync_site_packages.sh")); - if (await syncSh.exists()) { + if (syncSh.existsSync()) { await runExec("/bin/sh", [syncSh.path]); } } @@ -442,9 +442,13 @@ class PackageCommand extends Command { } catch (e) { stdout.writeln("Error: $e"); } finally { - if (tempDir != null && await tempDir.exists()) { + if (tempDir != null && tempDir.existsSync()) { stdout.writeln("Deleting temp directory"); - await tempDir.delete(recursive: true); + try { + tempDir.deleteSync(recursive: true); + } on Exception catch(e, s){ + verbose('$e\n\n$s'); + } } if (pyodidePyPiServer != null) { stdout.writeln("Shutting down Pyodide PyPI server"); @@ -523,7 +527,7 @@ class PackageCommand extends Command { _pythonDir = Directory( path.join(_buildDir!.path, "build_python_$buildPythonVersion")); - if (!await _pythonDir!.exists()) { + if (!_pythonDir!.existsSync()) { await _pythonDir!.create(); var isArm64 = Platform.version.contains("arm64"); @@ -547,7 +551,7 @@ class PackageCommand extends Command { var pythonArchivePath = path.join(_buildDir!.path, pythonArchiveFilename); - if (!await File(pythonArchivePath).exists()) { + if (!File(pythonArchivePath).existsSync()) { // download Python distr from GitHub final url = "https://github.com/astral-sh/python-build-standalone/releases/download/$buildPythonReleaseDate/$pythonArchiveFilename"; From dc30b298e9b7ddc3ad0360cf20b2455c09ae9e93 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Mon, 10 Nov 2025 04:25:43 -0500 Subject: [PATCH 10/14] Update to flutter 3.35 --- .../example/flask_example/pubspec.yaml | 4 +- .../example/flet_example/pubspec.lock | 937 ------------------ .../example/flet_example/pubspec.yaml | 8 +- .../example/run_example/app/app.zip.hash | 2 +- .../example/run_example/pubspec.yaml | 3 +- src/serious_python/pubspec.yaml | 8 +- src/serious_python_android/pubspec.yaml | 6 +- src/serious_python_darwin/pubspec.yaml | 6 +- src/serious_python_linux/pubspec.yaml | 6 +- .../pubspec.yaml | 6 +- src/serious_python_windows/pubspec.yaml | 6 +- .../windows/CMakeLists.txt | 4 +- 12 files changed, 37 insertions(+), 959 deletions(-) delete mode 100644 src/serious_python/example/flet_example/pubspec.lock diff --git a/src/serious_python/example/flask_example/pubspec.yaml b/src/serious_python/example/flask_example/pubspec.yaml index 905a6750..9e2fb38d 100644 --- a/src/serious_python/example/flask_example/pubspec.yaml +++ b/src/serious_python/example/flask_example/pubspec.yaml @@ -19,8 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=3.0.3 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/src/serious_python/example/flet_example/pubspec.lock b/src/serious_python/example/flet_example/pubspec.lock deleted file mode 100644 index c69ea38b..00000000 --- a/src/serious_python/example/flet_example/pubspec.lock +++ /dev/null @@ -1,937 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - archive: - dependency: transitive - description: - name: archive - sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd" - url: "https://pub.dev" - source: hosted - version: "4.0.7" - args: - dependency: transitive - description: - name: args - sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 - url: "https://pub.dev" - source: hosted - version: "2.7.0" - async: - dependency: transitive - description: - name: async - sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" - url: "https://pub.dev" - source: hosted - version: "2.13.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - characters: - dependency: transitive - description: - name: characters - sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - clock: - dependency: transitive - description: - name: clock - sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b - url: "https://pub.dev" - source: hosted - version: "1.1.2" - collection: - dependency: transitive - description: - name: collection - sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" - url: "https://pub.dev" - source: hosted - version: "1.19.1" - cross_file: - dependency: transitive - description: - name: cross_file - sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" - url: "https://pub.dev" - source: hosted - version: "0.3.4+2" - crypto: - dependency: transitive - description: - name: crypto - sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" - url: "https://pub.dev" - source: hosted - version: "3.0.6" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 - url: "https://pub.dev" - source: hosted - version: "1.0.8" - dbus: - dependency: transitive - description: - name: dbus - sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c" - url: "https://pub.dev" - source: hosted - version: "0.7.11" - device_info_plus: - dependency: transitive - description: - name: device_info_plus - sha256: dd0e8e02186b2196c7848c9d394a5fd6e5b57a43a546082c5820b1ec72317e33 - url: "https://pub.dev" - source: hosted - version: "12.2.0" - device_info_plus_platform_interface: - dependency: transitive - description: - name: device_info_plus_platform_interface - sha256: e1ea89119e34903dca74b883d0dd78eb762814f97fb6c76f35e9ff74d261a18f - url: "https://pub.dev" - source: hosted - version: "7.0.3" - equatable: - dependency: transitive - description: - name: equatable - sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" - url: "https://pub.dev" - source: hosted - version: "2.0.7" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" - url: "https://pub.dev" - source: hosted - version: "1.3.3" - ffi: - dependency: transitive - description: - name: ffi - sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - file: - dependency: transitive - description: - name: file - sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 - url: "https://pub.dev" - source: hosted - version: "7.0.1" - file_picker: - dependency: transitive - description: - name: file_picker - sha256: f2d9f173c2c14635cc0e9b14c143c49ef30b4934e8d1d274d6206fcb0086a06f - url: "https://pub.dev" - source: hosted - version: "10.3.3" - flet: - dependency: "direct main" - description: - path: "packages/flet" - ref: HEAD - resolved-ref: "42dcc718a9ddd6b2c53100fed8e9c6afbb78e223" - url: "https://github.com/flet-dev/flet.git" - source: git - version: "0.70.0" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_driver: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_highlight: - dependency: transitive - description: - name: flutter_highlight - sha256: "7b96333867aa07e122e245c033b8ad622e4e3a42a1a2372cbb098a2541d8782c" - url: "https://pub.dev" - source: hosted - version: "0.7.0" - flutter_lints: - dependency: "direct dev" - description: - name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 - url: "https://pub.dev" - source: hosted - version: "2.0.3" - flutter_localizations: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_markdown: - dependency: transitive - description: - name: flutter_markdown - sha256: e7bbc718adc9476aa14cfddc1ef048d2e21e4e8f18311aaac723266db9f9e7b5 - url: "https://pub.dev" - source: hosted - version: "0.7.6+2" - flutter_plugin_android_lifecycle: - dependency: transitive - description: - name: flutter_plugin_android_lifecycle - sha256: "306f0596590e077338312f38837f595c04f28d6cdeeac392d3d74df2f0003687" - url: "https://pub.dev" - source: hosted - version: "2.0.32" - flutter_svg: - dependency: transitive - description: - name: flutter_svg - sha256: b9c2ad5872518a27507ab432d1fb97e8813b05f0fc693f9d40fad06d073e0678 - url: "https://pub.dev" - source: hosted - version: "2.2.1" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - fuchsia_remote_debug_protocol: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - glob: - dependency: transitive - description: - name: glob - sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de - url: "https://pub.dev" - source: hosted - version: "2.1.3" - highlight: - dependency: transitive - description: - name: highlight - sha256: "5353a83ffe3e3eca7df0abfb72dcf3fa66cc56b953728e7113ad4ad88497cf21" - url: "https://pub.dev" - source: hosted - version: "0.7.0" - http: - dependency: transitive - description: - name: http - sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 - url: "https://pub.dev" - source: hosted - version: "1.5.0" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" - url: "https://pub.dev" - source: hosted - version: "4.1.2" - integration_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - intl: - dependency: transitive - description: - name: intl - sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" - url: "https://pub.dev" - source: hosted - version: "0.20.2" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" - url: "https://pub.dev" - source: hosted - version: "4.9.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" - url: "https://pub.dev" - source: hosted - version: "11.0.2" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" - url: "https://pub.dev" - source: hosted - version: "3.0.10" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - lints: - dependency: transitive - description: - name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - logging: - dependency: transitive - description: - name: logging - sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 - url: "https://pub.dev" - source: hosted - version: "1.3.0" - markdown: - dependency: transitive - description: - name: markdown - sha256: "935e23e1ff3bc02d390bad4d4be001208ee92cc217cb5b5a6c19bc14aaa318c1" - url: "https://pub.dev" - source: hosted - version: "7.3.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 - url: "https://pub.dev" - source: hosted - version: "0.12.17" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec - url: "https://pub.dev" - source: hosted - version: "0.11.1" - meta: - dependency: transitive - description: - name: meta - sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c - url: "https://pub.dev" - source: hosted - version: "1.16.0" - msgpack_dart: - dependency: transitive - description: - name: msgpack_dart - sha256: c2d235ed01f364719b5296aecf43ac330f0d7bc865fa134d0d7910a40454dffb - url: "https://pub.dev" - source: hosted - version: "1.0.1" - nested: - dependency: transitive - description: - name: nested - sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" - url: "https://pub.dev" - source: hosted - version: "1.0.0" - package_info_plus: - dependency: "direct main" - description: - name: package_info_plus - sha256: "16eee997588c60225bda0488b6dcfac69280a6b7a3cf02c741895dd370a02968" - url: "https://pub.dev" - source: hosted - version: "8.3.1" - package_info_plus_platform_interface: - dependency: transitive - description: - name: package_info_plus_platform_interface - sha256: "202a487f08836a592a6bd4f901ac69b3a8f146af552bbd14407b6b41e1c3f086" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - path: - dependency: "direct main" - description: - name: path - sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" - url: "https://pub.dev" - source: hosted - version: "1.9.1" - path_parsing: - dependency: transitive - description: - name: path_parsing - sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - path_provider: - dependency: "direct main" - description: - name: path_provider - sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" - url: "https://pub.dev" - source: hosted - version: "2.1.5" - path_provider_android: - dependency: transitive - description: - name: path_provider_android - sha256: e122c5ea805bb6773bb12ce667611265980940145be920cd09a4b0ec0285cb16 - url: "https://pub.dev" - source: hosted - version: "2.2.20" - path_provider_foundation: - dependency: transitive - description: - name: path_provider_foundation - sha256: efaec349ddfc181528345c56f8eda9d6cccd71c177511b132c6a0ddaefaa2738 - url: "https://pub.dev" - source: hosted - version: "2.4.3" - path_provider_linux: - dependency: transitive - description: - name: path_provider_linux - sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 - url: "https://pub.dev" - source: hosted - version: "2.2.1" - path_provider_platform_interface: - dependency: transitive - description: - name: path_provider_platform_interface - sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - path_provider_windows: - dependency: transitive - description: - name: path_provider_windows - sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 - 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: - name: platform - sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" - url: "https://pub.dev" - source: hosted - version: "3.1.6" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" - url: "https://pub.dev" - source: hosted - version: "2.1.8" - posix: - dependency: transitive - description: - name: posix - sha256: "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61" - url: "https://pub.dev" - source: hosted - version: "6.0.3" - process: - dependency: transitive - description: - name: process - sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744 - url: "https://pub.dev" - source: hosted - version: "5.0.5" - provider: - dependency: transitive - description: - name: provider - sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272" - url: "https://pub.dev" - source: hosted - version: "6.1.5+1" - screen_retriever: - dependency: transitive - description: - name: screen_retriever - sha256: "570dbc8e4f70bac451e0efc9c9bb19fa2d6799a11e6ef04f946d7886d2e23d0c" - url: "https://pub.dev" - source: hosted - version: "0.2.0" - screen_retriever_linux: - dependency: transitive - description: - name: screen_retriever_linux - sha256: f7f8120c92ef0784e58491ab664d01efda79a922b025ff286e29aa123ea3dd18 - url: "https://pub.dev" - source: hosted - version: "0.2.0" - screen_retriever_macos: - dependency: transitive - description: - name: screen_retriever_macos - sha256: "71f956e65c97315dd661d71f828708bd97b6d358e776f1a30d5aa7d22d78a149" - url: "https://pub.dev" - source: hosted - version: "0.2.0" - screen_retriever_platform_interface: - dependency: transitive - description: - name: screen_retriever_platform_interface - sha256: ee197f4581ff0d5608587819af40490748e1e39e648d7680ecf95c05197240c0 - url: "https://pub.dev" - source: hosted - version: "0.2.0" - screen_retriever_windows: - dependency: transitive - description: - name: screen_retriever_windows - sha256: "449ee257f03ca98a57288ee526a301a430a344a161f9202b4fcc38576716fe13" - url: "https://pub.dev" - source: hosted - version: "0.2.0" - screenshot: - dependency: transitive - description: - name: screenshot - sha256: "63817697a7835e6ce82add4228e15d233b74d42975c143ad8cfe07009fab866b" - url: "https://pub.dev" - source: hosted - version: "3.0.0" - sensors_plus: - dependency: transitive - description: - name: sensors_plus - sha256: "89e2bfc3d883743539ce5774a2b93df61effde40ff958ecad78cd66b1a8b8d52" - url: "https://pub.dev" - source: hosted - version: "6.1.2" - sensors_plus_platform_interface: - dependency: transitive - description: - name: sensors_plus_platform_interface - sha256: "58815d2f5e46c0c41c40fb39375d3f127306f7742efe3b891c0b1c87e2b5cd5d" - url: "https://pub.dev" - source: hosted - version: "2.0.1" - serious_python: - dependency: "direct main" - description: - path: "../.." - relative: true - source: path - version: "0.9.4+1" - serious_python_android: - dependency: transitive - description: - path: "../../../serious_python_android" - relative: true - source: path - version: "0.9.4+1" - serious_python_darwin: - dependency: transitive - description: - path: "../../../serious_python_darwin" - relative: true - source: path - version: "0.9.4+1" - serious_python_linux: - dependency: transitive - description: - path: "../../../serious_python_linux" - relative: true - source: path - version: "0.9.4+1" - serious_python_platform_interface: - dependency: transitive - description: - path: "../../../serious_python_platform_interface" - relative: true - source: path - version: "0.9.4+1" - serious_python_windows: - dependency: transitive - description: - path: "../../../serious_python_windows" - relative: true - source: path - version: "0.9.4+1" - shared_preferences: - dependency: transitive - description: - name: shared_preferences - sha256: "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5" - url: "https://pub.dev" - source: hosted - version: "2.5.3" - shared_preferences_android: - dependency: transitive - description: - name: shared_preferences_android - sha256: "34266009473bf71d748912da4bf62d439185226c03e01e2d9687bc65bbfcb713" - url: "https://pub.dev" - source: hosted - version: "2.4.15" - shared_preferences_foundation: - dependency: transitive - description: - name: shared_preferences_foundation - sha256: "1c33a907142607c40a7542768ec9badfd16293bac51da3a4482623d15845f88b" - url: "https://pub.dev" - source: hosted - version: "2.5.5" - shared_preferences_linux: - dependency: transitive - description: - name: shared_preferences_linux - sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shared_preferences_platform_interface: - dependency: transitive - description: - name: shared_preferences_platform_interface - sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shared_preferences_web: - dependency: transitive - description: - name: shared_preferences_web - sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 - url: "https://pub.dev" - source: hosted - version: "2.4.3" - shared_preferences_windows: - dependency: transitive - description: - name: shared_preferences_windows - sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 - url: "https://pub.dev" - source: hosted - version: "1.4.2" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - source_span: - dependency: transitive - description: - name: source_span - sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" - url: "https://pub.dev" - source: hosted - version: "1.10.1" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" - url: "https://pub.dev" - source: hosted - version: "1.12.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" - url: "https://pub.dev" - source: hosted - version: "1.4.1" - sync_http: - dependency: transitive - description: - name: sync_http - sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961" - url: "https://pub.dev" - source: hosted - version: "0.3.1" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" - url: "https://pub.dev" - source: hosted - version: "1.2.2" - test_api: - dependency: transitive - description: - name: test_api - sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" - url: "https://pub.dev" - source: hosted - version: "0.7.6" - toml: - dependency: transitive - description: - name: toml - sha256: d968d149c8bd06dc14e09ea3a140f90a3f2ba71949e7a91df4a46f3107400e71 - url: "https://pub.dev" - source: hosted - version: "0.16.0" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - url_launcher: - dependency: transitive - description: - name: url_launcher - sha256: f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8 - url: "https://pub.dev" - source: hosted - version: "6.3.2" - url_launcher_android: - dependency: transitive - description: - name: url_launcher_android - sha256: "5c8b6c2d89a78f5a1cca70a73d9d5f86c701b36b42f9c9dac7bad592113c28e9" - url: "https://pub.dev" - source: hosted - version: "6.3.24" - url_launcher_ios: - dependency: transitive - description: - name: url_launcher_ios - sha256: "6b63f1441e4f653ae799166a72b50b1767321ecc263a57aadf825a7a2a5477d9" - url: "https://pub.dev" - source: hosted - version: "6.3.5" - url_launcher_linux: - dependency: transitive - description: - name: url_launcher_linux - sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - sha256: "8262208506252a3ed4ff5c0dc1e973d2c0e0ef337d0a074d35634da5d44397c9" - url: "https://pub.dev" - source: hosted - version: "3.2.4" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" - url: "https://pub.dev" - source: hosted - version: "2.3.2" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - url_launcher_windows: - dependency: transitive - description: - name: url_launcher_windows - sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" - url: "https://pub.dev" - source: hosted - version: "3.1.4" - url_strategy: - dependency: "direct main" - description: - name: url_strategy - sha256: "42b68b42a9864c4d710401add17ad06e28f1c1d5500c93b98c431f6b0ea4ab87" - url: "https://pub.dev" - source: hosted - version: "0.2.0" - vector_graphics: - dependency: transitive - description: - name: vector_graphics - sha256: a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6 - url: "https://pub.dev" - source: hosted - version: "1.1.19" - vector_graphics_codec: - dependency: transitive - description: - name: vector_graphics_codec - sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" - url: "https://pub.dev" - source: hosted - version: "1.1.13" - vector_graphics_compiler: - dependency: transitive - description: - name: vector_graphics_compiler - sha256: d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc - url: "https://pub.dev" - source: hosted - version: "1.1.19" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b - url: "https://pub.dev" - source: hosted - version: "2.2.0" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" - url: "https://pub.dev" - source: hosted - version: "15.0.2" - web: - dependency: transitive - description: - name: web - sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" - url: "https://pub.dev" - source: hosted - version: "1.1.1" - web_socket: - dependency: transitive - description: - name: web_socket - sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8 - url: "https://pub.dev" - source: hosted - version: "3.0.3" - webdriver: - dependency: transitive - description: - name: webdriver - sha256: "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade" - url: "https://pub.dev" - source: hosted - version: "3.1.0" - win32: - dependency: transitive - description: - name: win32 - sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e - url: "https://pub.dev" - source: hosted - version: "5.15.0" - win32_registry: - dependency: transitive - description: - name: win32_registry - sha256: "6f1b564492d0147b330dd794fee8f512cec4977957f310f9951b5f9d83618dae" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - window_manager: - dependency: transitive - description: - name: window_manager - sha256: "7eb6d6c4164ec08e1bf978d6e733f3cebe792e2a23fb07cbca25c2872bfdbdcd" - url: "https://pub.dev" - source: hosted - version: "0.5.1" - window_to_front: - dependency: transitive - description: - name: window_to_front - sha256: "7aef379752b7190c10479e12b5fd7c0b9d92adc96817d9e96c59937929512aee" - url: "https://pub.dev" - source: hosted - version: "0.0.3" - xdg_directories: - dependency: transitive - description: - name: xdg_directories - sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - xml: - dependency: transitive - description: - name: xml - sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 - url: "https://pub.dev" - source: hosted - version: "6.5.0" -sdks: - dart: ">=3.9.0 <4.0.0" - flutter: ">=3.35.0" diff --git a/src/serious_python/example/flet_example/pubspec.yaml b/src/serious_python/example/flet_example/pubspec.yaml index fc0e369d..8ba3cf2a 100644 --- a/src/serious_python/example/flet_example/pubspec.yaml +++ b/src/serious_python/example/flet_example/pubspec.yaml @@ -19,8 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=3.0.3 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -43,7 +43,7 @@ dependencies: path: ^1.9.1 url_strategy: ^0.2.0 path_provider: ^2.1.5 - package_info_plus: ^8.0.2 + package_info_plus: ^9.0.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. @@ -58,7 +58,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^2.0.0 + flutter_lints: ^6.0.0 integration_test: sdk: flutter diff --git a/src/serious_python/example/run_example/app/app.zip.hash b/src/serious_python/example/run_example/app/app.zip.hash index 615dadf3..293ce40f 100644 --- a/src/serious_python/example/run_example/app/app.zip.hash +++ b/src/serious_python/example/run_example/app/app.zip.hash @@ -1 +1 @@ -2b009202b20832851c62f09fd3dc603131d9efa45da27efb94eb21b32da28ed0 \ No newline at end of file +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 \ No newline at end of file diff --git a/src/serious_python/example/run_example/pubspec.yaml b/src/serious_python/example/run_example/pubspec.yaml index edfc2819..3ca643a3 100644 --- a/src/serious_python/example/run_example/pubspec.yaml +++ b/src/serious_python/example/run_example/pubspec.yaml @@ -19,7 +19,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: '>=3.1.3 <4.0.0' + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/src/serious_python/pubspec.yaml b/src/serious_python/pubspec.yaml index 29b31d0b..e880db5f 100644 --- a/src/serious_python/pubspec.yaml +++ b/src/serious_python/pubspec.yaml @@ -11,9 +11,11 @@ platforms: windows: linux: +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' flutter: plugin: @@ -47,7 +49,7 @@ dependencies: archive: ^4.0.7 path: ^1.9.1 args: ^2.7.0 - toml: ^0.16.0 + toml: ^0.17.0 http: ^1.5.0 shelf: ^1.4.2 crypto: ^3.0.6 diff --git a/src/serious_python_android/pubspec.yaml b/src/serious_python_android/pubspec.yaml index ebe92708..61884014 100644 --- a/src/serious_python_android/pubspec.yaml +++ b/src/serious_python_android/pubspec.yaml @@ -4,9 +4,11 @@ homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python version: 0.9.4+1 +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' dependencies: flutter: diff --git a/src/serious_python_darwin/pubspec.yaml b/src/serious_python_darwin/pubspec.yaml index dce6ea66..6799118a 100644 --- a/src/serious_python_darwin/pubspec.yaml +++ b/src/serious_python_darwin/pubspec.yaml @@ -4,9 +4,11 @@ homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python version: 0.9.4+1 +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' dependencies: flutter: diff --git a/src/serious_python_linux/pubspec.yaml b/src/serious_python_linux/pubspec.yaml index 6a11890d..86776c2e 100644 --- a/src/serious_python_linux/pubspec.yaml +++ b/src/serious_python_linux/pubspec.yaml @@ -4,9 +4,11 @@ homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python version: 0.9.4+1 +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' dependencies: flutter: diff --git a/src/serious_python_platform_interface/pubspec.yaml b/src/serious_python_platform_interface/pubspec.yaml index 3ddafc38..956a5730 100644 --- a/src/serious_python_platform_interface/pubspec.yaml +++ b/src/serious_python_platform_interface/pubspec.yaml @@ -4,9 +4,11 @@ homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python version: 0.9.4+1 +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' dependencies: flutter: diff --git a/src/serious_python_windows/pubspec.yaml b/src/serious_python_windows/pubspec.yaml index cb4c77c5..10fc1ac6 100644 --- a/src/serious_python_windows/pubspec.yaml +++ b/src/serious_python_windows/pubspec.yaml @@ -4,9 +4,11 @@ homepage: https://flet.dev repository: https://github.com/flet-dev/serious-python version: 0.9.4+1 +resolution: workspace + environment: - sdk: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + sdk: '>=3.7.0 < 4.0.0' + flutter: '>=3.27.0' dependencies: flutter: diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index b17aee4b..a9280026 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -101,7 +101,9 @@ add_custom_command(TARGET CopyPythonDLLs POST_BUILD ) if(DEFINED ENV{SERIOUS_PYTHON_SITE_PACKAGES}) - add_custom_command(TARGET CopyPythonDLLs POST_BUILD + add_custom_target(CopySitePackages ALL) + add_dependencies(CopySitePackages CopyPythonDLLs) + add_custom_command(TARGET CopySitePackages POST_BUILD COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/site-packages" COMMAND ${CMAKE_COMMAND} -E make_directory From 780da34bf4b669b8f3947c40c799a7e688005ba3 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Wed, 26 Nov 2025 04:22:05 -0500 Subject: [PATCH 11/14] Change file method calls to sync --- src/serious_python/bin/package_command.dart | 492 +++++++++++++------- 1 file changed, 321 insertions(+), 171 deletions(-) diff --git a/src/serious_python/bin/package_command.dart b/src/serious_python/bin/package_command.dart index 6d1f9eab..c3d5aee0 100644 --- a/src/serious_python/bin/package_command.dart +++ b/src/serious_python/bin/package_command.dart @@ -32,32 +32,34 @@ const platforms = { "iphoneos.arm64": {"tag": "ios-13.0-arm64-iphoneos", "mac_ver": ""}, "iphonesimulator.arm64": { "tag": "ios-13.0-arm64-iphonesimulator", - "mac_ver": "" + "mac_ver": "", }, "iphonesimulator.x86_64": { "tag": "ios-13.0-x86_64-iphonesimulator", - "mac_ver": "" - } + "mac_ver": "", + }, }, "Android": { "arm64-v8a": {"tag": "android-24-arm64-v8a", "mac_ver": ""}, "armeabi-v7a": {"tag": "android-24-armeabi-v7a", "mac_ver": ""}, "x86_64": {"tag": "android-24-x86_64", "mac_ver": ""}, - "x86": {"tag": "android-24-x86", "mac_ver": ""} + "x86": {"tag": "android-24-x86", "mac_ver": ""}, }, "Pyodide": { - "": {"tag": "pyodide-2024.0-wasm32", "mac_ver": ""} + "": {"tag": "pyodide-2024.0-wasm32", "mac_ver": ""}, }, "Darwin": { "arm64": {"tag": "", "mac_ver": "arm64"}, - "x86_64": {"tag": "", "mac_ver": "x86_64"} + "x86_64": {"tag": "", "mac_ver": "x86_64"}, }, "Windows": { - "": {"tag": "", "mac_ver": ""} + "arm64": {"tag": "", "mac_ver": ""}, + "x86_64": {"tag": "", "mac_ver": ""}, }, "Linux": { - "": {"tag": "", "mac_ver": ""} - } + "arm64": {"tag": "", "mac_ver": ""}, + "x86_64": {"tag": "", "mac_ver": ""}, + }, }; const junkFilesDesktop = [ @@ -94,46 +96,80 @@ class PackageCommand extends Command { final description = "Packages Python app into Flutter asset."; PackageCommand() { - argParser.addOption('platform', - abbr: "p", - allowed: ["iOS", "Android", "Pyodide", "Windows", "Linux", "Darwin"], - mandatory: true, - help: "Install dependencies for specific platform, e.g. 'Android'."); - argParser.addMultiOption('arch', - help: - "Install dependencies for specific architectures only. Leave empty to install all supported architectures."); - argParser.addMultiOption('requirements', - abbr: "r", - help: "The list of dependencies to install. Allows any pip options.'", - splitCommas: false); - argParser.addOption('asset', - abbr: 'a', - help: - "Output asset path, relative to pubspec.yaml, to package Python program into."); - argParser.addMultiOption('exclude', - help: - "List of relative paths to exclude from app package, e.g. \"assets,build\"."); - argParser.addFlag("skip-site-packages", - help: "Skip installation of site packages.", negatable: false); - argParser.addFlag("compile-app", - help: "Compile Python application before packaging.", negatable: false); - argParser.addFlag("compile-packages", - help: "Compile application packages before packaging.", - negatable: false); - argParser.addFlag("cleanup", - help: - "Cleanup app and packages from unneccessary files and directories.", - negatable: false); - argParser.addFlag("cleanup-app", - help: "Cleanup app from unneccessary files and directories.", - negatable: false); - argParser.addMultiOption('cleanup-app-files', - help: "List of globs to delete extra app files and directories."); - argParser.addFlag("cleanup-packages", - help: "Cleanup packages from unneccessary files and directories.", - negatable: false); - argParser.addMultiOption('cleanup-package-files', - help: "List of globs to delete extra packages files and directories."); + argParser.addOption( + 'platform', + abbr: "p", + allowed: ["iOS", "Android", "Pyodide", "Windows", "Linux", "Darwin"], + mandatory: true, + help: "Install dependencies for specific platform, e.g. 'Android'.", + ); + argParser.addMultiOption( + 'arch', + help: + "Install dependencies for specific architectures only. Leave empty to install all supported architectures.", + ); + argParser.addMultiOption( + 'requirements', + abbr: "r", + help: "The list of dependencies to install. Allows any pip options.'", + splitCommas: false, + ); + argParser.addOption( + 'build-type', + abbr: 'b', + allowed: ['Debug', 'Profile', 'Release'], + defaultsTo: 'Release', + help: "Build type of application, one of debug, profile or release.", + ); + argParser.addOption( + 'asset', + abbr: 'a', + help: + "Output asset path, relative to pubspec.yaml, to package Python program into.", + ); + argParser.addMultiOption( + 'exclude', + help: + "List of relative paths to exclude from app package, e.g. \"assets,build\".", + ); + argParser.addFlag( + "skip-site-packages", + help: "Skip installation of site packages.", + negatable: false, + ); + argParser.addFlag( + "compile-app", + help: "Compile Python application before packaging.", + negatable: false, + ); + argParser.addFlag( + "compile-packages", + help: "Compile application packages before packaging.", + negatable: false, + ); + argParser.addFlag( + "cleanup", + help: "Cleanup app and packages from unneccessary files and directories.", + negatable: false, + ); + argParser.addFlag( + "cleanup-app", + help: "Cleanup app from unneccessary files and directories.", + negatable: false, + ); + argParser.addMultiOption( + 'cleanup-app-files', + help: "List of globs to delete extra app files and directories.", + ); + argParser.addFlag( + "cleanup-packages", + help: "Cleanup packages from unneccessary files and directories.", + negatable: false, + ); + argParser.addMultiOption( + 'cleanup-package-files', + help: "List of globs to delete extra packages files and directories.", + ); argParser.addFlag("verbose", help: "Verbose output.", negatable: false); } @@ -160,6 +196,7 @@ class PackageCommand extends Command { String platform = argResults?['platform']; List archArg = argResults?['arch']; List requirements = argResults?['requirements']; + String buildType = argResults?['build-type']; String? assetPath = argResults?['asset']; List exclude = argResults?['exclude']; bool skipSitePackages = argResults?["skip-site-packages"]; @@ -204,7 +241,8 @@ class PackageCommand extends Command { if (platform == "Pyodide") { pyodidePyPiServer = await startSimpleServer(); extraPyPiIndexes.add( - "http://${pyodidePyPiServer.address.host}:${pyodidePyPiServer.port}/simple"); + "http://${pyodidePyPiServer.address.host}:${pyodidePyPiServer.port}/simple", + ); } stdout.writeln("Extra PyPi indexes: $extraPyPiIndexes"); @@ -212,7 +250,7 @@ class PackageCommand extends Command { // ensure standard Dart/Flutter "build" directory exists _buildDir = Directory(path.join(currentPath, "build")); if (!_buildDir!.existsSync()) { - await _buildDir!.create(); + _buildDir!.createSync(); } // asset path @@ -226,18 +264,23 @@ class PackageCommand extends Command { final dest = File(path.join(currentPath, assetPath)); if (!dest.parent.existsSync()) { stdout.writeln("Creating asset directory: ${dest.parent.path}"); - await dest.parent.create(recursive: true); + dest.parent.createSync(recursive: true); } // create temp dir - tempDir = await Directory.systemTemp.createTemp('serious_python_temp'); + tempDir = Directory.systemTemp.createTempSync('serious_python_temp'); stdout.writeln("Created temp directory: ${tempDir.path}"); // copy app to a temp dir stdout.writeln( - "Copying Python app from ${sourceDir.path} to a temp directory"); - await copyDirectory(sourceDir, tempDir, sourceDir.path, - exclude.map((s) => s.trim()).toList()); + "Copying Python app from ${sourceDir.path} to a temp directory", + ); + await copyDirectory( + sourceDir, + tempDir, + sourceDir.path, + exclude.map((s) => s.trim()).toList(), + ); // compile all python code if (compileApp) { @@ -253,7 +296,8 @@ class PackageCommand extends Command { var allJunkFiles = [...junkFiles, ...cleanupAppFiles]; if (_verbose) { verbose( - "Delete unnecessary app files and directories: $allJunkFiles"); + "Delete unnecessary app files and directories: $allJunkFiles", + ); } else { stdout.writeln(("Cleanup app")); } @@ -263,25 +307,33 @@ class PackageCommand extends Command { // install requirements if (requirements.isNotEmpty && !skipSitePackages) { String? sitePackagesRoot; - - if (platform != "Pyodide") { - if (Platform.environment - .containsKey(sitePackagesEnvironmentVariable)) { + if (platform == 'Windows' || platform == 'Linux') { + sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); + } else if (platform != "Pyodide") { + if (Platform.environment.containsKey( + sitePackagesEnvironmentVariable, + )) { sitePackagesRoot = Platform.environment[sitePackagesEnvironmentVariable]; } if (sitePackagesRoot == null || sitePackagesRoot.isEmpty) { + verbose( + "Setting sitePackagesRoot(./build/site-packages): $sitePackagesRoot", + ); sitePackagesRoot = path.join(currentPath, "build", "site-packages"); } } else { + verbose( + "Setting sitePackagesRoot(tempDir,defaultSitePackagesDir): $sitePackagesRoot", + ); sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); } - if (Directory(sitePackagesRoot).existsSync()) { - await for (var f in Directory(sitePackagesRoot) - .list() - .where((f) => !path.basename(f.path).startsWith("."))) { - await f.delete(recursive: true); + verbose("Deleting packages from sitePackagesRoot: $sitePackagesRoot"); + await for (var f in Directory( + sitePackagesRoot, + ).list().where((f) => !path.basename(f.path).startsWith("."))) { + f.deleteSync(recursive: true); } } @@ -291,57 +343,94 @@ class PackageCommand extends Command { if (archArg.isNotEmpty && !archArg.contains(arch.key)) { continue; } - String? sitePackagesDir; + stdout.writeln( + "Invoking pip for platform/arch: $platform/${arch.key}", + ); + String sitePackagesDir = sitePackagesRoot; Map? pipEnv; Directory? sitecustomizeDir; try { // customized pip // create temp dir with sitecustomize.py for mobile and web - sitecustomizeDir = await Directory.systemTemp - .createTemp('serious_python_sitecustomize'); - var sitecustomizePath = - path.join(sitecustomizeDir.path, "sitecustomize.py"); + sitecustomizeDir = Directory.systemTemp.createTempSync( + 'serious_python_sitecustomize', + ); + var sitecustomizePath = path.join( + sitecustomizeDir.path, + "sitecustomize.py", + ); if (_verbose) { verbose( - "Configured $platform/${arch.key} platform with sitecustomize.py at $sitecustomizePath"); + "Configured $platform/${arch.key} platform with sitecustomize.py at $sitecustomizePath", + ); } else { stdout.writeln( - "Configured $platform/${arch.key} platform with sitecustomize.py"); + "Configured $platform/${arch.key} platform with sitecustomize.py", + ); } - await File(sitecustomizePath).writeAsString(sitecustomizePy - .replaceAll( - "{platform}", arch.value["tag"]!.isNotEmpty ? platform : "") - .replaceAll("{tag}", arch.value["tag"]!) - .replaceAll("{mac_ver}", arch.value["mac_ver"]!)); + File(sitecustomizePath).writeAsStringSync( + sitecustomizePy + .replaceAll( + "{platform}", + arch.value["tag"]!.isNotEmpty ? platform : "", + ) + .replaceAll("{tag}", arch.value["tag"]!) + .replaceAll("{mac_ver}", arch.value["mac_ver"]!), + ); // print(File(sitecustomizePath).readAsStringSync()); pipEnv = { - "PYTHONPATH": - [sitecustomizeDir.path].join(Platform.isWindows ? ";" : ":"), + "PYTHONPATH": [ + sitecustomizeDir.path, + ].join(Platform.isWindows ? ";" : ":"), }; - - sitePackagesDir = arch.key.isNotEmpty - ? path.join(sitePackagesRoot, arch.key) - : sitePackagesRoot; - if (!await Directory(sitePackagesDir).exists()) { - await Directory(sitePackagesDir).create(recursive: true); + String buildDir = path.join( + currentPath, + 'build', + Platform.operatingSystem, + arch.key == "x86_64" ? "x64" : arch.key, + "runner", + Platform.isWindows ? buildType : buildType.toLowerCase(), + ); + sitePackagesDir = + arch.key.isNotEmpty + ? Platform.isWindows + ? path.join(buildDir, "site-packages") + : path.join(buildDir, "python3.12", "site-packages") + : sitePackagesRoot; + if (!Directory(sitePackagesDir).existsSync()) { + verbose("Creating sitePackagesDir: $sitePackagesDir"); + Directory(sitePackagesDir).createSync(recursive: true); } - stdout.writeln( - "Installing $requirements with pip command to $sitePackagesDir"); + verbose( + "Installing $requirements with pip command to $sitePackagesDir", + ); List pipArgs = ["--disable-pip-version-check"]; + if (compilePackages) { + pipArgs.addAll(['--compile', '--only-binary=:all:']); + if (platform == 'Windows') { + if (arch.key == 'arm64') { + pipArgs.addAll(["--platform", "win_arm64"]); + } else { + pipArgs.addAll(["--platform", "win_amd64"]); + } + } + } + if (isMobile || isWeb) { pipArgs.addAll(["--only-binary", ":all:"]); - if (Platform.environment - .containsKey(allowSourceDistrosEnvironmentVariable)) { + if (Platform.environment.containsKey( + allowSourceDistrosEnvironmentVariable, + )) { pipArgs.addAll([ "--no-binary", - Platform.environment[allowSourceDistrosEnvironmentVariable]! + Platform.environment[allowSourceDistrosEnvironmentVariable]!, ]); } } @@ -358,29 +447,37 @@ class PackageCommand extends Command { ...pipArgs, '--target', sitePackagesDir, - ...requirements + ...requirements, ], environment: pipEnv); // move $sitePackagesDir/flutter if env var is defined - if (Platform.environment - .containsKey(flutterPackagesFlutterEnvironmentVariable)) { - var flutterPackagesRoot = Platform - .environment[flutterPackagesFlutterEnvironmentVariable]; + if (Platform.environment.containsKey( + flutterPackagesFlutterEnvironmentVariable, + )) { + var flutterPackagesRoot = + Platform + .environment[flutterPackagesFlutterEnvironmentVariable]; var flutterPackagesRootDir = Directory(flutterPackagesRoot!); - var sitePackagesFlutterDir = - Directory(path.join(sitePackagesDir, "flutter")); - if (await sitePackagesFlutterDir.exists()) { + var sitePackagesFlutterDir = Directory( + path.join(sitePackagesDir, "flutter"), + ); + if (sitePackagesFlutterDir.existsSync()) { if (!flutterPackagesCopied) { stdout.writeln( - "Copying Flutter packages to $flutterPackagesRoot"); + "Copying Flutter packages to $flutterPackagesRoot", + ); if (!flutterPackagesRootDir.existsSync()) { - await flutterPackagesRootDir.create(recursive: true); + flutterPackagesRootDir.createSync(recursive: true); } - await copyDirectory(sitePackagesFlutterDir, - flutterPackagesRootDir, sitePackagesFlutterDir.path, []); + await copyDirectory( + sitePackagesFlutterDir, + flutterPackagesRootDir, + sitePackagesFlutterDir.path, + [], + ); flutterPackagesCopied = true; } - await sitePackagesFlutterDir.delete(recursive: true); + sitePackagesFlutterDir.deleteSync(recursive: true); } } @@ -390,6 +487,7 @@ class PackageCommand extends Command { await runPython(['-m', 'compileall', '-b', sitePackagesDir]); verbose("Deleting original .py files"); + await cleanupDir(Directory(sitePackagesDir), ["**.py"]); } @@ -398,32 +496,36 @@ class PackageCommand extends Command { var allJunkFiles = [...junkFiles, ...cleanupPackageFiles]; if (_verbose) { verbose( - "Delete unnecessary package files and directories: $allJunkFiles"); + "Delete unnecessary package files and directories: $allJunkFiles", + ); } else { stdout.writeln(("Cleanup installed packages")); } await cleanupDir(Directory(sitePackagesDir), allJunkFiles); } } finally { - if (sitecustomizeDir != null && await sitecustomizeDir.exists()) { + if (sitecustomizeDir != null && sitecustomizeDir.existsSync()) { verbose( - "Deleting sitecustomize directory ${sitecustomizeDir.path}"); - await sitecustomizeDir.delete(recursive: true); + "Deleting sitecustomize directory ${sitecustomizeDir.path}", + ); + sitecustomizeDir.deleteSync(recursive: true); } } } // for each arch if (platform == "Darwin") { await macos_utils.mergeMacOsSitePackages( - path.join(sitePackagesRoot, "arm64"), - path.join(sitePackagesRoot, "x86_64"), - path.join(sitePackagesRoot), - _verbose); + path.join(sitePackagesRoot, "arm64"), + path.join(sitePackagesRoot, "x86_64"), + path.join(sitePackagesRoot), + _verbose, + ); } // synchronize pod - var syncSh = - File(path.join(sitePackagesRoot, ".pod", "sync_site_packages.sh")); + var syncSh = File( + path.join(sitePackagesRoot, ".pod", "sync_site_packages.sh"), + ); if (syncSh.existsSync()) { await runExec("/bin/sh", [syncSh.path]); } @@ -431,24 +533,26 @@ class PackageCommand extends Command { // create archive stdout.writeln( - "Creating app archive at ${dest.path} from a temp directory"); + "Creating app archive at ${dest.path} from a temp directory", + ); final encoder = ZipFileEncoder(); encoder.zipDirectory(tempDir, filename: dest.path); // create hash file stdout.writeln("Writing app archive hash to ${dest.path}.hash"); - await File("${dest.path}.hash") - .writeAsString(await calculateFileHash(dest.path)); + File( + "${dest.path}.hash", + ).writeAsStringSync(await calculateFileHash(dest.path)); } catch (e) { - stdout.writeln("Error: $e"); + verbose("Error: $e"); } finally { if (tempDir != null && tempDir.existsSync()) { stdout.writeln("Deleting temp directory"); try { tempDir.deleteSync(recursive: true); - } on Exception catch(e, s){ - verbose('$e\n\n$s'); - } + } on Exception catch (e, s) { + verbose('$e\n\n$s'); + } } if (pyodidePyPiServer != null) { stdout.writeln("Shutting down Pyodide PyPI server"); @@ -457,21 +561,31 @@ class PackageCommand extends Command { } } - Future copyDirectory(Directory source, Directory destination, - String rootDir, List excludeList) async { + Future copyDirectory( + Directory source, + Directory destination, + String rootDir, + List excludeList, + ) async { await for (var entity in source.list()) { if (excludeList.contains(path.relative(entity.path, from: rootDir))) { continue; } if (entity is Directory) { - final newDirectory = - Directory(path.join(destination.path, path.basename(entity.path))); - await newDirectory.create(); + final newDirectory = Directory( + path.join(destination.path, path.basename(entity.path)), + ); + newDirectory.createSync(); await copyDirectory( - entity.absolute, newDirectory, rootDir, excludeList); + entity.absolute, + newDirectory, + rootDir, + excludeList, + ); } else if (entity is File) { - await entity - .copy(path.join(destination.path, path.basename(entity.path))); + entity.copySync( + path.join(destination.path, path.basename(entity.path)), + ); } } } @@ -479,23 +593,30 @@ class PackageCommand extends Command { Future cleanupDir(Directory directory, List filesGlobs) async { verbose("Cleanup directory ${directory.path}: $filesGlobs"); await cleanupDirRecursive( - directory, - filesGlobs.map((g) => Glob(g.replaceAll("\\", "/"), - context: path.Context(current: directory.path)))); + directory, + filesGlobs.map( + (g) => Glob( + g.replaceAll("\\", "/"), + context: path.Context(current: directory.path), + ), + ), + ); } Future cleanupDirRecursive( - Directory directory, Iterable globs) async { + Directory directory, + Iterable globs, + ) async { var emptyDir = true; for (var entity in directory.listSync()) { if (globs.any((g) => g.matches(entity.path.replaceAll("\\", "/"))) && - await entity.exists()) { + entity.existsSync()) { verbose("Deleting ${entity.path}"); - await entity.delete(recursive: true); + entity.deleteSync(recursive: true); } else if (entity is Directory) { if (await cleanupDirRecursive(entity, globs)) { verbose("Deleting empty directory ${entity.path}"); - await entity.delete(recursive: true); + entity.deleteSync(recursive: true); } else { emptyDir = false; } @@ -506,8 +627,11 @@ class PackageCommand extends Command { return emptyDir; } - Future runExec(String execPath, List args, - {Map? environment}) async { + Future runExec( + String execPath, + List args, { + Map? environment, + }) async { final proc = await Process.start(execPath, args, environment: environment); await for (final line in proc.stdout.transform(utf8.decoder)) { @@ -521,14 +645,17 @@ class PackageCommand extends Command { return proc.exitCode; } - Future runPython(List args, - {Map? environment}) async { + Future runPython( + List args, { + Map? environment, + }) async { if (_pythonDir == null) { _pythonDir = Directory( - path.join(_buildDir!.path, "build_python_$buildPythonVersion")); + path.join(_buildDir!.path, "build_python_$buildPythonVersion"), + ); if (!_pythonDir!.existsSync()) { - await _pythonDir!.create(); + _pythonDir!.createSync(); var isArm64 = Platform.version.contains("arm64"); @@ -541,15 +668,19 @@ class PackageCommand extends Command { arch = 'x86_64-unknown-linux-gnu'; } else if (Platform.isLinux && isArm64) { arch = 'aarch64-unknown-linux-gnu'; - } else if (Platform.isWindows) { + } else if (Platform.isWindows && !isArm64) { arch = 'x86_64-pc-windows-msvc-shared'; + } else if (Platform.isWindows && isArm64) { + arch = 'aarch64-pc-windows-msvc-shared'; } var pythonArchiveFilename = "cpython-$buildPythonVersion+$buildPythonReleaseDate-$arch-install_only_stripped.tar.gz"; - var pythonArchivePath = - path.join(_buildDir!.path, pythonArchiveFilename); + var pythonArchivePath = path.join( + _buildDir!.path, + pythonArchiveFilename, + ); if (!File(pythonArchivePath).existsSync()) { // download Python distr from GitHub @@ -558,26 +689,33 @@ class PackageCommand extends Command { if (_verbose) { verbose( - "Downloading Python distributive from $url to $pythonArchivePath"); + "Downloading Python distributive from $url to $pythonArchivePath", + ); } else { stdout.writeln( - "Downloading Python distributive from $url to a build directory"); + "Downloading Python distributive from $url to a build directory", + ); } var response = await http.get(Uri.parse(url)); - await File(pythonArchivePath).writeAsBytes(response.bodyBytes); + File(pythonArchivePath).writeAsBytesSync(response.bodyBytes); } // extract Python from archive if (_verbose) { verbose( - "Extracting Python distributive from $pythonArchivePath to ${_pythonDir!.path}"); + "Extracting Python distributive from $pythonArchivePath to ${_pythonDir!.path}", + ); } else { stdout.writeln("Extracting Python distributive"); } - await Process.run( - 'tar', ['-xzf', pythonArchivePath, '-C', _pythonDir!.path]); + await Process.run('tar', [ + '-xzf', + pythonArchivePath, + '-C', + _pythonDir!.path, + ]); if (Platform.isMacOS) { duplicateSysconfigFile(_pythonDir!.path); @@ -585,9 +723,10 @@ class PackageCommand extends Command { } } - var pythonExePath = Platform.isWindows - ? path.join(_pythonDir!.path, 'python', 'python.exe') - : path.join(_pythonDir!.path, 'python', 'bin', 'python3'); + var pythonExePath = + Platform.isWindows + ? path.join(_pythonDir!.path, 'python', 'python.exe') + : path.join(_pythonDir!.path, 'python', 'bin', 'python3'); // Run the python executable verbose([pythonExePath, ...args].join(" ")); @@ -595,8 +734,10 @@ class PackageCommand extends Command { } void duplicateSysconfigFile(String pythonDir) { - final sysConfigGlob = Glob("python/lib/python3.*/_sysconfigdata__*.py", - context: path.Context(current: pythonDir)); + final sysConfigGlob = Glob( + "python/lib/python3.*/_sysconfigdata__*.py", + context: path.Context(current: pythonDir), + ); for (var sysConfig in sysConfigGlob.listSync(root: pythonDir)) { // copy the first found sys config and exit if (sysConfig is File) { @@ -620,8 +761,9 @@ class PackageCommand extends Command { const htmlHeader = "\n"; const htmlFooter = "\n"; - var pyodidePackages = - await fetchJsonFromUrl("$pyodideRootUrl/$pyodideLockFile"); + var pyodidePackages = await fetchJsonFromUrl( + "$pyodideRootUrl/$pyodideLockFile", + ); var wheels = Map.from(pyodidePackages["packages"]) ..removeWhere((k, p) => !p["file_name"].endsWith(".whl")); @@ -632,32 +774,40 @@ class PackageCommand extends Command { var parts = path.split("/"); if (parts.length == 1 && parts[0] == "simple") { return Response.ok( - htmlHeader + - wheels.keys - .map((k) => '$k
\n') - .join("") + - htmlFooter, - headers: {"Content-Type": "text/html"}); + htmlHeader + + wheels.keys + .map((k) => '$k
\n') + .join("") + + htmlFooter, + headers: {"Content-Type": "text/html"}, + ); } else if (parts.length == 2 && parts[0] == "simple") { List links = []; wheels.forEach((k, p) { if (k == parts[1].toLowerCase()) { links.add( - "${p['file_name']}
"); + "${p['file_name']}
", + ); } }); - return Response.ok(htmlHeader + links.join("\n") + htmlFooter, - headers: {"Content-Type": "text/html"}); + return Response.ok( + htmlHeader + links.join("\n") + htmlFooter, + headers: {"Content-Type": "text/html"}, + ); } else { return Response.ok('Request for "${request.url}"'); } } - var handler = - const Pipeline().addMiddleware(logRequests()).addHandler(serveRequest); + var handler = const Pipeline() + .addMiddleware(logRequests()) + .addHandler(serveRequest); - var server = - await shelf_io.serve(handler, '127.0.0.1', await getUnusedPort()); + var server = await shelf_io.serve( + handler, + '127.0.0.1', + await getUnusedPort(), + ); // Enable content compression server.autoCompress = true; From 13cb17959864c60e361df662f83c3babaecc2c69 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Wed, 26 Nov 2025 04:23:37 -0500 Subject: [PATCH 12/14] Format --- src/serious_python/example/flet_example/pubspec.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/serious_python/example/flet_example/pubspec.yaml b/src/serious_python/example/flet_example/pubspec.yaml index 8ba3cf2a..81f06b6f 100644 --- a/src/serious_python/example/flet_example/pubspec.yaml +++ b/src/serious_python/example/flet_example/pubspec.yaml @@ -31,15 +31,12 @@ environment: dependencies: flutter: sdk: flutter - serious_python: path: ../../ - flet: git: url: https://github.com/flet-dev/flet.git path: packages/flet - path: ^1.9.1 url_strategy: ^0.2.0 path_provider: ^2.1.5 From c240946c8e312d9869f907ada35b78c7457d1fdc Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Sun, 30 Nov 2025 07:47:51 -0500 Subject: [PATCH 13/14] Setting sitePackagesDir to build dir --- src/serious_python/bin/package_command.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serious_python/bin/package_command.dart b/src/serious_python/bin/package_command.dart index c3d5aee0..204459bb 100644 --- a/src/serious_python/bin/package_command.dart +++ b/src/serious_python/bin/package_command.dart @@ -324,7 +324,7 @@ class PackageCommand extends Command { } } else { verbose( - "Setting sitePackagesRoot(tempDir,defaultSitePackagesDir): $sitePackagesRoot", + "Setting sitePackagesRoot(tempDir,defaultSitePackagesDir): ${path.join(tempDir.path, defaultSitePackagesDir)}", ); sitePackagesRoot = path.join(tempDir.path, defaultSitePackagesDir); } @@ -346,7 +346,7 @@ class PackageCommand extends Command { stdout.writeln( "Invoking pip for platform/arch: $platform/${arch.key}", ); - String sitePackagesDir = sitePackagesRoot; + // String sitePackagesDir = sitePackagesRoot; Map? pipEnv; Directory? sitecustomizeDir; @@ -395,7 +395,7 @@ class PackageCommand extends Command { "runner", Platform.isWindows ? buildType : buildType.toLowerCase(), ); - sitePackagesDir = + final sitePackagesDir = arch.key.isNotEmpty ? Platform.isWindows ? path.join(buildDir, "site-packages") From be83409ed184e7c0791d69a1810713fe271d43e5 Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Sun, 30 Nov 2025 07:49:12 -0500 Subject: [PATCH 14/14] Using cmake-generator-expressions for comparisons --- src/serious_python_windows/windows/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/serious_python_windows/windows/CMakeLists.txt b/src/serious_python_windows/windows/CMakeLists.txt index a9280026..f0573065 100644 --- a/src/serious_python_windows/windows/CMakeLists.txt +++ b/src/serious_python_windows/windows/CMakeLists.txt @@ -93,11 +93,11 @@ add_custom_command(TARGET CopyPythonDLLs POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory "${PYTHON_PACKAGE}/DLLs" "${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs" - COMMAND IF \"$<$:release>\" == \"release\" DEL \"${CMAKE_BINARY_DIR}/runner/Release/DLLs\\*_d.*\" /S /Q - COMMAND DEL \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\*.ico\" /S /Q - COMMAND DEL \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\*.cat\" /S /Q - COMMAND DEL \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\tcl86t.dll\" /Q - COMMAND DEL \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\tk86t.dll\" /Q + COMMAND IF \"$\" == \"1\" (DEL /S /Q \"${CMAKE_BINARY_DIR}/runner/Release/DLLs\\*_d.*\") + COMMAND DEL /S /Q \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\*.ico\" + COMMAND DEL /S /Q \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\*.cat\" + COMMAND DEL /Q \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\tcl86t.dll\" + COMMAND DEL /Q \"${CMAKE_BINARY_DIR}/runner/$<$:Release>$<$:Debug>/DLLs\\tk86t.dll\" ) if(DEFINED ENV{SERIOUS_PYTHON_SITE_PACKAGES})