1
1
#! /bin/bash -ef
2
2
3
3
STD_ARGS=" --progress-bar off --upgrade"
4
- EXTRA_ARGS=" "
5
4
if [ ! -z " $CONDA_ENV " ]; then
6
5
echo " Uninstalling MNE for CONDA_ENV=${CONDA_ENV} "
7
6
conda remove -c conda-forge --force -yq mne
@@ -12,36 +11,40 @@ elif [ ! -z "$CONDA_DEPENDENCIES" ]; then
12
11
else
13
12
echo " Install pip-pre dependencies"
14
13
test " ${MNE_CI_KIND} " == " pip-pre"
14
+ STD_ARGS=" $STD_ARGS --pre"
15
15
python -m pip install $STD_ARGS pip setuptools wheel packaging
16
16
echo " Numpy"
17
17
pip uninstall -yq numpy
18
18
echo " PyQt6"
19
- pip install $STD_ARGS --pre -- only-binary " :all:" --default-timeout=60 --extra-index-url https://www.riverbankcomputing.com/pypi/simple PyQt6
19
+ pip install $STD_ARGS --only-binary " :all:" --default-timeout=60 --extra-index-url https://www.riverbankcomputing.com/pypi/simple PyQt6
20
20
echo " NumPy/SciPy/pandas etc."
21
- pip install $STD_ARGS --pre -- only-binary " :all:" --default-timeout=60 --extra-index-url " https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" " numpy>=2.0.0.dev0" scipy scikit-learn pandas matplotlib pillow statsmodels
21
+ pip install $STD_ARGS --only-binary " :all:" --default-timeout=60 --extra-index-url " https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" " numpy>=2.0.0.dev0" scipy scikit-learn pandas matplotlib pillow statsmodels
22
22
echo " dipy"
23
- pip install $STD_ARGS --pre -- only-binary " :all:" --default-timeout=60 --extra-index-url " https://pypi.anaconda.org/scipy-wheels-nightly/simple" dipy
23
+ pip install $STD_ARGS --only-binary " :all:" --default-timeout=60 --extra-index-url " https://pypi.anaconda.org/scipy-wheels-nightly/simple" dipy
24
24
echo " H5py"
25
- pip install $STD_ARGS --pre -- only-binary " :all:" -f " https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" h5py
25
+ pip install $STD_ARGS --only-binary " :all:" -f " https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" h5py
26
26
echo " OpenMEEG"
27
- pip install $STD_ARGS --pre -- only-binary " :all:" --extra-index-url " https://test.pypi.org/simple" openmeeg
27
+ pip install $STD_ARGS --only-binary " :all:" --extra-index-url " https://test.pypi.org/simple" openmeeg
28
28
# No Numba because it forces an old NumPy version
29
29
echo " nilearn and openmeeg"
30
- pip install $STD_ARGS --pre git+https://github.com/nilearn/nilearn
30
+ pip install $STD_ARGS git+https://github.com/nilearn/nilearn
31
31
echo " VTK"
32
- pip install $STD_ARGS --pre -- only-binary " :all:" --extra-index-url " https://wheels.vtk.org" vtk
32
+ pip install $STD_ARGS --only-binary " :all:" --extra-index-url " https://wheels.vtk.org" vtk
33
33
python -c " import vtk"
34
34
echo " PyVista"
35
- pip install --progress-bar off git+https://github.com/pyvista/pyvista
35
+ pip install $STD_ARGS git+https://github.com/pyvista/pyvista
36
36
echo " pyvistaqt"
37
- pip install --progress-bar off git+https://github.com/pyvista/pyvistaqt
37
+ pip install $STD_ARGS git+https://github.com/pyvista/pyvistaqt
38
38
echo " imageio-ffmpeg, xlrd, mffpy, python-picard"
39
- pip install --progress-bar off --pre imageio-ffmpeg xlrd mffpy python-picard patsy
39
+ pip install $STD_ARGS imageio-ffmpeg xlrd mffpy python-picard patsy
40
40
echo " mne-qt-browser"
41
- pip install --progress-bar off git+https://github.com/mne-tools/mne-qt-browser
41
+ pip install $STD_ARGS git+https://github.com/mne-tools/mne-qt-browser
42
42
echo " nibabel with workaround"
43
- pip install --progress-bar off --pre git+https://github.com/mscheltienne/nibabel.git@np.sctypes
44
- EXTRA_ARGS=" --pre"
43
+ pip install $STD_ARGS git+https://github.com/mscheltienne/nibabel.git@np.sctypes
44
+ echo " joblib"
45
+ pip install $STD_ARGS git+https://github.com/joblib/joblib@master
46
+ echo " EDFlib-Python"
47
+ pip install $STD_ARGS git+https://gitlab.com/Teuniz/EDFlib-Python@master
45
48
fi
46
49
echo " "
47
50
@@ -51,11 +54,11 @@ if [ ! -z "$CONDA_DEPENDENCIES" ]; then
51
54
python -m pip install -r requirements_base.txt -r requirements_testing.txt
52
55
else
53
56
echo " Installing dependencies using pip"
54
- python -m pip install $STD_ARGS $EXTRA_ARGS -r requirements_base.txt -r requirements_testing.txt -r requirements_hdf5.txt
57
+ python -m pip install $STD_ARGS -r requirements_base.txt -r requirements_testing.txt -r requirements_hdf5.txt
55
58
fi
56
59
echo " "
57
60
58
61
if [ " ${DEPS} " != " minimal" ]; then
59
62
echo " Installing non-minimal dependencies"
60
- python -m pip install $STD_ARGS $EXTRA_ARGS -r requirements_testing_extra.txt
63
+ python -m pip install $STD_ARGS -r requirements_testing_extra.txt
61
64
fi
0 commit comments