Skip to content

Commit 24478b2

Browse files
authored
FIX: Fix pinning of xradar and xarray (#1682)
* FIX: Fix pinning of xradar and xarray * DEL: Remove the fixes in the CI/doc build * FIX: Ensure same dependencies in requirements and env files * DEP: Update workflows to use latest setup micromamba * FIX: Fix placement of version for mamba * FIX: Stop caching the doc env
1 parent c0ee87a commit 24478b2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/build_docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020

2121
# Create environment using micromamba
2222
- name: Install Conda environment with Micromamba
23-
uses: mamba-org/setup-micromamba@v2.0.0
23+
uses: mamba-org/setup-micromamba@v2.0.1
2424
with:
2525
environment-file: doc/environment.yml
26+
micromamba-version: '2.0.0-0'
2627
environment-name: pyart-docs
27-
cache-downloads: true
28+
cache-downloads: false
2829

2930
- name: Fetch all history for all tags and branches
3031
run: |

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Install dependencies
3737
- name: Setup Conda Environment
38-
uses: mamba-org/setup-micromamba@v2.0.0
38+
uses: mamba-org/setup-micromamba@v2.0.1
3939
with:
4040
environment-file: continuous_integration/environment-ci.yml
4141
micromamba-version: '2.0.0-0'

continuous_integration/environment-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- wradlib
1313
- cartopy
1414
- cvxopt
15-
- xarray<2024.10.0
15+
- xarray<=2024.9.0
1616
- metpy
1717
- pytest-cov
1818
- pytest-mpl
@@ -25,7 +25,7 @@ dependencies:
2525
- shapely
2626
- ruff
2727
- mda-xdrlib
28-
- xradar
28+
- xradar<=0.7.0
2929
- pooch
3030
- versioneer
3131
- black

doc/environment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: pyart-docs
22
channels:
33
- conda-forge
4-
- defaults
54
dependencies:
65
- gdal
76
- numpy
@@ -14,7 +13,7 @@ dependencies:
1413
- metpy
1514
- cartopy
1615
- cvxopt
17-
- xarray<2024.10.0
16+
- xarray<=2024.9.0
1817
- sphinx<7.2
1918
- ipython
2019
- pandoc
@@ -35,7 +34,7 @@ dependencies:
3534
- pre_commit
3635
- cmweather
3736
- mda-xdrlib
38-
- xradar
37+
- xradar<=0.7.0
3938
- dask
4039
- pip
4140
- pip:

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ cftime
77
fsspec
88
s3fs
99
open_radar_data
10-
xradar
10+
xradar<=0.7.0
1111
pandas
1212
mda-xdrlib
13-
xarray
13+
xarray<=2024.9.0
1414
cartopy
1515
pint

0 commit comments

Comments
 (0)