From 53792b12a2d60229ada3c946987a184f3915c535 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Mon, 2 Dec 2024 18:38:35 -0600 Subject: [PATCH] pin selenium and stop filtering its warning (#13000) Co-authored-by: Eric Larson --- azure-pipelines.yml | 2 +- doc/sphinxext/mne_doc_utils.py | 2 -- pyproject.toml | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4958e61ad6..3ca4177174f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -264,7 +264,7 @@ stages: - bash: | set -eo pipefail git clone --depth 1 https://github.com/pyvista/setup-headless-display-action.git - bash setup-headless-display-action/windows/install_opengl.sh + MESA3D_VERSION=24.3.0 bash setup-headless-display-action/windows/install_opengl.sh displayName: Install OpenGL - bash: ./tools/azure_dependencies.sh displayName: Install dependencies with pip diff --git a/doc/sphinxext/mne_doc_utils.py b/doc/sphinxext/mne_doc_utils.py index 7717c203d28..4811cde5f44 100644 --- a/doc/sphinxext/mne_doc_utils.py +++ b/doc/sphinxext/mne_doc_utils.py @@ -95,8 +95,6 @@ def reset_warnings(gallery_conf, fname): r"numpy\.core is deprecated and has been renamed to numpy\._core", # matplotlib "__array_wrap__ must accept context and return_scalar.*", - # selenium - "setting remote_server_addr", ): warnings.filterwarnings( # deal with other modules having bad imports "ignore", message=f".*{key}.*", category=DeprecationWarning diff --git a/pyproject.toml b/pyproject.toml index 0a855539aac..4199e8cd8e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ doc = [ "pyxdf", "pyzmq != 24.0.0", "seaborn != 0.11.2", - "selenium", + "selenium >= 4.27.1", "sphinx >= 6", "sphinx-design", "sphinx-gallery >= 0.16",