Skip to content

Commit

Permalink
Remove unnecessary numpy build dependency (#2089)
Browse files Browse the repository at this point in the history
numpy C bindings are handled through pybind11 which does not depend on
numpy. numpy is otherwise only a runtime dependency of qiskit-aer. This
change just saves a download during build.
  • Loading branch information
wshanks authored Mar 29, 2024
1 parent 4609c28 commit bf34aef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ requires = [
"cmake!=3.17.1,!=3.17.0",
"ninja",
"pybind11>2.6",
"oldest-supported-numpy; python_version>'3.7' or platform_machine=='aarch64' or platform_python_implementation=='PyPy'",
"numpy==1.16.3; python_version<='3.7' and platform_machine!='aarch64' or platform_python_implementation=='PyPy'",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit bf34aef

Please sign in to comment.