Bump archive dependency to ^4.0.7#184
Merged
FeodorFitsner merged 3 commits intoios-bundle-id-fixfrom Dec 1, 2025
Merged
Conversation
There was a problem hiding this comment.
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.
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.
FeodorFitsner
approved these changes
Dec 1, 2025
Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release.
FeodorFitsner
added a commit
that referenced
this pull request
Dec 1, 2025
…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 <feodor@appveyor.com> * 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 <98978078+ndonkoHenri@users.noreply.github.com>
Creeper19472
pushed a commit
to cfms-dev/serious-python
that referenced
this pull request
Dec 12, 2025
…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 <feodor@appveyor.com> * 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 <98978078+ndonkoHenri@users.noreply.github.com>
Creeper19472
added a commit
to cfms-dev/serious-python
that referenced
this pull request
Dec 22, 2025
* 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 <feodor@appveyor.com> * 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 <98978078+ndonkoHenri@users.noreply.github.com> * 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 <feodor@appveyor.com> Co-authored-by: TheEthicalBoy <98978078+ndonkoHenri@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.