Skip to content

Commit c159734

Browse files
Add a comment clarify cooldown (and excludes) and add to make help
1 parent 5aa066b commit c159734

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ help:
3232
@echo "Please use \`make <target>' where <target> is one of"
3333
@echo " clean to remove build files"
3434
@echo " venv to create a venv with necessary tools"
35+
@echo " lock to regenerate the pinned dependencies in $(REQUIREMENTS)"
3536
@echo " html to make standalone HTML files"
3637
@echo " gettext to generate POT files"
3738
@echo " htmlview to open the index page built by the html target in your browser"
@@ -187,6 +188,9 @@ venv:
187188

188189
.PHONY: lock
189190
lock:
191+
# Dependencies have a 14 day cooldown period to mitigate supply chain attacks,
192+
# except for sphinx_linklint and python-docs-theme, which are maintained by
193+
# core team members.
190194
uv pip compile requirements.txt \
191195
--exclude-newer P14D \
192196
--exclude-newer-package sphinx_linklint=PT0S \

0 commit comments

Comments
 (0)