Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyorlando committed Jun 10, 2024
1 parent 6a592d1 commit abf079d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ _backend-debug-disable: ## disable Django's debug mode and Silk profiling
backend-debug-enable: _backend-debug-enable stop start
backend-debug-disable: _backend-debug-disable stop start

pip-compile-locked-dependencies: ## compile engine requirements.txt files
$(shell cd engine && uv pip compile requirements.in -o requirements.txt)
$(shell cd engine && uv pip compile requirements-dev.in -o requirements-dev.txt)

# The below commands are useful for running backend services outside of docker
define backend_command
export `grep -v '^#' $(DEV_ENV_FILE) | xargs -0` && \
Expand Down
2 changes: 0 additions & 2 deletions engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
&& rm grpcio-1.64.1-cp312-cp312-linux_aarch64.whl; \
fi

RUN pip install uv

# TODO: figure out how to get this to work.. see comment in .github/workflows/e2e-tests.yml
# https://stackoverflow.com/a/71846527
# RUN --mount=type=cache,target=/root/.cache/pip,from=pip_cache pip install -r requirements.txt
Expand Down
1 change: 1 addition & 0 deletions engine/requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ types-beautifulsoup4==4.12.0.5
types-PyMySQL==1.0.19.7
types-python-dateutil==2.8.19.13
types-requests==2.31.0.1
uv==0.2.10
2 changes: 2 additions & 0 deletions engine/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,7 @@ urllib3==1.26.18
# via
# -c requirements.txt
# requests
uv==0.2.10
# via -r requirements-dev.in
virtualenv==20.25.0
# via pre-commit

0 comments on commit abf079d

Please sign in to comment.