Skip to content

Commit

Permalink
Pin numpy to a version less than 2
Browse files Browse the repository at this point in the history
  • Loading branch information
krzywon committed Jun 18, 2024
1 parent 00f9e95 commit 2fe81d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install wheel setuptools
python -m pip install mako
python -m pip install numpy scipy matplotlib docutils pytest sphinx bumps unittest-xml-reporting tinycc
python -m pip install numpy<2 scipy matplotlib docutils pytest sphinx bumps unittest-xml-reporting tinycc
- name: setup pyopencl on Linux + macOS
if: ${{ matrix.os != 'windows-latest' }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def find_version(package):
return version[1:-1]
raise RuntimeError("Could not read version from %s/__init__.py"%package)

install_requires = ['numpy', 'scipy']
install_requires = ['numpy<2', 'scipy']

with open('README.rst') as fid:
long_description = fid.read()
Expand Down

0 comments on commit 2fe81d3

Please sign in to comment.