Skip to content

Comments

Fix site-packages update on Android#194

Merged
FeodorFitsner merged 5 commits intomainfrom
site-packages-update-fix
Feb 21, 2026
Merged

Fix site-packages update on Android#194
FeodorFitsner merged 5 commits intomainfrom
site-packages-update-fix

Conversation

@FeodorFitsner
Copy link
Contributor

No description provided.

Introduces invalidateKey support to asset extraction utilities, allowing unpacked assets to be invalidated based on Python or app version. Updates Android plugin and Dart code to provide app and Python version info for more robust cache invalidation when extracting Python bundles and site-packages.
Move and remove duplicate ffi import, format python invalidate key assignment, and add spDebug logging for Python version and app version. These changes improve readability and add runtime debug output to help diagnose bundle extraction and versioning without altering core behavior.
Replace the SDK-version conditional for retrieving the app version code with a direct call to PackageInfo.getLongVersionCode(). This simplifies the code by removing the legacy branch that used the int versionCode and assumes compilation/targeting against API 28+ where getLongVersionCode() is available. No functional change to the returned string (versionName + "+" + versionCode).
Introduce .codex/skills/prepare-release/SKILL.md documenting a prepare-release workflow for serious_python. The file lists required inputs and step-by-step actions to bump package versions (pubspecs, podspec, Android build.gradle), run pub get for example apps, and add changelog entries from git history while excluding trivial/chore/duplicate items.
Bump package versions to 0.9.10 across the repository and add 0.9.10 changelog entries. Update platform package pubspecs, Android build.gradle and Darwin podspec. Update example pubspec.lock files to reference the new package versions and refreshed dependency hashes/versions (including a Dart SDK constraint bump in one lock). Changelog notes highlight: add Android debug logs, deduplicate FFI imports, and invalidate extracted assets when version keys change.
@FeodorFitsner FeodorFitsner merged commit 58b8bd5 into main Feb 21, 2026
21 of 22 checks passed
@FeodorFitsner FeodorFitsner deleted the site-packages-update-fix branch February 21, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant