Skip to content

BUG-0031: one abi3 wheel per platform; BUG-0032: DRVARMA_NO_ENGINE everywhere - #37

Merged
davidesg merged 1 commit into
masterfrom
bugs-rodaje-p08
Nov 27, 2026
Merged

davidesg merged 1 commit into
masterfrom
bugs-rodaje-p08

Conversation

@davidesg

Copy link
Copy Markdown
Owner

Fixes two P08 bugs, BUG-0031 and BUG-0032, and adds the P08 reports and the speed study of the port.

BUG-0031 (high). The binary wheels were per minor version and stopped at cp314. On CPython 3.15, pip and uv took the py3-none-any wheel in silence and every fit ran on the port. Five P08 groups worked for hours on the port.

  • The extension is built for the limited API and the wheel is tagged cp310-abi3: one binary per platform for every CPython from 3.10 on. cffi already compiled against the limited API.
  • cibuildwheel 4.3.5 builds the wheel once and smoke-tests it on cp310 to cp315, with abi3audit.
  • The pure wheel stays, for every platform without a binary. Free-threaded builds and 32-bit Windows still get it, and it warns when it computes (BUG-0005).
  • Local checks: the wheel builds as cp310-abi3, and abi3audit finds 0 violations.

BUG-0032 (low). DRVARMA_NO_ENGINE is now read in _load_c(), so elf_c and marma_c honour it like estimate_w. Before, engine_backend() said "python" while the ladder computed in C.

Also included: the reports for BUG-0031 and BUG-0032 with their repros, the speed study in TODO.md, and bench/velocidad_elf_port.py.

Validation:

  • Both repros exit 0.
  • The full battery passes: 425 passed, 18 skipped, 15 xfailed.
  • The wheel build was dispatched by hand on this branch; a manual run does not publish.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5

…erywhere

BUG-0031. The binary wheels were per minor version and stopped at cp314;
on CPython 3.15 (final since 2026-10-09) pip took the py3-none-any wheel
and every fit ran on the port. The extension is now built for the limited
API (cffi already compiled against it) and the wheel is cp310-abi3: one
binary per platform for every CPython >= 3.10. cibuildwheel 4.3.5 builds it
on cp310 and smoke-tests it on cp310-cp315, with abi3audit. The pure wheel
stays, for every platform without a binary.

BUG-0032. The variable is read in _load_c(), so elf_c and marma_c (the
ladder's, and sima's) honour it like estimate_w; engine_load_error() says it.

Also the P08 reports (BUG-0031, BUG-0032) and the speed study of the port
(TODO.md, bench/velocidad_elf_port.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LHFMF3teQWFeXfDJVGj2p5
@davidesg
davidesg merged commit 40beb72 into master Nov 27, 2026
11 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