Skip to content

Tags

Tags

20261027

Toggle 20261027's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Pythons to 3.12.16/3.13.18/3.14.10 (#48)

* Bump Pythons to 3.12.16/3.13.18/3.14.10

* python-build-standalone 20261026 for all three.
* 3.13 iOS patch: refresh the Lib/test/support/__init__.py __all__ hunk context for 3.13.18, which added requires_root_user / requires_non_root_user.

* Android: skip the mimalloc openat patch when upstream already guards Android

3.14.10's mimalloc only takes the raw-syscall path on non-Android Linux, so
mi_prim_open uses libc open() (openat in bionic) and the patch no longer applies.

20261016

Toggle 20261016's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Pythons to 3.12.15/3.13.16/3.14.8; iOS 15.0 / macOS 12.0 minimum…

…s; dart_bridge 1.11.0 (#46)

* Bump Pythons to 3.12.15/3.13.16/3.14.8; iOS 15.0 / macOS 12.0 minimums; dart_bridge 1.11.0

* 3.12 iOS patch: use ASN1_STRING accessors in _ssl.c so the build-python compiles against OpenSSL 4

20260921

Toggle 20260921's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Pyodide to 0.27.8/0.29.5/314.0.7 and dart_bridge to 1.10.0 (#42)

Patch-level Pyodide updates for all three Python lines; ABI versions are
unchanged (2024_0 / 2025_0 / 2026_0), so the platform tags stay as-is.

20260908

Toggle 20260908's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump dart_bridge to 1.9.0 (#41)

dart_bridge 1.9.0 adds serious_python_hard_exit, which terminates the process
without running atexit handlers or C++ static destructors.

Embedders were seeing a SIGSEGV on exit: the interpreter runs on a detached
thread that may still be executing native extension code when the host quits,
and a normal exit() runs __cxa_finalize, destroying the C++ statics inside
every loaded extension module out from under it. The reported case died in
matplotlib's ft2font looking up a pybind11 type-caster map that had just been
destructed.

No Python versions change. This re-release exists to publish the updated
manifest so serious_python can regenerate its version tables against it.

See flet-dev/dart-bridge#20.

20260902

Toggle 20260902's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Pythons to 3.12.14/3.13.15/3.14.7, Pyodide 314.0.6, dart_bridge …

…1.8.0 (#40)

CPython micro bumps across all three minors, with standalone_release_date moved
from 20260623 to 20260901 -- the first python-build-standalone release carrying
all three (20260825 has them too; 20260901 is the newest). Pyodide 3.14 goes
314.0.3 -> 314.0.6; 3.13 (0.29.4) and 3.12 (0.27.7) are already on the newest
release of their respective lines. dart_bridge 1.8.0 per flet-dev/dart-bridge.

The workflow_dispatch choice list in build-python-version.yml is the one other
place full versions are spelled out, so it moves with the manifest.

Refresh the vendored 3.13 iOS patch for 3.13.15
-----------------------------------------------

3.13.15 back-ported the macOS 27 dup3/pipe2 change from 3.14, splitting

  if test "$ac_sys_system" != "iOS" ; then
    AC_CHECK_FUNCS([dup3 getentropy getgroups pipe2 system])
  fi

into a getentropy/getgroups/system check gated on iOS and a separate dup3/pipe2
check gated on iOS *and* Darwin. Our back-port widens that gate to the other
Apple platforms, so its hunk no longer applied: one hunk failed in configure.ac
and one in configure (42/43 and 35/36 applying). The 3.12 patch is unaffected --
3.12.14 does not carry the change.

Both gates now get the tvOS/visionOS/watchOS arms, which preserves the patch's
intent: dup3 and pipe2 were in the widened set before the split, so dropping
them from it would have quietly re-enabled two symbols on those platforms.
Nothing here builds tvOS/visionOS/watchOS, so this is inert for our matrix --
it just keeps the vendored patch faithful to the beeware back-port it came from.

Verified by extracting the pristine 3.12.14 and 3.13.15 tarballs and applying
each patch with `patch -p1`: zero rejects, no offsets, no fuzz, and the merged
configure/configure.ac agree with each other.

20260730

Toggle 20260730's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix macOS framework layout so the inner bundle can be signed (#39)

The signing job failed on every python-macos-dart archive with:

  Python.framework: unsealed contents present in the root directory of
  an embedded framework

macOS frameworks are VERSIONED bundles: everything at the framework root must be
a symlink into Versions/Current, and only `Versions` itself may be a real
directory. package-macos-for-dart.sh wrote the overlaid `Modules` and the public
`Headers` as real directories at the root. That was invisible while only the
outer xcframework was signed -- the outer seal does not care -- and became fatal
the moment the inner framework was signed in its own right.

They now go into Versions/Current with symlinks at the root, which is both what
codesign requires and what CPython's own macOS framework already does for Headers
and Resources. Consumers resolve Headers/ and Modules/ through the symlinks
exactly as before.

Also fixes the verifier, which was wrong in a way the same run exposed: it probed
for `_CodeSignature` or `Versions/A/_CodeSignature`, but a versioned bundle's
version directory is not always "A" -- CPython's macOS framework uses
Versions/3.14 -- so a correctly signed macOS framework was reported as unsigned.
It now asks `codesign -dv`, which is layout-agnostic and is the actual question.

Verified with the real identity against the released 20260729 macOS archive:
inner and outer both sign and verify, dart_bridge v1.7.1 (Versions/A) still
verifies, and stripping the inner signature still fails the run.

20260729

Toggle 20260729's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Provider-sign every published Apple XCFramework; dart_bridge 1.7.0 (#37)

* Provider-sign every published Apple XCFramework

Xcode records the state of each .xcframework an app links against AS ITS
PUBLISHER SHIPPED IT and writes that into the IPA as
Signatures/<name>.xcframework-<platform>.signature. Everything we publish was
unsigned, so those receipts read `signed = false` / `isSecureTimestamp = false` --
which is what Apple's App Store scan reports as ITMS-91065: Missing signature
(flet-dev/flet#6724). The app's own signature does not fill this in: Xcode
re-signs the embedded copy with the submitting team's identity, and the
SDK-origin receipt is a separate record.

Stable provider-owned identifiers (darwin/xcframework_identifiers.sh)

A framework's CFBundleIdentifier becomes its code-signing identifier and is baked
in here, long before anyone knows which app will embed it. It must therefore not
depend on the consuming app -- serious_python used to rewrite it downstream,
which edits an Info.plist inside a signed bundle and destroys the very signature
the receipt reports on. The Python runtime is now dev.flet.python.runtime and each
stdlib extension dev.flet.python.<module>, replacing the shared org.python.*.
Leading hyphens are kept (`_ssl` -> `dev.flet.python.-ssl`), matching CPython's own
convention, so `_ssl` cannot collide with a hypothetical `ssl`. Validation asserts
every identifier is syntactically valid, unique across the set, identical across
device and simulator slices, and provider-prefixed.

Signing (darwin/xcframework_signing.sh, darwin/sign_darwin_archives.sh)

Signing must be the last thing that happens to a bundle and it needs a release
certificate. Doing it on the finished archives satisfies both: by the time an
archive exists, every mutation -- install names, plists, privacy manifests, header
overlays, pruning, stripping, bytecode compilation -- is done, and the certificate
never has to be present in the build matrix that runs on every push and PR.

Per archive: extract, validate identifiers, sign every outer xcframework and
verify each immediately, re-pack, then extract the re-packed archive into a fresh
directory and verify again. The re-pack preserves the original member-path shape
("./install/..." vs "install/...") because consumers extract with --wildcards
patterns that match one and not the other.

The outer seal is stamped with an explicit `-i`, read off the xcframework's own
inner framework: an .xcframework root Info.plist is an XFWK manifest with no
CFBundleIdentifier, so codesign would otherwise fall back to the bundle's file
name. Verification asserts an outer _CodeSignature/CodeResources, `codesign
--verify --strict`, a non-ad-hoc signature, a real Timestamp= (not the
self-asserted Signed Time=), the expected authority and TeamIdentifier, and that
the seal's identifier matches the inner framework's. No --deep, no
--timestamp=none.

package-ios-for-dart.sh additionally asserts the _ssl and _hashlib privacy
manifests survived into both slices -- a silent miss there surfaces as an App
Store rejection, not a build error.

CI

sign-darwin-artifacts is a release-only job in the protected `release-signing`
environment, gated on a workflow_dispatch with a release_date from main. It
imports the p12 into a temporary keychain without -A (only codesign and security
may reach the key), derives exactly one identity fingerprint and fails on any
other count, and deletes the keychain in an always() step.

The unsigned build artifact is renamed darwin-unsigned-* rather than
python-darwin-*, specifically so no `python-*` download pattern in publish-release
can reach it. publish-release now downloads Android/Linux/Windows by explicit
pattern plus the python-darwin-signed bundle, is gated on main like the signing
job, and fails if the expected Darwin tarballs are absent.

The mobile-forge Python.xcframework gets its identifier immediately after
build_ios.py finishes -- that script strips and rewrites inside the bundle, so it
is the first moment the artifact is final.

Local builds without credentials still work and produce unsigned artifacts.
REQUIRE_XCFRAMEWORK_SIGNATURE=1, set on the release path, turns every missing
credential, missing timestamp, wrong team, or empty archive into a hard failure.

* Bump dart bridge version to 1.7.0

1.7.0 is the first dart_bridge release whose dart_bridge.xcframework carries a
provider signature with a secure timestamp, sealed under dev.flet.dartbridge --
the counterpart of what this branch does for the Python XCFrameworks. Both halves
have to move together, or the IPA still reports one of them as unsigned.

Version-keyed consumer caches hold the unsigned 1.6.1 zip, so this must be a
version bump rather than a re-release. Compiled binaries are unchanged from 1.6.1.

20260727

Toggle 20260727's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Stamp Xcode build-provenance keys into generated framework Info.plists (

#36)

create_plist() emitted ten hand-written keys and not a single DT* key, so the
frameworks built from lib-dynload .so's did not look to Apple's tooling like
anything Xcode had produced. Now emits the same key set Xcode stamps into a
real framework: BuildMachineOSBuild, DTCompiler, DTPlatformBuild,
DTPlatformName, DTPlatformVersion, DTSDKBuild, DTSDKName, DTXcode,
DTXcodeBuild, UIDeviceFamily and (device slice only) UIRequiredDeviceCapabilities.

Values are resolved once per run from the SDK actually in use — sw_vers,
xcrun --show-sdk-version/--show-sdk-build-version, and xcodebuild -version.

Also fixes the simulator slice, which previously claimed
CFBundleSupportedPlatforms=iPhoneOS. create_plist() now takes the platform as
its fourth argument and labels each slice correctly.

Context: flet-dev/flet#6724 (ITMS-91065 on _ssl/_hashlib). The missing DT*
keys are the most substantive difference we could find between these
frameworks and third-party OpenSSL xcframeworks the App Store accepts. Whether
that is what Apple's scan reads is unverified — a source signature was ruled
out experimentally (codesign -f at export destroys everything but the
identifier) and the privacy manifest was ruled out (the accepted third-party
package ships an empty stub).

20260726

Toggle 20260726's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Use OpenSSL's official privacy manifest for _ssl/_hashlib (#35)

The manifest bundled into _ssl.framework and _hashlib.framework was a stub:
NSPrivacyAccessedAPITypes was an empty array, and it carried an
NSPrivacyUsesNonStandardAPIs key that isn't part of Apple's schema.

Both frameworks statically link OpenSSL, so the manifest should be the one
OpenSSL publishes for its Apple builds — it declares the file-timestamp API
access (NSPrivacyAccessedAPICategoryFileTimestamp, reason C617.1) that the
library actually performs. Now byte-identical to
openssl/openssl:os-dep/Apple/PrivacyInfo.xcprivacy.

Context: flet-dev/flet#6724 reports ITMS-91065 ("Missing signature") for both
frameworks on a first App Store submission. This does not obviously explain
that rejection — Apple emitted no ITMS-91061, so it found the manifest — but
an incomplete manifest for a binary Apple has fingerprinted as OpenSSL is a
real defect worth eliminating before we test further.

20260725

Toggle 20260725's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump dart bridge 1.6.0 and Pyodide 314.0.3 versions (#33)

Update `manifest.json` to use `dart_bridge_version` 1.6.0 and bump Python 3.14’s `pyodide_version` from 314.0.2 to 314.0.3. This keeps runtime component versions aligned with the latest release set.