Skip to content

Commit

Permalink
Don't install build dependencies that should be automatically install…
Browse files Browse the repository at this point in the history
…ed thanks [build-system] in pyproject.toml
  • Loading branch information
hoechenberger committed Nov 6, 2023
1 parent 80a4faa commit ae54537
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
brew install [email protected]
which python
which pip
pip install --upgrade pip setuptools wheel
pip install --upgrade pip
pip install --upgrade --only-binary "numpy,scipy,dipy,statsmodels" -ve .[test] PyQt6
# 3D too slow on Apple's software renderer, and numba causes us problems
pip uninstall -y vtk pyvista pyvistaqt numba
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ stages:
displayName: 'Get Python'
- bash: |
set -eo pipefail
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off --upgrade pip build
python -m pip install --progress-bar off -ve .[hdf5,test_base]
python -m pip uninstall -yq pytest-qt # don't want to set up display, etc. for this
pre-commit install --install-hooks
Expand Down Expand Up @@ -107,7 +107,7 @@ stages:
displayName: 'Get Python'
- bash: |
set -e
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off --upgrade pip
python -m pip install --progress-bar off "mne-qt-browser[opengl] @ git+https://github.com/mne-tools/mne-qt-browser.git@main" pyvista scikit-learn pytest-error-for-skips python-picard "PyQt6!=6.5.1" qtpy nibabel
python -m pip uninstall -yq mne
python -m pip install --progress-bar off --upgrade -e .[test]
Expand Down Expand Up @@ -166,7 +166,7 @@ stages:
displayName: 'Get Python'
- bash: |
set -e
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off --upgrade pip
python -m pip install --progress-bar off --upgrade --pre --only-binary=\"numpy,scipy,matplotlib,vtk\" numpy scipy matplotlib vtk
python -c "import vtk"
python -m pip install --progress-bar off --upgrade -ve .[test]
Expand Down
2 changes: 1 addition & 1 deletion tools/azure_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

STD_ARGS="--progress-bar off --upgrade"
if [ "${TEST_MODE}" == "pip" ]; then
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip
python -m pip install --upgrade --only-binary="numba,llvmlite,numpy,scipy,vtk" -ve .[full]
elif [ "${TEST_MODE}" == "pip-pre" ]; then
STD_ARGS="$STD_ARGS --pre"
Expand Down
2 changes: 1 addition & 1 deletion tools/circleci_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -ef

python -m pip install --upgrade "pip!=20.3.0" setuptools wheel
python -m pip install --upgrade "pip!=20.3.0"
python -m pip install --upgrade --progress-bar off --only-binary "numpy,scipy,matplotlib,pandas,statsmodels" PyQt6 git+https://github.com/mne-tools/mne-qt-browser -ve .[full,test_base,doc]
2 changes: 1 addition & 1 deletion tools/github_actions_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ else
echo "Install pip-pre dependencies"
test "${MNE_CI_KIND}" == "pip-pre"
STD_ARGS="$STD_ARGS --pre"
python -m pip install $STD_ARGS pip setuptools wheel packaging
python -m pip install $STD_ARGS pip
echo "Numpy"
pip uninstall -yq numpy
echo "PyQt6"
Expand Down

0 comments on commit ae54537

Please sign in to comment.