From 77baa73962bbe21be22e37df2d4cc23232944b1c Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 18 Jun 2024 10:20:34 -0400 Subject: [PATCH] FIX: Tables --- .github/workflows/tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 70651e0c9..4ad88a885 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,9 +60,11 @@ jobs: - run: pip install --upgrade --pre -e ./mne-python git+https://github.com/nilearn/nilearn if: matrix.mne == 'dev' name: Install MNE and nilearn dev - # - run: pip install --upgrade --pre --force --only-binary=":all:" --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "numpy>=2.0.0rc1" scipy h5py matplotlib pandas scikit-learn statsmodels "tables>=3.9.3.dev0" - # if: matrix.mne == 'dev' && startsWith(matrix.os, 'ubuntu') - # name: Install numpy, scipy, nilearn pre + # Tables on PyPI is not NumPy 2.0 compatible + - run: pip install --only-binary=":all:" --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "tables>=3.9.3.dev0" + - run: pip install --upgrade --pre --force --only-binary=":all:" --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "numpy>=2.0.0rc1" scipy h5py matplotlib pandas scikit-learn statsmodels "tables>=3.9.3.dev0" + if: matrix.mne == 'dev' && startsWith(matrix.os, 'ubuntu') + name: Install numpy, scipy, nilearn pre - run: pip install -ve . - run: mne sys_info - run: ./tools/get_testing_version.sh