From 4c3a99a9b51082cb0f83b9df7f0d6aabeefca7e3 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Wed, 8 May 2024 18:31:18 -0700 Subject: [PATCH] chore: Update environment file for catalog CI workflow --- .github/workflows/catalog-ci.yaml | 2 +- ci/environment-catalog.yaml | 19 +++++++++++++++++++ pyproject.toml | 5 ----- 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 ci/environment-catalog.yaml diff --git a/.github/workflows/catalog-ci.yaml b/.github/workflows/catalog-ci.yaml index fe99703..5d099a4 100644 --- a/.github/workflows/catalog-ci.yaml +++ b/.github/workflows/catalog-ci.yaml @@ -19,7 +19,7 @@ jobs: - name: set up conda environment uses: mamba-org/setup-micromamba@v1 with: - environment-file: ci/environment.yaml + environment-file: ci/environment-catalog.yaml init-shell: >- bash cache-environment: true diff --git a/ci/environment-catalog.yaml b/ci/environment-catalog.yaml new file mode 100644 index 0000000..daa3dde --- /dev/null +++ b/ci/environment-catalog.yaml @@ -0,0 +1,19 @@ +name: leap-data-management +channels: + - conda-forge + - nodefaults +dependencies: + - python=3.10 + - aiohttp + - cf_xarray + - cftime + - dask + - fsspec >= 2023.2 + - gcsfs + - pip + - pydantic-core + - pydantic>=2 + - pyyaml + - s3fs + - universal_pathlib + - zarr diff --git a/pyproject.toml b/pyproject.toml index c43ad03..b9af63c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,22 +42,17 @@ pangeo-forge=[ "dynamic-chunks", "dask" ] - catalog = [ "pydantic>=2", "universal-pathlib", "pydantic-core", "cf_xarray", ] - - - complete = ["leap-data-management-utils[pangeo-forge,catalog]"] test = [ "pytest", "leap-data-management-utils[complete]", ] - dev = [ "leap-data-management-utils[test]", "pre-commit",