Skip to content

Incompatibility with Numpy 1.25 #10305

@jakelishman

Description

@jakelishman

Environment

  • Qiskit Terra version: 0.24.1
  • Python version: 3.10
  • Operating system: macOS 13.3.1

What is happening?

The test suite and CI are failing because of new deprecation warnings issued by Numpy 1.25 (removing some unnecessary aliases and deprecating some questionable array-to-scalar conversions that we first encountered in #10120). There also seems to be some sort of behavioural change that's affecting the isometry tests and making them flaky, which is harder to pin down.

How can we reproduce the issue?

Run CI with Numpy 1.25.

What should happen?

No warnings, all tests passing.

Any suggestions?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions