cyvcf2
cyvcf2 copied to clipboard
NumPy version compatibility
It's not clear what version of NumPy each cyvcf2 release was built against, which can cause issues with binary compatibility. For example, when running cyvcf2 0.30.16 with NumPy 1.22.4 I get
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
(Ideally I would just upgrade to NumPy 1.23, but I can't since Numba (which I am also using) doesn't support it yet.)
Sounds like the wheel-building process should ensure that https://pypi.org/project/oldest-supported-numpy/ is installed. Usually this just goes in the pyproject.toml file as a build requirement, but it might be necessary to modernise the build system.
@grahamgower That seems to be exactly what we need - thanks!
@brentp could you tag a release sometime so we can test this? Thanks!
done. thanks for the reminder
Thanks @brentp!