Skip to content

Commit c44be15

Browse files
orbeckstIAlibay
andauthored
update conda env files (#132)
* update conda env files - only use conda-forge channel (removed defaults) - install MDAnalysis via conda instead of pip - remove explicit numpy installation (fixes issues of incompatibility between older MDAnalysis cf packages and numpy 2.0) - increase lowest minimal numpy in min install env * Update pyproject.toml --------- Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
1 parent fd2ffb1 commit c44be15

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

devtools/conda-envs/environment.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: membrane-curvature
22
channels:
33
- conda-forge
4-
- defaults
54
dependencies:
65
- python
76
- pip
8-
- numpy
9-
10-
# Pip-only installs
11-
- pip:
12-
- MDAnalysis>=2.0.0b0
7+
- MDAnalysis>=2.0.0

devtools/conda-envs/test_env.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
name: test
22
channels:
33
- conda-forge
4-
- defaults
54
dependencies:
65
- python
76
- pip
8-
- numpy
97
- sphinx
8+
- MDAnalysis>=2.0.0
109
# Testing
1110
- pytest
1211
- pytest-cov
1312
- codecov
14-
15-
# Pip-only installs
16-
- pip:
17-
- MDAnalysis>=2.0.0

devtools/conda-envs/test_min.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: test
22
channels:
33
- conda-forge
4-
- defaults
54
dependencies:
65
- python
76
- pip
8-
- numpy==1.20.0
7+
- numpy==1.21.0
8+
- MDAnalysis==2.0.0
99
- sphinx
1010
# Testing
1111
- pytest
1212
- pytest-cov
1313
- codecov
14-
15-
# Pip-only installs
16-
- pip:
17-
- MDAnalysis==2.0.0

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ keywords = [
2121
"trajectory-analysis",
2222
]
2323
dependencies = [
24-
'numpy>=1.20.0',
24+
'numpy>=1.21.0',
2525
'mdanalysis>=2.0.0'
26-
]
26+
]
2727

2828
classifiers = [
2929
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)