From ebccb6398fd351146f653840834cdd6d3c0d3fc4 Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Wed, 18 Sep 2024 13:25:40 +0100 Subject: [PATCH 1/3] CI: Don't install hdf5 from system packages h5py installs its own copy --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 61d507f..c187dad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,8 +21,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - sudo apt-get install libhdf5-serial-dev - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip python -m pip install flake8 python -m pip install .[tests] - name: Lint with flake8 From 5c4c1d310c9515d0b11e7e8354ed006de44b09bd Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Wed, 18 Sep 2024 13:26:17 +0100 Subject: [PATCH 2/3] CI: Bump actions versions; python versions --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c187dad..486fbe2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 8c2bfc2c4f092d68c7d44c9b445d71cce4cf069b Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Wed, 18 Sep 2024 13:56:11 +0100 Subject: [PATCH 3/3] CI: Apply previous fixes to benchmark workflow too --- .github/workflows/benchmark.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d57b175..34070ec 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,18 +17,17 @@ jobs: steps: # We need the full repo - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install dependencies run: | - sudo apt-get install libhdf5-serial-dev python -m pip install --upgrade pip setuptools wheel python -m pip install asv virtualenv