Skip to content

Commit

Permalink
Test build with numpy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
thisac committed Jun 27, 2024
1 parent 119a4b8 commit 003b9dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ requires = [
"setuptools>=46.4.0", # PEP-420 support, PEP-517/518 support, setup.cfg attr: support
"wheel>=0.30.0", # limited python api support
"cython~=3.0",
'oldest-supported-numpy',
"numpy==1.24.4; python_version=='3.8'",
"numpy>=2.0.0rc1; python_version>='3.9'",
]
build-backend = "setuptools.build_meta"

Expand Down Expand Up @@ -33,4 +34,4 @@ select = "*aarch64*"
before-test = "pip install -r {project}/requirements_dev.txt"

[tool.pyright]
reportUnusedExpression = false
reportUnusedExpression = false
3 changes: 1 addition & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pytest==7.2.0
pytest-cov==4.0.0
pytest-mock==3.10.0
reno==3.5.0
typing_extensions==4.4.0
typing_extensions==4.4.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def build_extensions(self):
setup(
name="dwave-gate",
install_requires=[
"numpy",
"numpy>=1.24.4",
],
ext_modules=cythonize(
["dwave/gate/simulator/simulator.pyx",
Expand Down

0 comments on commit 003b9dc

Please sign in to comment.