Skip to content

Commit

Permalink
docs: add some make upgrade instructions to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Aug 15, 2022
1 parent 18b57e1 commit f7907ee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ metasmoke:

##@ Requirements management

# When updating requirements, a few rules to follow:
#
# 1) Don't install more than one .pip file at once. Always use pip-compile to
# combine .in files onto a single .pip file that can be installed where needed.
#
# 2) Check manual pins before `make upgrade` to see if they can be removed. Look
# in requirements/pins.pip, and search for "windows" in .in files to find pins
# and extra requirements that have been needed, but might be obsolete.

.PHONY: upgrade

PIP_COMPILE = pip-compile --upgrade --allow-unsafe --generate-hashes
Expand Down

0 comments on commit f7907ee

Please sign in to comment.