Skip to content

Releases: tmolteno/python-necpp

v2.3.4

Choose a tag to compare

@tmolteno tmolteno released this 02 Aug 22:11

What's Changed

  • Update necpp_src to v2.3.4 — see upstream changelog
    • Breaking: get_impedance_real/imag now accept feed_index parameter (imp.back()imp[0])
    • New: nec_impedance_real_indexed/imag_indexed C API for specific feeds
    • Doxygen documentation for multi-feed access patterns
    • v2.3.3: Fix GX solve and three-plane symmetry reflection
  • Update PyNEC SWIG interface to match new impedance API

Full Changelog: v2.3.2...v2.3.4

v2.3.2

Choose a tag to compare

@tmolteno tmolteno released this 01 Aug 02:19

What's Changed

  • Update necpp_src to v2.3.2 — see upstream changelog
    • v2.3.2: NE/NH near-field blank count defaults to 1 (NEC-2 Part 3 compliance)
    • v2.3.2: Memory safety fixes — prevent duplicate close and invalid pattern reads
    • v2.3.2: Fix uninitialized read for average-only radiation-pattern rows
    • v2.3.1: Upgrade segment/patch counts to int64_t for large simulations
    • v2.3.0: Fix flat-spiral helix (GH HL=0) degenerating to straight wire

Full Changelog: v2.2.6...v2.3.2

v2.2.6

Choose a tag to compare

@tmolteno tmolteno released this 25 Jul 05:14

What's Changed

  • Add Python 3.14 wheel builds (cp314 on Linux + macOS ARM)
  • Drop Python 3.10 wheels — minimum supported version is now 3.11
  • Bump requires-python from >=3.9 to >=3.11
  • Add Programming Language :: Python :: 3.14 classifier

Full Changelog: v2.2.5...v2.2.6

v2.2.5

Choose a tag to compare

@tmolteno tmolteno released this 25 Jul 04:14

What's Changed

  • Fix: Include Eigen headers in source distribution. graft necpp_src/src/eigen added to MANIFEST.in so pip install from sdist no longer fails with fatal error: Eigen/Dense: No such file or directory.
  • Use recursive-include for necpp_src/src to ensure all headers and sources are packaged.

v2.2.4

  • Auto-generate config.h in setup.py — no longer requires CMake before pip install

Full Changelog: v2.2.4...v2.2.5

v2.2.4

Choose a tag to compare

@tmolteno tmolteno released this 25 Jul 04:04

What's Changed

  • Fix: pip install pynec and pip install necpp now work from source distribution without requiring CMake to be pre-run. config.h is auto-generated by setup.py at build time.
  • Clean up docs: remove Python 2 references, outdated NEWS, stale install instructions
  • Fix necpp README Python 3 syntax in example code

Full Changelog: v2.2.3...v2.2.4

v2.2.3 — SC-card geometry fix + re-enabled patch test

Choose a tag to compare

@tmolteno tmolteno released this 25 Jul 02:39

Changes

  • Bump necpp_src submodule to include:
    • fix(geometry): stop SC API cards from expanding into patch grids (#120) — resolves the hang in nec_rp_card on surface-patch geometries
    • fix(safe_array): use eigen_segment where callers mean a length (#121)
  • Re-enable test_multiple_sc_cards::test_patch (no longer hangs)
  • Update expected impedance/gain values to match corrected geometry

v2.2.2 — SC-card geometry fix + re-enabled patch test

Choose a tag to compare

@tmolteno tmolteno released this 25 Jul 02:30

Changes

  • Bump necpp_src submodule to include:
    • fix(geometry): stop SC API cards from expanding into patch grids (#120) — resolves the hang in nec_rp_card on surface-patch geometries
    • fix(safe_array): use eigen_segment where callers mean a length (#121)
  • Re-enable test_multiple_sc_cards::test_patch (no longer hangs)
  • Update expected impedance/gain values to match corrected geometry

v2.2.1 — CMake-based necpp v2.2.0 engine, build fixes

Choose a tag to compare

@tmolteno tmolteno released this 22 Jul 23:07

v2.2.1

Changes

  • Build fixes for the CMake-based necpp (v2.2.0) submodule:
    • Exclude nec_wasm.cpp from the Python extension source glob (Emscripten-only; broke native builds).
    • necpp/build.sh: fix submodule init (--init), document the necpp_src symlink required by setup.py.
    • PyNEC/setup.py: remove dead necpp_src/win32/ include dir (gone in CMake necpp; config.h is now CMake-generated in build/).
    • MANIFEST.in: point config.h include at src/config.h.in (generated, not committed).
    • Fix stale config.h comments in both setup.py files.
  • Version bump to 2.2.1.

v1.8.2 — cibuildwheel v4.1.0, drop macos-intel, Python 3.10+

Choose a tag to compare

@tmolteno tmolteno released this 06 Jul 02:18

v1.8.2 — CI and build system improvements

  • Upgrade cibuildwheel to v4.1.0
  • Drop macOS Intel (x86_64) wheel builds
  • Bump minimum Python version to 3.10
  • Remove stale --without-lapack references

Includes all changes from v1.8.0.

v1.8.1 — CI fixes, cibuildwheel v4.1.0, Python 3.10+

Choose a tag to compare

@tmolteno tmolteno released this 06 Jul 01:54

v1.8.1 — Build system and CI improvements

  • Drop macOS Intel (x86_64) wheel builds — only macOS ARM and Linux remain
  • Bump minimum Python version to 3.10 (drop 3.9)
  • Upgrade cibuildwheel to v4.1.0
  • Remove stale --without-lapack references from build scripts (flag already removed in necpp_src v2.1.1)

Includes all changes from v1.8.0.