Skip to content

Numpy 2.x compatibility #1831

Open
Open
@greschd

Description

@greschd

What is the status of PyDPF w.r.t. compatibility with the numpy 2.x release? I have noticed that it is declared as numpy<2, but don't know whether there is a known incompatibility, or it is simply a conservative dependency declaration.

The reason I stumbled upon this is that the poetry dependency solver in PyACP (which does not restrict numpy):

  • upgraded numpy to 2.x
  • downgraded DPF core to 0.12.2, which does not limit numpy (but presumably isn't any more compatible)

By forcing ansys-dpf-core>=0.13, I could get it to pick the older numpy and newer DPF instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesRelated to package requirementsquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions