Skip to content

Commit

Permalink
pin numpy to version<2 to prevent rdkit errors (deepchem#4013)
Browse files Browse the repository at this point in the history
* pin numpy to <2 to prevent rdkit errors

* fix pins of numpy
  • Loading branch information
shreyasvinaya authored Jun 17, 2024
1 parent ebb7824 commit d3491a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/env_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- pdbfixer
- pip
- pip:
- numpy
- numpy==1.26.4
- rdkit==2023.09.5
- pre-commit
- biopython
Expand Down
2 changes: 1 addition & 1 deletion requirements/env_common_3_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- pdbfixer
- pip
- pip:
- numpy
- numpy==1.24.4
- rdkit==2023.09.5
- pre-commit
- biopython
Expand Down
2 changes: 1 addition & 1 deletion requirements/env_dqc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- pip
- pip:
- numpy
- numpy==1.24.4
- scipy
- h5py
- -f https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _get_version():
},
install_requires=[
'joblib',
'numpy>=1.21',
'numpy<2',
'pandas',
'scikit-learn',
'sympy',
Expand Down

0 comments on commit d3491a0

Please sign in to comment.