From ddc81159e18263be04dc0a7b7bd6d5116c3f8216 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Sun, 3 Oct 2021 23:47:37 +1300 Subject: [PATCH] Add tomli as a dependency in GitHub Actions CI (#1564) Adding tomli to fix the GitHub Actions CI test breakages reported in #1392. This is a temporary measure until `pytest-cov>2.12.1` is released. * Remove coverage dependency since it is required by pytest-cov already --- .github/workflows/ci_tests.yaml | 4 ++-- environment.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 965ce7ad674..61a859b5042 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -96,8 +96,8 @@ jobs: mamba install gmt=6.2.0 numpy=${{ matrix.numpy-version }} \ pandas xarray netCDF4 packaging \ ${{ matrix.optional-packages }} \ - coverage[toml] dvc=2.3.0 make pytest>=6.0 \ - pytest-cov pytest-mpl sphinx-gallery + dvc=2.3.0 make pytest>=6.0 \ + pytest-cov pytest-mpl sphinx-gallery tomli # Show installed pkg information for postmortem diagnostic - name: List installed packages diff --git a/environment.yml b/environment.yml index 34757cd180b..1e8849f27e9 100644 --- a/environment.yml +++ b/environment.yml @@ -16,7 +16,6 @@ dependencies: # Development dependencies - black - blackdoc - - coverage[toml] - docformatter - dvc=2.3.0 - flake8