From 97882611bbd71a3953779fb42e22750c6d07901e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Sat, 18 May 2024 19:55:27 +0200 Subject: [PATCH] Ignore examples which uses datashader --- examples/conftest.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/conftest.py b/examples/conftest.py index 22dced7136..a2b4e88a03 100644 --- a/examples/conftest.py +++ b/examples/conftest.py @@ -1,6 +1,7 @@ import os import platform import sys +from importlib.util import find_spec import bokeh import pandas as pd @@ -62,6 +63,16 @@ "user_guide/Plotting_with_Matplotlib.ipynb", ] +# 2024-05: Numpy 2.0 +if find_spec("datashader") is None: + collect_ignore_glob += [ + "reference/elements/matplotlib/ImageStack.ipynb", + "reference/elements/plotly/ImageStack.ipynb", + "user_guide/15-Large_Data.ipynb", + "user_guide/Linked_Brushing.ipynb", + "user_guide/Network_Graphs.ipynb", + ] + def pytest_runtest_makereport(item, call): """