Skip to content

Commit 5d5091c

Browse files
authored
Fix Readthedocs build
New version of pip/setuptools lead to failed build (failed in setup.py from generation pkg) Use installed packages from requirements-build (just for building the doc) via --no-build-isolation
1 parent cff9ccb commit 5d5091c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ build:
88
- ninja-build
99
tools:
1010
python: "3.10"
11-
12-
python:
13-
install:
14-
# Split requirements to control the installation order. This ensures that build dependencies are installed first.
15-
- requirements: docs/requirements-build.txt
16-
- requirements: docs/requirements.txt
11+
jobs:
12+
install:
13+
- pip install --exists-action=w --no-cache-dir -r docs/requirements-build.txt
14+
- pip install --exists-action=w --no-cache-dir -r docs/requirements.txt --no-build-isolation
1715

1816
sphinx:
1917
configuration: docs/source/conf.py

0 commit comments

Comments
 (0)