Skip to content

Commit 646cbe8

Browse files
committed
chore: Try disabling pip
1 parent 9e63627 commit 646cbe8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ build:
99
- asdf plugin add uv
1010
- asdf install uv latest
1111
- asdf global uv latest
12-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools
12+
# Turn `python -m pip` into `python -c pass`
13+
- truncate --size 0 $READTHEDOCS_VIRTUALENV_PATH/lib/python3*/site-packages/pip/__main__.py
1314
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx
1415
post_install:
1516
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt

0 commit comments

Comments
 (0)