Skip to content

Commit 69a8a5a

Browse files
authored
attempt to fix doc build on readthedocs (#1556)
readthedocs build is failing https://app.readthedocs.org/projects/sceptre/
1 parent 1dafabe commit 69a8a5a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,17 @@ version: 2
33
build:
44
os: "ubuntu-22.04"
55
tools:
6-
python: "3.10"
6+
python: "3.12"
77
jobs:
8-
post_create_environment:
8+
post_install:
99
# Install poetry
1010
# https://python-poetry.org/docs/#installing-manually
1111
- pip install poetry
12-
# Tell poetry to not use a virtual environment
13-
- poetry config virtualenvs.create false
14-
post_install:
15-
# Install dependencies with extras dependency group
12+
# Install dependencies with 'docs' dependency group
1613
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
17-
- poetry install --all-extras
14+
# VIRTUAL_ENV needs to be set manually for now.
15+
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
16+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --all-extras
1817

1918
sphinx:
2019
configuration: docs/_source/conf.py

0 commit comments

Comments
 (0)