Skip to content

Commit 1bb1ef5

Browse files
committed
FIX: Cleaner
1 parent 77f8dcc commit 1bb1ef5

2 files changed

Lines changed: 4 additions & 21 deletions

File tree

mne/utils/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,8 @@ def sys_info(
839839
"edfio",
840840
"mffpy",
841841
"pybv",
842+
"antio",
843+
"defusedxml",
842844
"",
843845
)
844846
if dependencies == "developer":

tools/install_pre_requirements.sh

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ QT_BINDING="PyQt6"
1111

1212
# Dependencies of scientific-python-nightly-wheels are installed here so that
1313
# we can use strict --index-url (instead of --extra-index-url) below
14-
echo "PyQt6 and scientific-python-nightly-wheels dependencies"
14+
set -x
1515
python -m pip install $STD_ARGS pip setuptools packaging \
1616
threadpoolctl cycler fonttools kiwisolver pyparsing pillow python-dateutil \
1717
patsy pytz tzdata nibabel tqdm trx-python joblib numexpr "$QT_BINDING" \
18-
py-cpuinfo blosc2 hatchling "formulaic>=1.1.0" \
19-
"h5py>=3.12.1" # TODO move h5py back to nightlies when possible
20-
echo "NumPy/SciPy/pandas etc."
18+
py-cpuinfo blosc2 hatchling "formulaic>=1.1.0"
2119
python -m pip uninstall -yq numpy
2220
python -m pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 \
2321
--index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
@@ -33,58 +31,41 @@ python -m pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 \
3331

3432
# No Numba because it forces an old NumPy version
3533

36-
echo "pymatreader"
3734
pip install https://gitlab.com/obob/pymatreader/-/archive/master/pymatreader-master.zip
3835

39-
echo "OpenMEEG"
4036
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://test.pypi.org/simple" "openmeeg>=2.6.0.dev4"
4137

42-
echo "nilearn"
4338
python -m pip install $STD_ARGS "git+https://github.com/nilearn/nilearn"
4439

45-
echo "VTK"
4640
python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://wheels.vtk.org" vtk
4741
python -c "import vtk"
4842

49-
echo "PyVista"
5043
python -m pip install $STD_ARGS "git+https://github.com/pyvista/pyvista" trame trame-vtk trame-vuetify jupyter ipyevents ipympl
5144

52-
echo "picard"
5345
python -m pip install $STD_ARGS git+https://github.com/pierreablin/picard
5446

55-
echo "pyvistaqt"
5647
pip install $STD_ARGS git+https://github.com/pyvista/pyvistaqt
5748

58-
echo "imageio-ffmpeg, xlrd, mffpy"
5949
pip install $STD_ARGS imageio-ffmpeg xlrd mffpy traitlets pybv eeglabio defusedxml antio
6050

61-
echo "mne-qt-browser"
6251
pip install $STD_ARGS git+https://github.com/mne-tools/mne-qt-browser
6352

64-
echo "mne-bids"
6553
pip install $STD_ARGS git+https://github.com/mne-tools/mne-bids
6654

67-
echo "nibabel"
6855
pip install $STD_ARGS git+https://github.com/nipy/nibabel
6956

70-
echo "joblib"
7157
pip install $STD_ARGS git+https://github.com/joblib/joblib
7258

73-
echo "edfio"
7459
# Disable protection for Azure, see
7560
# https://github.com/mne-tools/mne-python/pull/12609#issuecomment-2115639369
7661
GIT_CLONE_PROTECTION_ACTIVE=false pip install $STD_ARGS git+https://github.com/the-siesta-group/edfio
7762

78-
echo "h5io"
7963
pip install $STD_ARGS git+https://github.com/h5io/h5io
8064

81-
echo "pysnirf2"
8265
pip install $STD_ARGS git+https://github.com/BUNPC/pysnirf2
8366

8467
# Make sure we're on a NumPy 2.0 variant
85-
echo "Checking NumPy version"
8668
python -c "import numpy as np; assert np.__version__[0] == '2', np.__version__"
8769

8870
# And that Qt works
89-
echo "Checking Qt"
9071
${SCRIPT_DIR}/check_qt_import.sh "$QT_BINDING"

0 commit comments

Comments
 (0)