Skip to content

Commit

Permalink
update conda env files (#132)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
orbeckst and IAlibay authored Jul 18, 2024
1 parent fd2ffb1 commit c44be15
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 20 deletions.
7 changes: 1 addition & 6 deletions devtools/conda-envs/environment.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: membrane-curvature
channels:
- conda-forge
- defaults
dependencies:
- python
- pip
- numpy

# Pip-only installs
- pip:
- MDAnalysis>=2.0.0b0
- MDAnalysis>=2.0.0
7 changes: 1 addition & 6 deletions devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
name: test
channels:
- conda-forge
- defaults
dependencies:
- python
- pip
- numpy
- sphinx
- MDAnalysis>=2.0.0
# Testing
- pytest
- pytest-cov
- codecov

# Pip-only installs
- pip:
- MDAnalysis>=2.0.0
8 changes: 2 additions & 6 deletions devtools/conda-envs/test_min.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: test
channels:
- conda-forge
- defaults
dependencies:
- python
- pip
- numpy==1.20.0
- numpy==1.21.0
- MDAnalysis==2.0.0
- sphinx
# Testing
- pytest
- pytest-cov
- codecov

# Pip-only installs
- pip:
- MDAnalysis==2.0.0
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ keywords = [
"trajectory-analysis",
]
dependencies = [
'numpy>=1.20.0',
'numpy>=1.21.0',
'mdanalysis>=2.0.0'
]
]

classifiers = [
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit c44be15

Please sign in to comment.