Skip to content

Commit bfa5e98

Browse files
fix(docs): bump Python to 3.10 in docs CI to fix empty API pages (#937)
Root cause: The docs CI uses Python 3.9, which caps torch at ~2.6. These older torch versions are incompatible with modern setuptools>=82 (which removed pkg_resources), causing import torch.utils.cpp_extension to fail. Since _backend.py is imported at module level via _make_lazy_cuda_cls() in _wrapper.py, this crashes the entire import gsplat chain. Sphinx catches the error silently and deploys empty pages.
2 parents 115ca85 + ffb54a5 commit bfa5e98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v3
2323
with:
24-
python-version: '3.9'
24+
python-version: '3.10'
2525

2626
- name: Install dependencies
2727
run: |

0 commit comments

Comments
 (0)