Skip to content

recipes: version bumps, part 2 - #137

Merged
ndonkoHenri merged 74 commits into
flet-dev:mainfrom
ndonkoHenri:recipe-bumps-2
Nov 16, 2026
Merged

ndonkoHenri merged 74 commits into
flet-dev:mainfrom
ndonkoHenri:recipe-bumps-2

Conversation

@ndonkoHenri

Copy link
Copy Markdown

What

Part 2, the last of the version-bump series: 96 recipes, one commit per recipe or chain.

  • Python recipes (about 60) on their latest releases, among them numpy 2.5.4, pandas 3.1.1, matplotlib 3.11.2, scipy 1.18.1, scikit-learn 1.9.1, sqlalchemy 2.1.8, duckdb 2.0.0, av 19.0.2, coolprop 8.0.0, websockets 17.4, ujson 6.1.0, pycryptodome 4.4.0, selectolax 1.0.2, uuid-utils 1.2.0, onnxruntime 1.32.0, primp 2.0.1, tokenizers 0.23.3.
  • Chains: GDAL 3.13.3 (flet-libgdal, gdal, rasterio 1.5.2, pyogrio 0.13.0, fiona rebuild, pyproj 3.8.0), Arrow 26.0.1 (flet-libarrow, pyarrow), spaCy 3.8.18 (thinc 8.3.14, srsly 2.5.6, cymem, murmurhash, preshed, blis).
  • Native libraries: libjpeg-turbo 3.2.1 (we shipped the 3.1 beta), libtiff 4.7.2, freetype 2.15.0, libxml2 2.15.4, libsodium 1.0.22, libpq 17.12, jq 1.8.2, curl 8.23.0, libpsl 0.23.3, PROJ 9.9.0, GEOS 3.15.0, OpenBLAS 0.3.34, libmagic 5.48, libiconv 1.19.1, FreeTDS 1.5.21, FFmpeg 8.1.3, libpng 1.6.59, LAME 4.0. Every exact pin moves with them; recipes whose own version is unchanged but which link a bumped library get a new build number (pillow, pynacl, python-magic, flet-libxslt, flet-libopaque, flet-libsndfile, flet-liboprf, flet-libzbar, kiwisolver).

Notable recipe changes

  • Stable-ABI wheels off (-Cwheel.py-api= or dropping PyO3's abi3-py310) for argon2-cffi-bindings, duckdb, uuid-utils, tokenizers and primp. The abi3 build asks FindPython for Development.SABIModule (missing from our support trees), and PyO3 links iOS extensions against -lpython3.10.
  • duckdb 2.0 moved to nanobind, which links no libpython; the NDK requires it, so Android links it explicitly.
  • coolprop 8.0 builds its legacy Cython wrapper (-DCOOLPROP_NANOBIND=OFF), the shape 7.x shipped.
  • shapely 2.2 moved to meson-python; geos-from-env.patch declares GEOS from the env vars the recipe already sets (flet-libgeos ships no .pc).
  • flet-libgdal on iOS builds against flet-libtiff instead of GDAL's internal copy: two static libtiffs gave duplicate symbols with libtiff 4.7.2 + PROJ 9.9.
  • flet-libarrow: ARROW_RUNTIME_SIMD_LEVEL=NONE; Arrow 26's runtime-dispatched SVE kernel crashes NDK r27 clang.
  • flet-libgeos: passes the iOS deployment target (3.15 uses thread_local).
  • primp: portable-atomic AtomicU64 for armeabi-v7a.
  • scipy: flet-libopenblas is now host_build; it is a static archive, so every scipy app no longer downloads ~17 MB.
  • flet-libproj downloads from GitHub releases (byte-identical; download.osgeo.org served truncated tarballs in CI).
  • Patches re-cut for apsw, blis, grpcio, spacy, pycryptodome, uuid-utils, pillow 13, onnxruntime, flet-libgdal, flet-libjq, flet-libpsl and flet-liboprf's sodium pin; dropped where upstream now covers it (scikit-learn, selectolax, flet-libpng, argon2's old setup).
  • forge: source tarballs with hard links now unpack (hard-link targets are stripped like member names).

Held back

  • liboprf stays 0.5.0: 0.9.4 renames expand_message_xmd, which libopaque 1.0.1 (latest) still calls.
  • zbar stays 0.23.93: 0.23.95 replaced autotools with meson.
  • Still blocked: polars, pymupdf, thinc 10 / srsly 3 (spaCy pins), curl-cffi 0.17 (iOS DNS, see part 1).

Breaking upstream changes for apps

  • selectolax 1.0 removed the Modest backend: selectolax.parser raises ImportError; use selectolax.lexbor.
  • PyAV 19 changes rational attributes to av.AVRational and removes some av.open arguments; our example app and API tests pass against it.

Validation

On-device recipe tests on Android and iOS, Python 3.12–3.14, for every changed recipe; each (recipe, platform, Python) has a green job from a run that already contained the recipe's last commit. Failures along the way were infrastructure, re-run green: serious_python's per-ABI Gradle download tasks racing on a shared etags.json, download.osgeo.org truncations, Maven Central 429s and one runner DNS error.

jq 1.8.2's tarball hard-links v1.8/manual.yml to manual.yml. Stripping the
top-level directory renamed the target but not the link, so extraction failed
with KeyError: linkname not found.
The wheel is a static libopenblas.a linked into the extensions; under host it
was a runtime Requires-Dist, so every scipy app downloaded ~17 MB it never loads.
libjpeg-turbo 3.2.1, libtiff 4.7.2, freetype 2.15.0, libxml2 2.15.4, libsodium
1.0.22, libpq 17.12, jq 1.8.2, curl 8.23.0, libpsl 0.23.3, PROJ 9.9.0, GEOS
3.15.0, OpenBLAS 0.3.34, libmagic 5.48, libiconv 1.19.1, FreeTDS 1.5.21, FFmpeg
8.1.3, libpng 1.6.59, LAME 4.0. Consumer pins move with them; recipes whose own
version is unchanged get a new build number. liboprf stays at 0.5.0 (0.9.4
renames an API libopaque 1.0.1 calls) and zbar at 0.23.93 (0.23.95 moved to
meson); both rebuild against the new libsodium/libiconv.
GDAL's internal libtiff and flet-libtiff's (pulled in for libproj.a) are both
static on iOS, and consumers linking both got duplicate TIFF symbols.
Arrow 26's runtime-dispatched SVE-256 bit-unpacking kernel crashes NDK r27
clang (Cannot scalarize scalable vector loads).
download.osgeo.org served truncated tarballs in CI; the GitHub asset is
byte-identical.
@ndonkoHenri
ndonkoHenri merged commit 1d80e96 into flet-dev:main Nov 16, 2026
1 of 3 checks passed
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