Skip to content

Commit

Permalink
Setting Numpy version to <2 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgsellan authored Jun 23, 2024
1 parent fd12d71 commit 6e4be46
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install numpy
python -m pip install "numpy<=1.96.0"
python -m pip install scipy
python -m pip install scikit-image
sudo apt-get install \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
${{ steps.installpython.outputs.python-path }} -m pip install numpy
${{ steps.installpython.outputs.python-path }} -m pip install "numpy<=1.96.0"
${{ steps.installpython.outputs.python-path }} -m pip install scipy
${{ steps.installpython.outputs.python-path }} -m pip install scikit-image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies (Windows)
shell: bash -l {0}
run: |
python -m pip install numpy
python -m pip install "numpy<=1.96.0"
python -m pip install scipy
python -m pip install scikit-image
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-verbosity = "3"
[build-system]
requires = [
"numpy",
"numpy<=1.96.0",
"scipy",
"setuptools>=42",
"wheel",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def main():
license="MIT",
package_dir={'': 'src'},
packages=setuptools.find_packages(where="src"),
install_requires=['numpy', 'scipy', 'scikit-image'],
install_requires=['numpy<2', 'scipy', 'scikit-image'],
ext_modules=[CMakeExtension('.', exclude_arch=exclude_arch)],
setup_requires=['pybind11>=2.4'],
cmdclass=dict(build_ext=CMakeBuild),
Expand Down

0 comments on commit 6e4be46

Please sign in to comment.