#1148907 gnucap-python: Fix FTBFS with NumPy 2.0 by updating API calls and types

Package:
gnucap-python
Source:
gnucap-python
Description:
GNU Circuit Analysis package, Python command plugin
Submitter:
Hannibal Herrera
Date:
2026-09-24 21:27:02 UTC
Severity:
normal
Tags:
#1148907#5
Date:
2026-09-24 21:25:34 UTC
From:
To:
Dear Maintainer,

The attached patch updates the C/C++ extension bindings to resolve compilation errors against NumPy 2.0. It updates deprecated API calls and aligns types with the NumPy 2.x C-API specification.