Skip to content

Commit

Permalink
update mamba before building environment during Readthedocs build (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi authored Aug 8, 2023
1 parent 3222d28 commit ea29584
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "mambaforge-4.10"
# updated and deployed from Aug 1, 2023
python: "mambaforge-22.9"
jobs:
pre_create_environment:
# update mamba just in case
- mamba update --yes --quiet --name=base mamba
- mamba --version
post_create_environment:
# 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 ea29584

Please sign in to comment.