Skip to content

Commit 97b745a

Browse files
authored
MAINT: Fix pip-pre errors (mne-tools#12478)
1 parent 64901c4 commit 97b745a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

tools/azure_dependencies.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ elif [ "${TEST_MODE}" == "pip-pre" ]; then
99
# python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://www.riverbankcomputing.com/pypi/simple" "PyQt6!=6.6.1,!=6.6.2" PyQt6-sip PyQt6-Qt6 "PyQt6-Qt6!=6.6.1,!=6.6.2"
1010
python -m pip install $STD_ARGS --only-binary ":all:" "PyQt6!=6.6.1,!=6.6.2" PyQt6-sip PyQt6-Qt6 "PyQt6-Qt6!=6.6.1,!=6.6.2"
1111
echo "Numpy etc."
12-
python -m 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>=1.12.0.dev0" "scikit-learn>=1.5.dev0" matplotlib pillow statsmodels pyarrow
12+
python -m 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>=1.12.0.dev0" "scikit-learn>=1.5.dev0" matplotlib pillow statsmodels pyarrow h5py
1313
# echo "dipy"
1414
# python -m pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://pypi.anaconda.org/scipy-wheels-nightly/simple" dipy
1515
# echo "OpenMEEG"

tools/github_actions_dependencies.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ else
3030
# pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 --extra-index-url https://www.riverbankcomputing.com/pypi/simple "PyQt6!=6.6.1,!=6.6.2" "PyQt6-Qt6!=6.6.1,!=6.6.2"
3131
pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 "PyQt6!=6.6.1,!=6.6.2" "PyQt6-Qt6!=6.6.1,!=6.6.2"
3232
echo "NumPy/SciPy/pandas etc."
33-
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>=1.12.0.dev0" "scikit-learn>=1.5.dev0" matplotlib pillow statsmodels pyarrow
34-
# No pandas, dipy, h5py, openmeeg, python-picard (needs numexpr) until they update to NumPy 2.0 compat
33+
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>=1.12.0.dev0" "scikit-learn>=1.5.dev0" matplotlib pillow statsmodels pyarrow pandas h5py
34+
# No dipy, openmeeg, python-picard (needs numexpr) until they update to NumPy 2.0 compat
3535
INSTALL_KIND="test_extra"
36-
# echo "dipy"
37-
# pip install $STD_ARGS --only-binary ":all:" --default-timeout=60 --extra-index-url "https://pypi.anaconda.org/scipy-wheels-nightly/simple" dipy
38-
# echo "H5py"
39-
# pip install $STD_ARGS --only-binary ":all:" -f "https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" h5py
4036
# echo "OpenMEEG"
4137
# pip install $STD_ARGS --only-binary ":all:" --extra-index-url "https://test.pypi.org/simple" openmeeg
4238
# No Numba because it forces an old NumPy version
@@ -60,7 +56,7 @@ else
6056
echo "edfio"
6157
pip install $STD_ARGS git+https://github.com/the-siesta-group/edfio
6258
# Make sure we're on a NumPy 2.0 variant
63-
python -c "import numpy as np; assert np.__version__[0] == '2', np.__version__"
59+
# python -c "import numpy as np; assert np.__version__[0] == '2', np.__version__"
6460
fi
6561
echo ""
6662

0 commit comments

Comments
 (0)