tskit-dev / tskit

Population-scale genomics
MIT License
147 stars 70 forks source link

C API for numpy 2.0 #2893

Open jeromekelleher opened 5 months ago

jeromekelleher commented 5 months ago

Numpy 2.0 is about to land, and might have some consequences for us at the C level.

Notes on C API changes

More importantly, oldest-supported-numpy is being deprecated, so we may need to change how we're building against numpy and distributing our packages across the tskit projects.

molpopgen commented 5 months ago

More importantly, oldest-supported-numpy is being deprecated, so we may need to change how we're building against numpy and distributing our packages across the tskit projects.

Ooof....

jeromekelleher commented 1 month ago

Ah, comment https://github.com/tskit-dev/tskit/issues/2894#issuecomment-2120647323 should have been here...

jeromekelleher commented 1 month ago

Looks like the actual code works though, since the conda packages seem to work fine: https://github.com/conda-forge/tskit-feedstock/pull/43

jeromekelleher commented 1 month ago

So, it looks like it's our wheel building infrastructure we need to worry about.