fmriprep icon indicating copy to clipboard operation
fmriprep copied to clipboard

MNT: Pin environment

Open effigies opened this issue 3 years ago • 3 comments

Trying to apply #2853's environment pin approach.

Here, I took the conda= line from 21.0.3's environment, and added lines from nipreps-containers here. I then removed pretty much everything non-numeric that can be installed through pip, ending with:

name: base
channels:
  - conda-forge
  - defaults
dependencies:
  - conda=4.11.0=py38h578d9bd_0
  - python=3.8
  - mkl=2021.3
  - mkl-service=2.4
  - nodejs=16
  - numpy=1.20
  - pandas
  - scikit-image=0.19
  - scikit-learn=0.24
  - scipy=1.6
  - seaborn=0.11
  - traits=6.2
prefix: /opt/conda

Then I created a new environment, installed fmriprep and re-exported:

$ conda env create -n tmp-fmriprep-21-0 -f docker/files/environment.yml
$ conda activate tmp-fmriprep-21-0
$ pip install .
$ conda env export

Then I dropped nipreps tools, since they're very likely to get re-updated between releases and they're all pure Python.

effigies avatar Sep 27 '22 20:09 effigies

will need to update circle's docker orb

mgxd avatar Sep 27 '22 20:09 mgxd

It needs fixing on 20.2.x as well. Would you mind fixing it there, and I can merge forward into this PR? (Or point me to a commit where you did it on master?)

effigies avatar Sep 27 '22 20:09 effigies

https://github.com/nipreps/fmriprep/commit/4feb341048a01d74eb6c6ce77496f19f42d2a9bf

mgxd avatar Sep 27 '22 20:09 mgxd

21.0.x will not have further releases. Closing.

effigies avatar Dec 07 '22 19:12 effigies