Skip to content

Commit 95fe5de

Browse files
committed
chore: Try disabling pip
1 parent 9e63627 commit 95fe5de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ build:
1111
- asdf global uv latest
1212
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools
1313
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx
14+
# Turn `python -m pip` into `python -c pass`
15+
- truncate --size 0 $READTHEDOCS_VIRTUALENV_PATH/lib/python3*/site-packages/pip/__main__.py
1416
post_install:
1517
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt

0 commit comments

Comments
 (0)