Skip to content

Commit

Permalink
Update pip-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Feb 7, 2024
1 parent ddc928e commit 2247aea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ all: lint test build
.PHONY: venv
venv:
@[ -e ./.venv/ ] || $(PYTHON_SYS) -m venv ./.venv/
@[ -e ./.venv/bin/pip-compile ] || $(PYTHON_ENV) -m pip install 'pip-tools <= 7'
@[ -e ./.venv/bin/pip-compile ] || $(PYTHON_ENV) -m pip install 'pip-tools >= 7, < 8'

.PHONY: format
format: deps venv
Expand Down Expand Up @@ -44,10 +44,10 @@ deps: venv
lock: ./requirements.txt ./requirements-dev.txt

./requirements.txt: ./requirements.in venv
@$(PYTHON_ENV) -m piptools compile --output-file $@ $<
@$(PYTHON_ENV) -m piptools compile --strip-extras --output-file $@ $<

./requirements-dev.txt: ./requirements-dev.in ./requirements.txt venv
@$(PYTHON_ENV) -m piptools compile --output-file $@ $<
@$(PYTHON_ENV) -m piptools compile --strip-extras --output-file $@ $<

.PHONY: docker
docker:
Expand Down

0 comments on commit 2247aea

Please sign in to comment.