Skip to content

Commit

Permalink
Readthedocs configuration/builds: revert to miniconda before miniforg…
Browse files Browse the repository at this point in the history
…e is available (#3785)

Co-authored-by: Bouwe Andela <[email protected]>
  • Loading branch information
valeriupredoi and bouweandela authored Oct 22, 2024
1 parent 8f7982c commit c4b8d02
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/ESMValTool/issues/3779
# 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 c4b8d02

Please sign in to comment.