Skip to content

Commit

Permalink
Fix up the ReadTheDocs build
Browse files Browse the repository at this point in the history
RTD builds were failing due to the Conda process taking too much memory!
I've figured out how to enable RTD builds during pull request
processing, so we should get much better notification of issues from
here on out. By updating the RTD config file and switching to a
mambaforge installer, it looks like we get things working again.
  • Loading branch information
pkgw committed Aug 7, 2023
1 parent 32d7954 commit d6f846b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
9 changes: 4 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
version: 2

build:
image: latest
os: ubuntu-22.04
tools:
python: mambaforge-4.10
nodejs: "18"
apt_packages:
- libpci-dev

# As of June 2021, We need to set up a conda environment to install
# a sufficiently new Node.js: https://github.com/readthedocs/readthedocs.org/issues/8249

conda:
environment: .readthedocs_env.yml

python:
version: 3.8
install:
- method: pip
path: .
Expand Down
14 changes: 2 additions & 12 deletions .readthedocs_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,21 @@ channels:
dependencies:
- astropy
- astropy-sphinx-theme
- commonmark
- ipyevents
- ipython
- ipykernel
- ipywidgets
- jupyterlab
- jupyterlab_widgets
- krb5
- lxml
- ipykernel
- matplotlib
- nbclassic
- nodejs
- notebook
- numpydoc
- pip
- pyopengl
- pyqt
- pyqtwebengine
- python=3.9
- python =3.10
- qt
- qtpy
- recommonmark
- reproject
- scipy
- setuptools
- sphinx
- sphinx-automodapi
- widgetsnbextension

0 comments on commit d6f846b

Please sign in to comment.