Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #321

Merged
merged 4 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.8.6
hooks:
- id: ruff
- id: ruff-format
Expand Down
20 changes: 10 additions & 10 deletions recipes/mne-python/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ specs:
- tensorpac =0.6.5
- emd =0.7.0
- neurodsp =2.2.0
- bycycle =1.1.0
# - bycycle =1.1.0 # TODO: broken with latest SciPy
- fooof =1.0.0
# Microstates
- mne-microstates =0.3.0
Expand Down Expand Up @@ -134,7 +134,7 @@ specs:
- imageio-ffmpeg =0.5.1
- pandas =2.2.3
- polars =1.17.1
- scipy =1.14.1
- scipy =1.15.0
- openblas =0.3.28
- libblas =3.9.0=*openblas
- jupyter =1.1.1
Expand All @@ -155,7 +155,7 @@ specs:
# Statistics
- pingouin =0.5.5
# NeuroSpin needs the following
- questionary =2.0.1
- questionary =2.1.0
- pqdm =0.2.0
- astropy =7.0.0
# Viz
Expand All @@ -165,29 +165,29 @@ specs:
- tornado =6.4.2
- pyside6 =6.7.3=*_1 # allow_outdated, vtk needs rebuild against 6.8.0 https://github.com/conda-forge/vtk-feedstock/pull/357
- qt6-main =6.7.3 # allow_outdated
- ipympl =0.9.5
- ipympl =0.9.6
- qtpy =2.4.2
- seaborn =0.13.2
- plotly =5.24.1
- vtk =9.3.1=qt*
- ipywidgets =8.1.5
- pyvista =0.44.2
- pyvistaqt =0.11.1
- trame =3.7.1
- trame =3.7.6
- trame-vtk =2.8.12
- trame-vuetify =2.7.2
- trame-vuetify =2.8.0
- termcolor =2.5.0
- defusedxml =0.7.1
# Development
- gh =2.64.0
- gh =2.65.0
- setuptools_scm =8.1.0
- pytest =8.3.4
- pytest-cov =6.0.0
- pytest-qt =4.4.0
- pytest-timeout =2.3.1
- pre-commit =4.0.1
- ruff =0.8.4
- uv =0.5.11
- ruff =0.8.6
- uv =0.5.15
- check-manifest =0.50
- codespell =2.3.0
- py-spy =0.4.0
Expand All @@ -196,7 +196,7 @@ specs:
- twine =6.0.1
- hatchling =1.27.0
- hatch-vcs =0.4.0
- mypy =1.14.0
- mypy =1.14.1
- towncrier =23.11.0 # allow_outdated, 24.7.1 doesn't work with sphinxcontrib-towncrier
- vulture =2.14
# Doc building
Expand Down
3 changes: 2 additions & 1 deletion tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def check_min_version(package, min_version):
import tensorpac
import emd
import neurodsp
import bycycle

# import bycycle
import fooof
import openneuro
import sleepecg
Expand Down
8 changes: 4 additions & 4 deletions tools/check_installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ echo "Got OWNER=$OWNER, should be $(whoami)"
test "$OWNER" == "$(whoami)"
echo "::endgroup::"

echo "::group:Checking whether Qt is working"
echo "::group::Checking whether Qt is working"
# LD_DEBUG=libs
python -c "from qtpy.QtWidgets import QApplication, QWidget; app = QApplication([])"
echo "::endgroup::"

echo "::group:Checking the deployed environment variables were set correctly upon environment activation"
echo "::group::Checking the deployed environment variables were set correctly upon environment activation"
conda env config vars list
if [[ "$MNE_MACHINE" == "macOS" && "$MACOS_ARCH" == "Intel" ]]; then
python -c "import os; x = os.getenv('CONDA_SUBDIR'); assert x == 'osx-64', f'CONDA_SUBDIR ({repr(x)}) != osx-64'" || exit 1
Expand All @@ -96,13 +96,13 @@ echo "::group::mne sys_info"
mne sys_info
echo "::endgroup::"

echo "::group:Trying to import MNE and all additional packages included in the installer"
echo "::group::Trying to import MNE and all additional packages included in the installer"
python -u tests/test_imports.py
python -u tests/test_gui.py
python -u tests/test_notebook.py
python -u tests/test_json_versions.py
echo "::endgroup::"

echo "::group:Checking that all packages are installed that MNE-Python devs would need"
echo "::group::Checking that all packages are installed that MNE-Python devs would need"
python -u tests/test_dev_installed.py
echo "::endgroup::"
Loading