Skip to content

Commit c5df229

Browse files
authored
rtd: use pip (#457)
* rtd: use pip * use py3.12 * update comments * remove env file from assume-unchanged * require ipython
1 parent 0ff1cc5 commit c5df229

File tree

3 files changed

+6
-39
lines changed

3 files changed

+6
-39
lines changed

.readthedocs.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,10 @@ build:
77
- git fetch --unshallow
88
pre_install:
99
# see https://github.com/readthedocs/readthedocs.org/issues/8201
10-
- git update-index --assume-unchanged docs/environment.yml docs/source/conf.py
11-
# install mesmer
12-
# * needs to be editable
13-
# * --no-deps to ensure minimal required deps
14-
- python -m pip install --no-deps -e .
10+
- git update-index --assume-unchanged docs/source/conf.py
11+
# editable install mesmer with docs extras
12+
- python -m pip install -e .[docs]
1513
tools:
16-
python: mambaforge-22.9
14+
python: "3.12"
1715
sphinx:
1816
configuration: docs/source/conf.py
19-
conda:
20-
environment: docs/environment.yml

docs/environment.yml

-30
This file was deleted.

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ viz =
5656
nc-time-axis
5757

5858
docs =
59+
ipython
5960
numpydoc
60-
sphinx-book-theme
6161
sphinx
62+
sphinx-book-theme
6263

6364
tests =
6465
pytest-cov

0 commit comments

Comments
 (0)