Skip to content

Commit

Permalink
Fix docs build for PDM again (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjoseph92 authored Sep 14, 2022
1 parent 5fba634 commit b4dee87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ build:
python: "3.8"
jobs:
post_install:
- pip install --upgrade pdm
# Install PDM in its own isolated environment, so docs deps don't trample its deps
- curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
# TODO how to get `pdm` on the $PATH?
# https://github.com/pdm-project/pdm/discussions/1365#discussioncomment-3581356
# NOTE: pandoc fails in isolation mode
- VIRTUAL_ENV=$(dirname $(dirname $(which python))) pdm install --no-isolation -G viz -dG docs
- VIRTUAL_ENV=$(dirname $(dirname $(which python))) $HOME/.local/bin/pdm sync --no-isolation -G viz -dG docs

0 comments on commit b4dee87

Please sign in to comment.