-
Notifications
You must be signed in to change notification settings - Fork 38
Bump archive dependency to ^4.0.7
#184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR upgrades the archive dependency from ^3.6.1 to ^4.0.7 across the serious_python plugin ecosystem, including necessary API migration changes to accommodate breaking changes in the archive 4.x API.
Key Changes:
- Updated
archivedependency to^4.0.7in packages that use it directly - Migrated archive API calls in utils.dart to use archive 4.x methods (
decodeBuffer→decodeStream,extractArchiveToDiskAsync→extractArchiveToDisk) - Updated
flutter_lintsfrom^2.0.0to^6.0.0across all packages and examples
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/serious_python_windows/pubspec.yaml | Bumped package version to 0.9.5 and flutter_lints to ^6.0.0 |
| src/serious_python_windows/CHANGELOG.md | Added 0.9.5 changelog entry documenting archive bump |
| src/serious_python_platform_interface/pubspec.yaml | Updated archive to ^4.0.7 and flutter_lints to ^6.0.0 |
| src/serious_python_platform_interface/lib/src/utils.dart | Migrated to archive 4.x API (decodeStream, extractArchiveToDisk) |
| src/serious_python_platform_interface/CHANGELOG.md | Added 0.9.5 changelog entry documenting archive bump |
| src/serious_python_linux/pubspec.yaml | Bumped package version to 0.9.5 and flutter_lints to ^6.0.0 |
| src/serious_python_linux/CHANGELOG.md | Added 0.9.5 changelog entry documenting archive bump |
| src/serious_python_darwin/pubspec.yaml | Bumped package version to 0.9.5 and flutter_lints to ^6.0.0 |
| src/serious_python_android/pubspec.yaml | Bumped package version to 0.9.5 and flutter_lints to ^6.0.0 |
| src/serious_python_android/CHANGELOG.md | Added 0.9.5 changelog entry documenting archive bump |
| src/serious_python/pubspec.yaml | Bumped package version to 0.9.5, updated archive to ^4.0.7, and flutter_lints to ^6.0.0 |
| src/serious_python/CHANGELOG.md | Added 0.9.5 changelog entry documenting archive bump |
| src/serious_python/example/run_example/pubspec.yaml | Updated flutter_lints to ^6.0.0 |
| src/serious_python/example/flet_example/pubspec.yaml | Updated flutter_lints to ^6.0.0 |
| src/serious_python/example/flask_example/pubspec.yaml | Updated flutter_lints to ^6.0.0 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release.
…cy (#185) * Fix leading dash in framework identifier generation Ensures that any leading dashes are removed from the generated framework identifier in xcframework_utils.sh. Defaults to 'framework' if the identifier is empty after processing. * Update CFBundlePackageType to FMWK in plist generation Changed the CFBundlePackageType from 'APPL' to 'FMWK' in the create_plist function to correctly identify the bundle as a framework. Also made a minor whitespace adjustment in create_xcframework_from_dylibs. * Bump `archive` dependency to `^4.0.7` (#184) * update `archive` dependency to ``^4.0.7` and bump serious_python version to `0.9.5` * revert flutter_lints dependency to version 2.0.0 * Bump version to 0.9.5 for Android and Darwin Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release. --------- Co-authored-by: Feodor Fitsner <[email protected]> * Update changelogs for iOS framework identifier fix Added notes to all package changelogs for version 0.9.5 about the fix for iOS framework identifier generation. --------- Co-authored-by: TheEthicalBoy <[email protected]>
…cy (flet-dev#185) * Fix leading dash in framework identifier generation Ensures that any leading dashes are removed from the generated framework identifier in xcframework_utils.sh. Defaults to 'framework' if the identifier is empty after processing. * Update CFBundlePackageType to FMWK in plist generation Changed the CFBundlePackageType from 'APPL' to 'FMWK' in the create_plist function to correctly identify the bundle as a framework. Also made a minor whitespace adjustment in create_xcframework_from_dylibs. * Bump `archive` dependency to `^4.0.7` (flet-dev#184) * update `archive` dependency to ``^4.0.7` and bump serious_python version to `0.9.5` * revert flutter_lints dependency to version 2.0.0 * Bump version to 0.9.5 for Android and Darwin Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release. --------- Co-authored-by: Feodor Fitsner <[email protected]> * Update changelogs for iOS framework identifier fix Added notes to all package changelogs for version 0.9.5 about the fix for iOS framework identifier generation. --------- Co-authored-by: TheEthicalBoy <[email protected]>
* Fixed iOS framework identifier generation and bump `archive` dependency (flet-dev#185) * Fix leading dash in framework identifier generation Ensures that any leading dashes are removed from the generated framework identifier in xcframework_utils.sh. Defaults to 'framework' if the identifier is empty after processing. * Update CFBundlePackageType to FMWK in plist generation Changed the CFBundlePackageType from 'APPL' to 'FMWK' in the create_plist function to correctly identify the bundle as a framework. Also made a minor whitespace adjustment in create_xcframework_from_dylibs. * Bump `archive` dependency to `^4.0.7` (flet-dev#184) * update `archive` dependency to ``^4.0.7` and bump serious_python version to `0.9.5` * revert flutter_lints dependency to version 2.0.0 * Bump version to 0.9.5 for Android and Darwin Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release. --------- Co-authored-by: Feodor Fitsner <[email protected]> * Update changelogs for iOS framework identifier fix Added notes to all package changelogs for version 0.9.5 about the fix for iOS framework identifier generation. --------- Co-authored-by: TheEthicalBoy <[email protected]> * Fix zip directory (flet-dev#186) * Make zipDirectory call asynchronous Added 'await' to the zipDirectory method to ensure the archive creation completes before proceeding. This change improves reliability when creating app archives. * Bump to 0.9.6 and make zipDirectory asynchronous Updated all platform packages to version 0.9.6. The zipDirectory call is now asynchronous across all implementations for improved performance and consistency. * Make setenv calls awaitable in Python init Refactored the setenv function to return a Future<void> and updated all calls to setenv to use await. This ensures environment variables are set in the correct order before proceeding. * Ensure single CPython interpreter per process Introduces a guard to prevent repeated initialization and finalization of the CPython interpreter, addressing crashes on second launch with CPython 3.12. Also ensures the current native thread is registered with the GIL when running Python code, improving stability when re-entering Python from new Dart isolates or threads. * Remove 'Warning:' prefix from debug message Updated the debugPrint statement to remove the 'Warning:' prefix when unable to load libpyjni.so. This change streamlines log output for consistency. * Revert "Ensure single CPython interpreter per process" This reverts commit 3f4adc0. * chore: bump python version to 3.14.2 * fix python-windows-dart package name --------- Co-authored-by: Feodor Fitsner <[email protected]> Co-authored-by: TheEthicalBoy <[email protected]>
No description provided.