Skip to content

Commit

Permalink
RTD: remove transitive deps from docs env (MESMER-group#449)
Browse files Browse the repository at this point in the history
* RTD: remove transitive deps from docs env

* add comment
  • Loading branch information
mathause authored May 22, 2024
1 parent 16cdf19 commit 7377946
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ build:
pre_install:
# see https://github.com/readthedocs/readthedocs.org/issues/8201
- git update-index --assume-unchanged docs/environment.yml docs/source/conf.py
# install mesmer, needs to be editable
- python -m pip install -e .
# install mesmer
# * needs to be editable
# * --no-deps to ensure minimal required deps
- python -m pip install --no-deps -e .
tools:
python: mambaforge-22.9
sphinx:
Expand Down
21 changes: 15 additions & 6 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,26 @@ channels:
- conda-forge
- nodefaults

# NOTE: transitive dependencies are commented

dependencies:
- python=3.11
- cartopy
- dask[complete]
- netcdf4
# - cartopy
# - dask
- joblib
# - matplotlib-base
# - nc-time-axis
# - netcdf4
- numpy
- pandas>=2.0
- packaging
- pandas
- pooch
- pyproj
- regionmask
- scikit-learn
- scipy
- statsmodels
- regionmask>=0.9
- xarray>=2023.04 # because pandas 2 is required
- xarray
# required for docs
- sphinx-book-theme
- numpydoc
Expand Down

0 comments on commit 7377946

Please sign in to comment.