From a4b955198e33572d5189edc463cf92995972f1cd Mon Sep 17 00:00:00 2001 From: Tom Body
Date: Thu, 15 Dec 2022 17:12:13 -0500 Subject: [PATCH] Add HDF5 and importlib.metadata to repair pipeline --- .github/workflows/benchmark.yml | 3 ++- .github/workflows/tests.yml | 3 ++- freegs/__init__.py | 7 +++++-- pyproject.toml | 1 + requirements.txt | 1 + 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 12c6884..19713f0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,8 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip + sudo apt-get install libhdf5-serial-dev + python -m pip install --upgrade pip setuptools wheel python -m pip install asv virtualenv - name: Run benchmarks diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d13b4a5..21db002 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip + sudo apt-get install libhdf5-serial-dev + python -m pip install --upgrade pip setuptools wheel python -m pip install flake8 python -m pip install .[tests] - name: Lint with flake8 diff --git a/freegs/__init__.py b/freegs/__init__.py index 6f4a163..00f4846 100644 --- a/freegs/__init__.py +++ b/freegs/__init__.py @@ -28,8 +28,7 @@ along with FreeGS. If not, see