From b591d987b415a45aa6f422a8a372af8f13ebf24a Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 10:29:42 -0500 Subject: [PATCH 1/7] ADD: Add a few lines to ci workflow to resolve issues --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0b02964e94..742bf1a86a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,10 @@ jobs: with: environment-file: continuous_integration/environment-ci.yml environment-name: pyart-dev + init-shell: >- + bash cache-downloads: true + post-cleanup: "all" create-args: python=${{ matrix.python-version }} - name: Fetch all history for all tags and branches From 3bad7266a2c89d976529c3a55b370b7c1b93586b Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 10:37:52 -0500 Subject: [PATCH 2/7] FIX: Stop caching downloads --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 742bf1a86a7..9331871c9cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: environment-name: pyart-dev init-shell: >- bash - cache-downloads: true + cache-downloads: false post-cleanup: "all" create-args: python=${{ matrix.python-version }} From a109c9e0cbbae0c50d08e5e35afa9f6594bec478 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 10:59:58 -0500 Subject: [PATCH 3/7] ADD: Add open-radar-data pip install --- continuous_integration/environment-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continuous_integration/environment-ci.yml b/continuous_integration/environment-ci.yml index ada69987ba2..8907688c587 100644 --- a/continuous_integration/environment-ci.yml +++ b/continuous_integration/environment-ci.yml @@ -33,4 +33,4 @@ dependencies: - pooch - versioneer - black - - git+https://github.com/openradar/open-radar-data + - open-radar-data From 57f95baf1c31db56716a114e0def24ce5cbfc739 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 11:04:24 -0500 Subject: [PATCH 4/7] FIX: Go back to caching --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9331871c9cf..742bf1a86a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: environment-name: pyart-dev init-shell: >- bash - cache-downloads: false + cache-downloads: true post-cleanup: "all" create-args: python=${{ matrix.python-version }} From e42ad3f3e0bac6ddcee17422035a64526789bf80 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 11:22:07 -0500 Subject: [PATCH 5/7] pin micromamba version --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 742bf1a86a7..fe1b94949b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,11 @@ jobs: # Install dependencies - name: Setup Conda Environment - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v1.9.0 with: environment-file: continuous_integration/environment-ci.yml environment-name: pyart-dev + micromamba-version: '2.0.0-0' init-shell: >- bash cache-downloads: true From c0076ed4bb18ccde2bf1b0a4b8298274fad86c30 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 12:12:29 -0500 Subject: [PATCH 6/7] DEL: remove env name in ci --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe1b94949b6..317550acb82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,6 @@ jobs: uses: mamba-org/setup-micromamba@v1.9.0 with: environment-file: continuous_integration/environment-ci.yml - environment-name: pyart-dev micromamba-version: '2.0.0-0' init-shell: >- bash From 9f296eb722bee6e06d3006693a48e49cd491322a Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Thu, 26 Sep 2024 12:18:25 -0500 Subject: [PATCH 7/7] FIX: Move all packages to use conda-forge --- continuous_integration/environment-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/continuous_integration/environment-ci.yml b/continuous_integration/environment-ci.yml index 8907688c587..a0e9c5b81e2 100644 --- a/continuous_integration/environment-ci.yml +++ b/continuous_integration/environment-ci.yml @@ -27,10 +27,7 @@ dependencies: - ruff==0.4.2 - mda-xdrlib - xradar - - pip - - pip: - - cibuildwheel - - pooch - - versioneer - - black - - open-radar-data + - pooch + - versioneer + - black + - open-radar-data