Skip to content

Commit 06eac85

Browse files
authored
Use --reinstall instead of uninstall/install for docs insiders packages (#627)
1 parent ae82fa4 commit 06eac85

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ else ifeq ($(PPPR_TOKEN),)
8585
@exit 1
8686
else
8787
@echo 'installing insiders packages...'
88-
@uv pip uninstall mkdocs-material mkdocstrings-python
89-
@uv pip install \
88+
@uv pip install --reinstall --no-deps \
9089
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
9190
mkdocs-material mkdocstrings-python
9291
endif
@@ -104,8 +103,7 @@ cf-pages-build: ## Install uv, install dependencies and build the docs, used on
104103
curl -LsSf https://astral.sh/uv/install.sh | sh
105104
uv python install 3.12
106105
uv sync --python 3.12 --frozen --group docs
107-
uv pip uninstall mkdocs-material mkdocstrings-python
108-
uv pip install -U \
106+
uv pip install --reinstall --no-deps \
109107
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
110108
mkdocs-material mkdocstrings-python
111109
uv pip freeze

0 commit comments

Comments
 (0)