Skip to content

Commit

Permalink
Add hypothesis dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
a-andre committed Aug 16, 2024
1 parent 3acf6e1 commit 669d68f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ requires = [
# https://numpy.org/devdocs/user/depending_on_numpy.html#build-time-dependency
# from https://github.com/scipy/oldest-supported-numpy/pull/78#issuecomment-1747936818:
"oldest-supported-numpy; platform_python_implementation != 'PyPy'",
"numpy < 2.0.0; platform_python_implementation=='PyPy'"
"numpy < 2.0.0; platform_python_implementation=='PyPy'",
'hypothesis'
]
build-backend = "setuptools.build_meta"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,6 @@
'cylp.py.utils', 'cylp.py.mip','cylp.py.QP'],
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules,
install_requires=['numpy >= 1.5.0,<2.0.0', 'scipy >= 0.10.0'],
install_requires=['numpy >= 1.5.0,<2.0.0', 'scipy >= 0.10.0', 'hypothesis'],
zip_safe = False,
package_data={"cylp": extra_files})

0 comments on commit 669d68f

Please sign in to comment.