Skip to content

recipes: drop 8 recipes that don't need one - #8

Merged
Krozark merged 1 commit into
developfrom
cleanup/drop-unnecessary-recipes
Sep 29, 2026
Merged

Krozark merged 1 commit into
developfrom
cleanup/drop-unnecessary-recipes

Conversation

@Krozark

@Krozark Krozark commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Same cleanup as proposed upstream (kivy#3384), verified none of these are actually wired into AVA's build (no recipe/requirement references them):

Dropped: materialshapes, meteofrance-api, mpmath, pydantic, pywizlight, simplemma, sympy, tibs — all ship a universal wheel, and their own dependencies don't need compilation either. They'll just be pip-installed like colorama/certifi/idna already are, since meteofrance-api and pywizlight are named directly in buildozer.spec's requirements.

materialshapes, mpmath, simplemma, sympy, pydantic, tibs weren't referenced by anything (no depends, not in requirements) — dead recipes, never actually built into the app.

Kept: jsonschema, bitstring, lifxlan — their own dependency chains need something that doesn't have a universal wheel (rpds-py for jsonschema; bitarray/tibs for current bitstring, which is why that recipe pins 3.1.9 rather than building anything).

🤖 Generated with Claude Code

Per review feedback: these packages all ship a universal (py3-none-any)
wheel and have no dependencies that themselves need native compilation
or lack a wheel, so a p4a recipe adds nothing over just listing them in
an app's requirements (or another recipe's python_depends) -- they get
pip-installed exactly like `colorama`, `certifi`, `idna`, `urllib3` etc.
already are.

  materialshapes, meteofrance-api, mpmath, pydantic, pywizlight,
  simplemma, sympy, tibs

pydantic-core (the compiled Rust part pydantic itself pins) already has
its own recipe; tibs was only ever a speculative companion to a newer
bitstring version this doesn't use (see below), nothing depends on it.

Kept as recipes, despite also having universal wheels themselves,
because their own dependency chain includes something that doesn't:

  - jsonschema -- needs rpds-py, which is Rust-compiled with no
    universal wheel and no recipe of its own yet.
  - bitstring -- current PyPI releases need bitarray and tibs, both
    compiled; pinning the last version that doesn't (3.1.9) is this
    recipe's whole point, not building anything.
  - lifxlan -- pulls in bitstring unconstrained; without a recipe (or
    without --no-deps carving an explicit exception) pip would resolve
    a bitstring version needing a bitarray build that doesn't work
    here, exactly the crash this was hit and fixed for while building
    the app this PR is drawn from.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Krozark

Krozark commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Ces 8 recettes ne sont pas perdues : elles sont conservées dans https://github.com/Krozark/p4a-recipes (réutilisables via --local-recipes si besoin un jour).

@Krozark
Krozark merged commit 7ce8204 into develop Sep 29, 2026
20 of 22 checks passed
@Krozark
Krozark deleted the cleanup/drop-unnecessary-recipes branch September 29, 2026 09: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