Skip to content

Commit

Permalink
Readthedocs configuration: temporary revert to miniconda before minif…
Browse files Browse the repository at this point in the history
…orge3 becomes available (remove Mambaforge) (#2562)
  • Loading branch information
valeriupredoi authored Oct 22, 2024
1 parent d5c9192 commit e9fccbd
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
# updated and deployed from Aug 1, 2023
python: "mambaforge-22.9"
# try miniforge3 when available? see github.com/ESMValGroup/ESMValCore/issues/2557
# DO NOT use mambaforge-*; that is currently sunsetted
python: "miniconda-latest"
jobs:
pre_create_environment:
# update mamba just in case
- mamba update --yes --quiet --name=base mamba 'zstd=1.5.2'
- mamba --version
- mamba list --name=base
post_create_environment:
- conda run -n ${CONDA_DEFAULT_ENV} mamba list
# use conda run executable wrapper to have all env variables
- conda run -n ${CONDA_DEFAULT_ENV} mamba --version
- conda run -n ${CONDA_DEFAULT_ENV} pip install . --no-deps

# Declare the requirements required to build your docs
Expand Down

0 comments on commit e9fccbd

Please sign in to comment.