Build error: undeclared identifier 'NPY_ARRAY_UPDATEIFCOPY'
Closed this issue · 1 comments
tgoldina commented
When using the recent version of numpy (e.g. 1.23.5), pip install git+https://github.com/dstndstn/tractor.git@main
fails with an error:
use of undeclared identifier 'NPY_ARRAY_UPDATEIFCOPY'
Replacing all occurrences of NPY_ARRAY_UPDATEIFCOPY
with NPY_ARRAY_WRITEBACKIFCOPY
cures the issue.