Visitar URL original
support numpy>2.0? · Issue #308 · xtensor-stack/xtensor-python · GitHub
Skip to content

support numpy>2.0? #308

Description

@nbecker

Haven't tried it, but I'm assuming changes will be needed for numpy > 2.0 API?

Activity

  1. nbecker commented on Jun 24, 2024

    @nbecker
    Author

    I have built all of my code examples against numpy-2.0.0 + xtensor-python-0.26.1 and everything builds and seems to run (I don't really have a test suite)

  2. jakirkham commented on Jun 27, 2024

    @jakirkham

    Skimming the code it looks like NumPy is mainly used via pybind11

    Starting with pybind11 2.12.0, it supports NumPy 2: pybind/pybind11#5009

    So it does seem probable that things would just work. Though haven't dug any deeper

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