Skip to content

Commit

Permalink
chore: Fix make upgrade github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
macdiesel committed Jul 11, 2023
1 parent f4e0fdb commit 6b21d8e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ check_pins: $(COMMON_CONSTRAINTS_TXT) ## check that our local copy of edx-platfo

upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: check_pins ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
$(PIP_COMPILE) --no-emit-trusted-host --no-emit-index-url -o requirements/pip.txt requirements/pip.in
$(PIP_COMPILE) --no-emit-trusted-host --no-emit-index-url -o requirements/test-master.txt requirements/test-master.in
$(PIP_COMPILE) --no-emit-trusted-host --no-emit-index-url -o requirements/doc.txt requirements/doc.in
$(PIP_COMPILE) --no-emit-trusted-host --no-emit-index-url -o requirements/test.txt requirements/test.in
Expand Down
7 changes: 7 additions & 0 deletions requirements/pip.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-c constraints.txt
# Core dependencies for installing other packages

pip
setuptools
wheel

12 changes: 12 additions & 0 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# make upgrade
#
wheel==0.40.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

0 comments on commit 6b21d8e

Please sign in to comment.