diff --git a/conda/meta.yaml b/conda/meta.yaml index f9bc7d168..165979ecb 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -32,7 +32,9 @@ test: {# Conda does not allow spaces between package name and version, so remove them #} {% for package in test_dependencies %} + {% if package != "pace_neutrons" %} - {% if package == "graphviz" %}python-graphviz{% else %}{{ package|replace(" ", "") }}{% endif %} + {% endif %} {% endfor %} # Note that we add tof here because it depends on plopp, and plopp should not be in # basetest.in because of the nightly dependencies diff --git a/tests/io/sqw/sqw_horace_test.py b/tests/io/sqw/sqw_horace_test.py index d63809b20..8f0d31d08 100644 --- a/tests/io/sqw/sqw_horace_test.py +++ b/tests/io/sqw/sqw_horace_test.py @@ -8,7 +8,6 @@ from typing import Any import numpy as np -import pace_neutrons import pytest import scipp as sc from dateutil.parser import parse as parse_datetime @@ -25,6 +24,8 @@ SqwLineProj, ) +pace_neutrons = pytest.importorskip("pace_neutrons") + @pytest.fixture(scope="module") def matlab() -> Any: