From 9793df5f6f3276a3ce7d65869f1cc54fea61c4db Mon Sep 17 00:00:00 2001 From: Andreas Eknes Lie Date: Mon, 25 Nov 2024 15:03:58 +0100 Subject: [PATCH] Pin numpy and limit build range --- .github/workflows/bundle_with_dakota_linux.yml | 2 +- .github/workflows/bundle_with_dakota_macos.yml | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/bundle_with_dakota_linux.yml b/.github/workflows/bundle_with_dakota_linux.yml index dc18bb04..cb8ad72a 100644 --- a/.github/workflows/bundle_with_dakota_linux.yml +++ b/.github/workflows/bundle_with_dakota_linux.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8','3.9','3.10','3.11','3.12'] + python-version: ['3.11'] os: [ubuntu-latest] runs-on: ${{ matrix.os }} env: diff --git a/.github/workflows/bundle_with_dakota_macos.yml b/.github/workflows/bundle_with_dakota_macos.yml index 3c7ccf73..b303f0c0 100644 --- a/.github/workflows/bundle_with_dakota_macos.yml +++ b/.github/workflows/bundle_with_dakota_macos.yml @@ -29,13 +29,8 @@ jobs: fail-fast: true matrix: # https://github.com/actions/runner-images?tab=readme-ov-file#available-images - python-version: [ '3.8', '3.11', '3.12' ] - os: [ 'macos-14', 'macos-14-large', 'macos-13' ] - exclude: - - os: 'macos-14' - python-version: '3.8' - - os: 'macos-14-large' - python-version: '3.8' + python-version: [ '3.11' ] + os: [ 'macos-14' ] runs-on: ${{ matrix.os }} name: "Build 🛞 (${{ matrix.python-version }}, ${{ matrix.os }})" @@ -96,7 +91,7 @@ jobs: if: steps.cache-package.outputs.cache-hit != 'true' run: | python -m pip install -U pip - python -m pip install numpy + python -m pip install numpy==1.26.4 - name: Build needed boost libraries if: steps.cache-package.outputs.cache-hit != 'true'