Skip to content

Commit 139c372

Browse files
committed
fix docmake
1 parent f6bb654 commit 139c372

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/docs-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ jobs:
125125
working-directory: ./docs/source-${{ matrix.pkg-name }}
126126
# allow failing link check and doctest if you run with dispatch
127127
continue-on-error: ${{ (matrix.target == 'doctest' || matrix.target == 'linkcheck') && github.event_name == 'workflow_dispatch' }}
128-
run: make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS="$BUILD_SPHINX_OPTS"
128+
run: |
129+
# temp fix: https://github.com/Lightning-AI/pytorch-lightning/actions/runs/19440502586/job/55622388642?pr=21354#step:11:4596
130+
uv pip install -U fastapi
131+
make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS="$BUILD_SPHINX_OPTS"
129132
130133
- name: Keep artifact
131134
if: github.event_name == 'pull_request'

requirements/ci.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ wget
77
pkginfo ==1.12.1.2
88
packaging <25.1
99
tomlkit
10-
fastapi >=0.111.0 # to prevent `schema` error in `pydantic`

requirements/pytorch/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ onnxruntime >=1.12.0, <1.24.0
1616
onnxscript >= 0.1.0, < 0.6.0
1717
psutil <7.1.2 # for `DeviceStatsMonitor`
1818
pandas >2.0, <2.4.0 # needed in benchmarks
19-
fastapi >=0.111.0 # for `ServableModuleValidator` # not setting version as re-defined in App
19+
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
2020
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App
2121

2222
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`

0 commit comments

Comments
 (0)