Skip to content

Bump serious_python 4.2.1 / python-build 20260701#6630

Merged
FeodorFitsner merged 1 commit into
flet-0.86from
bump-serious-python-4.2.1
Jul 2, 2026
Merged

Bump serious_python 4.2.1 / python-build 20260701#6630
FeodorFitsner merged 1 commit into
flet-0.86from
bump-serious-python-4.2.1

Conversation

@FeodorFitsner

@FeodorFitsner FeodorFitsner commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Re-pins the bundled Python runtime to the latest serious_python / python-build releases.

  • python_versions.py: PYTHON_BUILD_RELEASE_DATE 2026063020260701. The new python-build release only rebuilds the iOS runtime (which now bundles the _multiprocessing extension — importable, not spawnable). Its manifest.json is otherwise byte-identical to 20260630, so the supported Python (3.12.13 / 3.13.14 / 3.14.6) / Pyodide / dart_bridge (1.4.1) / ABI set is unchanged — flet fetches the manifest at build time, so no version table needs regenerating.
  • build template pubspec.yaml: serious_python 4.2.04.2.1, which ships the ctypes .dylib iOS-simulator load fix (fix(darwin): framework-ize ctypes .dylib libs so they load on the iOS simulator serious-python#223): .dylib-shipping packages like llama-cpp-python now dlopen on the simulator instead of failing with incompatible platform (have 'iOS', need 'iOS-simulator').
  • CHANGELOG: one Bug-fixes bullet covering the simulator fix + _multiprocessing.

Based on flet-0.86 (targets flet-0.86).

⚠️ Merge sequencing

The template pins serious_python: 4.2.1 exactly, so flet build will not resolve until serious_python 4.2.1 is published to pub.dev. That release is still in flight (flet-dev/serious-python#224). Do not merge/release this ahead of the serious_python 4.2.1 publish. python-build 20260701 is already published, so that half is live.

Summary by Sourcery

Update bundled Python runtime references to the latest serious_python and python-build releases for iOS and document the related simulator loading and multiprocessing changes.

Bug Fixes:

  • Ensure ctypes-based packages shipping plain .dylib libraries load correctly on the iOS simulator instead of failing with a platform mismatch.
  • Include the _multiprocessing extension in the iOS Python runtime bundle (importable, not spawnable).

Enhancements:

  • Re-pin the Python runtime to python-build release 20260701 to align with the latest serious_python configuration.
  • Bump the build template dependency to serious_python 4.2.1 for improved iOS simulator compatibility.

Documentation:

  • Add CHANGELOG entry describing the updated iOS runtime behavior, simulator load fix, and version bumps.

- python_versions.py: PYTHON_BUILD_RELEASE_DATE 20260630 -> 20260701. The new
  python-build release only rebuilds the iOS runtime (now bundles the
  `_multiprocessing` extension, importable-not-spawnable); the manifest is
  otherwise identical to 20260630, so the supported Python/Pyodide/dart_bridge/
  ABI set is unchanged.
- build template pubspec.yaml: serious_python 4.2.0 -> 4.2.1, which ships the
  ctypes `.dylib` iOS-simulator load fix (serious_python#223).
- CHANGELOG: note the iOS simulator .dylib fix + `_multiprocessing`.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying flet-website-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 78bcae0
Status: ✅  Deploy successful!
Preview URL: https://bdd207d8.flet-website-v2.pages.dev
Branch Preview URL: https://bump-serious-python-4-2-1.flet-website-v2.pages.dev

View logs

@FeodorFitsner FeodorFitsner merged commit 967da28 into flet-0.86 Jul 2, 2026
107 of 184 checks passed
@FeodorFitsner FeodorFitsner deleted the bump-serious-python-4.2.1 branch July 2, 2026 17:20
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