Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
build: fix make upgrade by versioning pip consistent with piptools
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Hughes committed Jun 12, 2023
1 parent a441fdb commit 51c978c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ main.help:
@echo ''

requirements:
pip install -qr pre-requirements.txt --exists-action w
pip install -qr requirements/pip.txt --exists-action w
pip install -qr requirements.txt --exists-action w

COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt
Expand All @@ -28,7 +28,7 @@ $(COMMON_CONSTRAINTS_TXT):
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: $(COMMON_CONSTRAINTS_TXT)
## update the pip requirements files to use the latest releases satisfying our constraints
pip install -qr pre-requirements.txt --exists-action w
pip install -qr requirements/pip.txt
pip install -qr requirements/pip-tools.txt
# Make sure to compile files after any other files they include!
pip-compile --allow-unsafe --rebuild --upgrade -o requirements/pip.txt requirements/pip.in
Expand All @@ -44,7 +44,7 @@ upgrade: $(COMMON_CONSTRAINTS_TXT)
pip-compile --upgrade -o util/jenkins/requirements.txt requirements/jenkins.in
# Post process all of the files generated above to work around open pip-tools issues
util/post-pip-compile.sh \
requirements/pip-tools.txt \
requirements/pip-tools.txt \
requirements.txt \
playbooks/roles/aws/templates/requirements.txt.j2 \
util/elasticsearch/requirements.txt \
Expand Down
1 change: 0 additions & 1 deletion pre-requirements.txt

This file was deleted.

0 comments on commit 51c978c

Please sign in to comment.