From 5f92b04152cf6d3fa8b77b70a3c4cf7fac5a9561 Mon Sep 17 00:00:00 2001 From: FynnBe <15139589+FynnBe@users.noreply.github.com> Date: Mon, 30 Nov 2026 14:16:53 +0000 Subject: [PATCH] Exclude jax from conda test requirements jax and tensorflow both register XLA flags and abort when imported together. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- conda-recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 3c7c101d..7659cf21 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -54,7 +54,7 @@ test: - tests requires: {% for dep in pyproject['project']['optional-dependencies']['dev'] %} - {% if 'torch' not in dep and 'bioio-bioformats' not in dep %} + {% if 'torch' not in dep and 'bioio-bioformats' not in dep and dep != 'jax' %} - {{ dep.replace('[array]', '').replace('[mcp]', '').replace(';python_version>="3.11" and python_version<"3.14"', '').replace(';python_version<"3.10"', '').replace(';python_version<"3.15"', '').replace(';python_version>="3.11"', '').replace(';python_version>="3.12"', '').lower().replace('_', '-') }} {% endif %} {% endfor %}