Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#12670)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Larson <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and larsoner authored Jun 18, 2024
1 parent c24702c commit 1792bae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Ruff mne
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.4.9
hooks:
- id: ruff
name: ruff lint mne
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ stages:
displayName: 'Test minimal commands'
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.12'
architecture: 'x64'
addToPath: true
displayName: 'Get Python'
Expand Down Expand Up @@ -200,7 +200,7 @@ stages:
displayName: 'PyQt6'
- bash: |
set -e
python -m pip install "PySide6!=6.7.0,!=6.7.1"
python -m pip install "PySide6!=6.7.0,!=6.7.1,!=6.7.2"
mne sys_info -pd
mne sys_info -pd | grep "qtpy .* (PySide6=.*)$"
PYTEST_QT_API=PySide6 pytest -m "not slowtest" ${TEST_OPTIONS}
Expand Down Expand Up @@ -255,9 +255,9 @@ stages:
strategy:
maxParallel: 4
matrix:
3.9 pip:
3.10 pip:
TEST_MODE: 'pip'
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
3.12 pip pre:
TEST_MODE: 'pip-pre'
PYTHON_VERSION: '3.12'
Expand Down
3 changes: 2 additions & 1 deletion tools/azure_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
STD_ARGS="--progress-bar off --upgrade"
python -m pip install $STD_ARGS pip setuptools wheel
if [ "${TEST_MODE}" == "pip" ]; then
python -m pip install $STD_ARGS --only-binary="numba,llvmlite,numpy,scipy,vtk" -e .[test,full]
# TODO: numpy<2 because of https://github.com/dipy/dipy/issues/3265
python -m pip install $STD_ARGS --only-binary="numba,llvmlite,numpy,scipy,vtk,dipy" -e .[test,full] "numpy<2"
elif [ "${TEST_MODE}" == "pip-pre" ]; then
${SCRIPT_DIR}/install_pre_requirements.sh
python -m pip install $STD_ARGS --pre -e .[test]
Expand Down

0 comments on commit 1792bae

Please sign in to comment.