Skip to content

Commit 38d7713

Browse files
authored
Merge pull request #2716 from hvarfner/buildthedocs_fail
Fix the buildthedocs failure
2 parents c72d9f5 + 2e41106 commit 38d7713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ build:
1414
- pip install "numpy<2" # Numpy 2.0 is not fully supported until PyTorch 2.2
1515
- pip install torch==2.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
1616
pre_build:
17+
- pip install "setuptools<78" # setuptools 78+ removed pkg_resources, which m2r2 needs
1718
- python -m setuptools_scm # Get correct version number
1819

1920
# Build documentation in the docs/ directory with Sphinx

0 commit comments

Comments
 (0)