Skip to content

v2.4.0: abi3 wheels + Windows

Latest

Choose a tag to compare

@tmolteno tmolteno released this 09 Nov 21:00

v2.4.0 — stable-ABI (abi3) wheels, first Windows wheels

Both packages now ship one cp311-abi3 wheel per platform instead of one
wheel per Python version — a single install works on CPython 3.11 – 3.14
and newer:

Platform Wheel tag
Linux x86_64 cp311-abi3-manylinux_*
macOS Apple Silicon cp311-abi3-macosx_arm64
macOS Intel cp311-abi3-macosx_10_9_x86_64
Windows x64 (new) cp311-abi3-win_amd64

Free-threaded CPython (cp314t) is not covered by the stable ABI — install
from the sdist there (built automatically with the full API).

Bundled NEC2++ engine

necpp_src is pinned at d32ed8f (necpp master, including PR #140 — the
nec2diff negative-value comparison / exit-status fixes for #138 and the gshank
Sommerfeld convergence-floor revert for #139). The revision is embedded in
every build as necpp_engine_sha=<commit> (verify with strings).

Other changes

  • Compiled with Py_LIMITED_API=0x030B0000; every wheel is audited with
    abi3audit in CI and tested on CPython 3.11 and 3.14 across all four
    platforms (16 test jobs per package).
  • Source builds now require SWIG >= 4.4.1 (CI pins 4.5.1); release sdists
    include the generated wrapper, so installing from an sdist needs no SWIG.
  • PyNEC's -fPIC / -lstdc++ flags are now POSIX-only so MSVC builds work.

Closes #35.