From 5c826e1af038377708ea3e5a98c09f0bbd4cbeaa Mon Sep 17 00:00:00 2001 From: Daniel Rasmussen Date: Wed, 19 Jun 2024 12:26:25 -0300 Subject: [PATCH] Restrict numpy version in older TF CI build --- .github/workflows/ci.yml | 2 ++ .nengobones.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adce032..8ee9e0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: coverage-name: oldest - script: test tf-version: tensorflow~=2.9.0 + numpy-version: numpy<2 coverage-name: tf-2.9 - script: test tf-version: tensorflow~=2.13.0 @@ -65,6 +66,7 @@ jobs: fail-fast: false env: TF_VERSION: ${{ matrix.tf-version || 'tensorflow' }} + NUMPY_VERSION: ${{ matrix.numpy-version || 'numpy' }} TF_FORCE_GPU_ALLOW_GROWTH: true GH_TOKEN: ${{ secrets.PUBLIC_GH_TOKEN }} runs-on: ${{ matrix.runs-on || 'ubuntu-latest' }} diff --git a/.nengobones.yml b/.nengobones.yml index 0be4120..e6a1a35 100644 --- a/.nengobones.yml +++ b/.nengobones.yml @@ -76,6 +76,7 @@ ci_scripts: coverage: true pip_install: - $TF_VERSION + - $NUMPY_VERSION - template: deploy wheel: true