Steve Canny 305247b4e1
chore: bump unstructured-inference pin (#2913)
**Summary**
Update dependencies to use the new version of `unstructured-inference`
released yesterday. Remedy a few small problems with `make pip-compile`
that stood in the way.
2024-04-21 03:08:20 +00:00

44 lines
1.0 KiB
Makefile

SHELL := /bin/bash
BASE_REQUIREMENTS := $(shell ls ./*.in)
BASE_REQUIREMENTSTXT := $(patsubst %.in,%.txt,$(BASE_REQUIREMENTS))
INGEST_REQUIREMENTS := $(shell ls ./ingest/*.in)
INGEST_REQUIREMENTSTXT := $(patsubst %.in,%.txt,$(INGEST_REQUIREMENTS))
.PHONY: all
all: compile-all-base compile-ingest
.PHONY: compile-test
compile-test:
pip-compile --upgrade test.in
.PHONY: compile-dev
compile-dev:
pip-compile --upgrade dev.in
.PHONY: compile-base
compile-base:
pip-compile --upgrade base.in
.PHONY: compile-all-base
compile-all-base: compile-base compile-test compile-dev
@$(foreach file,$(BASE_REQUIREMENTS),echo -e "\n\ncompiling: $(file)" && pip-compile --no-strip-extras --upgrade $(file) || exit;)
.PHONY: compile-ingest
compile-ingest:
@$(foreach file,$(INGEST_REQUIREMENTS),echo -e "\n\ncompiling: $(file)" && pip-compile --no-strip-extras --upgrade $(file) || exit;)
.PHONY: clean
clean: clean-base clean-ingest
.PHONY: clean-base
clean-base:
rm $(BASE_REQUIREMENTSTXT)
.PHONY: clean-ingest
clean-ingest:
rm $(INGEST_REQUIREMENTSTXT)