Skip to content

Commit

Permalink
add xclim v0.53 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Oct 2, 2024
1 parent 07991e4 commit 80117d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ jobs:
python=${{ matrix.python-version }}
micromamba-version: "1.5.10-0" # pinned to avoid the breaking changes with mamba and micromamba (2.0.0).
- name: Install xclim development version
# FIXME: This is a workaround to install xclim v0.53, which is not released.
run: |
echo "Installing xclim from main branch until version 0.53.0+ is released"
micromamba remove -y xclim
python -m pip install git+https://github.com/Ouranosinc/xclim.git@main
- name: Install xsdba
run: |
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ build:
tools:
python: "mambaforge-22.9"
jobs:
pre_install:
# FIXME: This is a workaround to install xclim v0.53, which is not released.
- mamba install -y -n base -c conda-forge "xclim=0.52.2"
- pip install git+https://github.com/Ouranosinc/xclim.git@main
pre_build:
- sphinx-apidoc -o docs/apidoc --private --module-first src/xsdba
- sphinx-build -M gettext docs docs/_build
Expand Down

0 comments on commit 80117d0

Please sign in to comment.