Skip to content

[BUG] Auto-generation of "import_array" not working on recent Numpy #4396

Description

@da-woods

Describe the bug

In #3524 I added auto-generation of np.import_array to help users out who'd forgotten to include it themselves. In that I relied on the NPY_NDARRAYOBJECT_H header include guard to identify "real" Numpy. In numpy/numpy@6dff0c2 they renamed their header include guard, thus breaking the fix.

See scipy/scipy#14732 and related issue #4394

Additional context

I'll submit a fix (and a more robust set of tests...) fairly shortly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions