Skip to content

Commit

Permalink
Use --reinstall instead of uninstall/install for docs insiders pack…
Browse files Browse the repository at this point in the history
…ages (#627)
  • Loading branch information
T-256 authored Jan 7, 2025
1 parent ae82fa4 commit 06eac85
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ else ifeq ($(PPPR_TOKEN),)
@exit 1
else
@echo 'installing insiders packages...'
@uv pip uninstall mkdocs-material mkdocstrings-python
@uv pip install \
@uv pip install --reinstall --no-deps \
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
mkdocs-material mkdocstrings-python
endif
Expand All @@ -104,8 +103,7 @@ cf-pages-build: ## Install uv, install dependencies and build the docs, used on
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.12
uv sync --python 3.12 --frozen --group docs
uv pip uninstall mkdocs-material mkdocstrings-python
uv pip install -U \
uv pip install --reinstall --no-deps \
--extra-index-url https://pydantic:${PPPR_TOKEN}@pppr.pydantic.dev/simple/ \
mkdocs-material mkdocstrings-python
uv pip freeze
Expand Down

0 comments on commit 06eac85

Please sign in to comment.