serious_python_platform_interface
A common platform interface for the serious_python plugin.
4.5.1
23K downloads/mo
#2065 most downloaded on pub.dev
flet-dev/serious-python
What this package is like to depend on
Last release 24 days ago
31 Jul 2026
Release timing varies
gaps range from 9 days to 2 months
Nearly every release is documented
notes for 48 of 51 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
52 releases · first in 2023
31 releases in the last 12 months
see the full history below
Release timeline
52 releases · Sep 2023 to Jul 2026Releases
latest 52-
4.5.131 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.5.1: sign and verify both XCFramework layers by @FeodorFitsner in #245
Full Changelog: v4.5.0...v4.5.1
-
4.5.029 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.5.0: preserve provider XCFramework signatures through staging by @FeodorFitsner in #244
Full Changelog: v4.4.2...v4.5.0
-
4.4.227 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.4.2: Xcode build-provenance keys in iOS framework Info.plists by @FeodorFitsner in #242
Full Changelog: v4.4.1...v4.4.2
-
4.4.126 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.4.1: OpenSSL privacy manifest for iOS _ssl/_hashlib by @FeodorFitsner in #241
Full Changelog: v4.4.0...v4.4.1
-
4.4.025 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.4.0: dart_bridge as a dynamic framework on Apple platforms by @FeodorFitsner in #240
Full Changelog: v4.3.6...v4.4.0
-
4.3.620 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.3.6: Windows UTF-8 startup fix (dart_bridge 1.5.1, python-build 20260720) by @FeodorFitsner in #238
- fix(android): make PEP 734 subinterpreters work (
concurrent.interpreters/InterpreterPoolExecutor) by @ndonkoHenri in #239
Full Changelog: v4.3.4...v4.3.6
Release notes
Open source →- Version bump aligning with the
serious_python_*4.3.6 release (Windows UTF-8 startup fix viadart_bridge1.5.1). No interface changes.
-
4.3.520 Jul 2026 withdrawnNothing published for this version
-
4.3.419 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.3.4: Android
flet debugstale-code fix (flet #6682) by @FeodorFitsner in #235 - Re-pin python-build to 20260719: desktop _pyrepl restored (pydoc/pdb, #236) by @FeodorFitsner in #237
Full Changelog: v4.3.3...v4.3.4
Release notes
Open source →- Version bump aligning with the
serious_python_*4.3.4 release (desktop_pyreplfix + Androidflet debugcache fix). No interface changes.
- Bump to 4.3.4: Android
-
4.3.316 Jul 2026Release notes
Open source →What's Changed
- Fix Windows build failure on non-UTF-8 locales (C4819/C2220) by @FeodorFitsner in #234
Full Changelog: v4.3.2...v4.3.3
-
4.3.214 Jul 2026Release notes
Open source →What's Changed
- Bump to 4.3.2: python-build 20260712 (Android mimalloc seccomp crash, mobile _pyrepl restored) by @FeodorFitsner in #230
- Mobile packaging fixes: iOS interdependent-dylib frameworks + Android native-init packages by @ndonkoHenri in #232
- Re-pin python-build to 20260714: iOS _posixshmem restored (multiprocessing imports) by @FeodorFitsner in #233
Full Changelog: v4.3.1...v4.3.2
-
4.3.110 Jul 2026 -
4.3.009 Jul 2026 -
4.2.102 Jul 2026 -
4.2.001 Jul 2026 -
4.1.129 Jun 2026 -
4.1.025 Jun 2026 -
4.0.022 Jun 2026Release notes
Open source →- Add
prepareApp()toSeriousPythonPlatform— materializes the packaged app on disk (if needed) and returns the directory containing its entry point. - Remove the runtime zip-extraction helpers (
extractAssetZip/extractFileZip/extractAssetOrFile/extractAsset); apps now ship unpacked in the bundle (or, on Android, as a stored asset unpacked by the platform plugin).getDirFilesis retained. - Version bump aligning with the
serious_python_*4.0.0 release (app files unpacked in the bundle).
- Add
-
3.0.018 Jun 2026Release notes
Open source →- Remove the scaffold
getPlatformVersionmethod from the platform interface and its method-channel implementation. - Version bump aligning with the
serious_python_*3.0.0 release (in-processdart_bridgeFFI transport, Flutter 3.44.2).
- Remove the scaffold
-
2.0.007 Jun 2026Release notes
Open source →- Version bump aligning with the major release of the
serious_python_*platform plugins (multi-version Python support, default Python now 3.14). No interface changes.
- Version bump aligning with the major release of the
-
1.0.106 Jun 2026Release notes
Open source →Improvements
- Cache downloaded Python distribution tarballs (
python-android-dart-<py>-<abi>.tar.gz) across builds. ThedownloadDistArchive_*Gradle tasks now write to a persistent cache directory —$FLET_CACHE_DIR/python-build/v<python_version>/if the env var is set, otherwise~/.flet/cache/python-build/v<python_version>/— and useonlyIfModified true+useETag "all"so subsequent builds issue a conditional GET (If-None-Match/If-Modified-Since) againstobjects.githubusercontent.cominstead of re-downloading 30–100 MB per ABI per build. When the upstream release republishes a tarball at the same URL (e.g. a Python patch update under the existingv<py>release), the validators flip and the cache refreshes automatically; otherwise the build skips the download entirely.tempAndMove trueguards against partial downloads being kept in the cache (flet-dev/flet#6555, #208) by @FeodorFitsner.
Bug fixes
- Cache downloaded Python distribution tarballs (
-
1.0.012 May 2026Release notes
Open source →- Breaking change:
--platformargument valuePyodidehas been renamed toEmscriptento match whatplatform.system()returns in the Pyodide runtime, so PEP 508 markers likeplatform_system != 'Emscripten'work consistently.
- Breaking change:
-
0.9.1203 May 2026 -
0.9.1101 Mar 2026 -
0.9.1021 Feb 2026Release notes
Open source →- Android: Add debug logs and deduplicate FFI imports.
- Android: Invalidate extracted assets when version keys change.
-
0.9.931 Jan 2026Release notes
Open source →- Add zipDirectoryPosix to create POSIX-compliant app archives on Windows.
- Enforce C++20 standard for
serious_pythonplugin build. - Fix: Normalize
WINDIRpath for bundled DLLs in CMake. - Fix Logcat logging crash on some Android devices.
-
0.9.822 Dec 2025 -
0.9.718 Dec 2025 -
0.9.601 Dec 2025 -
0.9.501 Dec 2025 -
0.9.421 Oct 2025 -
0.9.319 Oct 2025Release notes
Open source →- Fix: Hidden files in site-packages are skipped when building macOS app.
- Fix: Do not delete package metadata in
.dist-infodirectories (#164).
-
0.9.211 Mar 2025Release notes
Open source →- Breaking change: multiple
--requirementsoptions ofpackagecommand must be passed as--requirements DEP_1 --requirements DEP_2 ...(or-r DEP_1 -r DEP_2 ...) instead of-r DEP_1,DEP_2,...to support dependency specifications with commas, e.g.pandas>=2.2,<3. - Fix site-packages packaging for Pyodide platform.
- Breaking change: multiple
-
0.9.105 Mar 2025Release notes
Open source →- Fix
serious_pythonto work on macOS 12 Monterey and built with Xcode 14.
- Fix
-
0.9.020 Feb 2025Release notes
Open source →- Set
MinimumOSVersionto13.0for generated Python frameworks. - iOS and macOS packaging: Python system libraries are put into
python.bundleto pass App Store verification. - On macOS, Windows, and Linux, application site packages are copied in an unpacked state to the application bundle to speed up the first launch.
- Pyodide 0.27.2
- Python 3.12.9
- Packaging
--cleanupoption replaced with two separate--cleanup-appand--cleanup-packagesoptions. - New packaging options
--cleanup-app-filesand--cleanup-package-filesto specify a list of globs to exclude files and directories from app and site packages. - New packaging
--skip-site-packagesoption to skip site packages installation for faster re-builds. - Packaging
--archoption accepts a list now.
- Set
-
0.8.707 Jan 2025 -
0.8.606 Jan 2025Release notes
Open source →- Added
com.flet.serious_python_android.PythonActivityholder class withmActivityholding a reference to an app MainActivity. Needed forplyer. - Android plugin sets
MAIN_ACTIVITY_HOST_CLASS_NAMEenvironment variable with the name of activity holder class name (com.flet.serious_python_android.PythonActivity). - Android plugin sets
MAIN_ACTIVITY_CLASS_NAMEenvironment variable with a class name of an app MainActivity. - Android plugin sets
ANDROID_NATIVE_LIBRARY_DIRenvironment variable with the path to a directory containing app .so libraries. Needed for patchingctypes.find_library. - Changed behavior of
SERIOUS_PYTHON_ALLOW_SOURCE_DISTRIBUTIONSenvironment variable that should contain a comma-separated list of packages to allow installation from source distribution. - Fixed: iOS
site-packagestoxcframeworksmigration script supports bothlibrary.soandlibrary.{something}.so.
- Added
-
0.8.501 Jan 2025 -
0.8.405 Dec 2024Release notes
Open source →- Copy
site-packages/fluttercontents toSERIOUS_PYTHON_FLUTTER_PACKAGES. - Added
SERIOUS_PYTHON_ALLOW_SOURCE_DISTRIBUTIONSvariable to allow pip installing from source distributions.
- Copy
-
0.8.303 Dec 2024 -
0.8.228 Oct 2024 -
0.8.115 Oct 2024 -
0.8.007 Oct 2024 -
0.7.121 Jun 2024 -
0.7.015 Jan 2024Nothing published for this version
-
0.6.121 Dec 2023Nothing published for this version
-
0.6.013 Dec 2023Release notes
Open source →--verboseflag - verbose output.--mobileflag - (removes.so) from app dest archive.--webflag for packaging for pyodide.--find-linksoption for installing pip dependencies from alternative sources (indexes).--dep-mappingsfor rewritingfletdependency to eitherflet-embedorflet-pyodide.--req-depsfor adding required dependencies likeflet-embedorflet-pyodide.--platformoption for use withsitecustomize.pyto tweak pip to pull platform-specific packages.- More structured regular output.
- Bump deps versions.
-
0.5.125 Nov 2023 -
0.5.024 Nov 2023 -
0.4.102 Nov 2023 -
0.4.002 Nov 2023 -
0.3.125 Sep 2023Nothing published for this version
-
0.3.025 Sep 2023