Closed sethfischer closed 1 year ago
readthedocs/readthedocs.org/issues/9869
Moving poetry install
from build.jobs.post_create_environment
to post_install
resolved the issue.
version: 2
build:
os: ubuntu-20.04
tools:
nodejs: "19"
python: "3.9"
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install
- npm clean-install
- make npm-build
sphinx:
configuration: docs/conf.py
Build 19088114 is expected to use Sphinx 5.3.0, rather it uses Sphinx 6.1.1.
rtd-build-19088114.txt
Build 19088114 uses Poetry to install dependencies with a
post_create_environment
user-defined job, in a manner recommended by RTD.As expected
poetry install
installs Sphinx 5.3.0. This is confirmed withpoetry show sphinx
inpost_create_environment
.However, when the following is run by RTD:
The output shows that Sphinx 6.1.1 is being used:
.readthedocs.yaml
: