From 47610b1ac74d8f496cf2bd0cbf727b45ee5b86a0 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Sat, 12 Oct 2024 17:02:49 -0600 Subject: [PATCH] make numba install conditional --- .github/environment_ci.yml | 1 - .github/workflows/test_with_conda.yml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/environment_ci.yml b/.github/environment_ci.yml index aa41d07e..9e03b20d 100644 --- a/.github/environment_ci.yml +++ b/.github/environment_ci.yml @@ -9,7 +9,6 @@ dependencies: # optionals - matplotlib - utm - - numba # documentation - sphinx diff --git a/.github/workflows/test_with_conda.yml b/.github/workflows/test_with_conda.yml index 5654702a..9a5fa24d 100644 --- a/.github/workflows/test_with_conda.yml +++ b/.github/workflows/test_with_conda.yml @@ -31,6 +31,12 @@ jobs: activate-environment: geoana-test python-version: ${{ matrix.python-version }} + - name: Install numba + if: matrix.python-version != '3.13' + # Numba doesn't work on python 3.13 just yet, so conditionally install it into the environment: + run: | + conda install --yes -c conda-forge numba + - name: Conda information run: | conda info