Skip to content

Commit 9975d0c

Browse files
committed
build: no need for a separate doc_upgrade target
1 parent 6dec28b commit 9975d0c

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ metasmoke:
101101
# in requirements/pins.pip, and search for "windows" in .in files to find pins
102102
# and extra requirements that have been needed, but might be obsolete.
103103

104-
.PHONY: upgrade upgrade_one _upgrade doc_upgrade diff_upgrade
104+
.PHONY: upgrade upgrade_one _upgrade diff_upgrade
105105

106106
DOCBIN = .tox/doc/bin
107107

@@ -123,10 +123,7 @@ _upgrade:
123123
$(PIP_COMPILE) -o requirements/dev.pip requirements/dev.in
124124
$(PIP_COMPILE) -o requirements/light-threads.pip requirements/light-threads.in
125125
$(PIP_COMPILE) -o requirements/mypy.pip requirements/mypy.in
126-
127-
doc_upgrade: export UV_CUSTOM_COMPILE_COMMAND=make doc_upgrade
128-
doc_upgrade: $(DOCBIN) ## Update the doc/requirements.pip file
129-
$(PIP_COMPILE) -p $(DOCBIN)/python3 --upgrade -o doc/requirements.pip doc/requirements.in
126+
$(PIP_COMPILE) -p $(DOCBIN)/python3 -o doc/requirements.pip doc/requirements.in
130127

131128
diff_upgrade: ## Summarize the last `make upgrade`
132129
@# The sort flags sort by the package name first, then by the -/+, and

doc/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
33

44
# PyPI requirements input for building documentation for coverage.py
5-
# "make doc_upgrade" turns this into doc/requirements.pip
5+
# "make upgrade" turns this into doc/requirements.pip
66

77
-c ../requirements/pins.pip
88

doc/requirements.pip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# make doc_upgrade
2+
# make upgrade
33
alabaster==1.0.0
44
# via sphinx
55
anyio==4.9.0

0 commit comments

Comments
 (0)