Skip to content

Commit a0afb05

Browse files
authored
fix: Pin Numpy to fix fastpdb/biotite dependency issue (#177)
1 parent e23c4a1 commit a0afb05

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

env.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ dependencies:
2222
- filelock
2323

2424
# Scientific
25-
- numpy
26-
- pandas < 2.2.0
25+
- numpy < 2 # We need to pin numpy to avoid issues with fastpdb/biotite.
26+
- pandas
2727
- scipy
2828
- scikit-learn
2929
- seaborn
@@ -58,4 +58,4 @@ dependencies:
5858
- mike >=1.0.0
5959

6060
- pip:
61-
- fastpdb
61+
- fastpdb

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ dependencies = [
4444
"httpx",
4545
"tenacity",
4646
"filelock",
47-
"numpy < 3.0.0",
48-
"pandas < 2.2.0",
47+
"numpy < 2", # We need to pin numpy to avoid issues with fastpdb/biotite.
48+
"pandas",
4949
"scipy",
5050
"scikit-learn",
5151
"seaborn",
@@ -116,7 +116,7 @@ data_file = ".coverage/coverage"
116116
omit = [
117117
"polaris/__init__.py",
118118
"polaris/_version.py",
119-
# We cannot yet test the interaction with the Hub.
119+
# We cannot yet test the interaction with the Hub.
120120
# See e.g. https://github.com/polaris-hub/polaris/issues/30
121121
"polaris/hub/client.py",
122122
"polaris/hub/external_auth_client.py",

0 commit comments

Comments
 (0)