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

Commit

Permalink
fix(deps): update python
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Apr 26, 2024
1 parent 8a88468 commit 7b87326
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 35 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker file taken and inspired from
# https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
FROM python:3.11-bookworm as builder
FROM python:3.12-bookworm as builder

RUN pip install poetry

Expand All @@ -17,7 +17,7 @@ RUN touch README.md
RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR

# The runtime image, used to just run the code provided its virtual environment
FROM python:3.11-slim-bookworm as runtime
FROM python:3.12-slim-bookworm as runtime

# Needed to get cv2
# https://stackoverflow.com/questions/55313610/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directo
Expand Down
40 changes: 8 additions & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = "~3.11"
python = "~3.12.0"
numpy = "1.26.4"
mediapipe = "0.10.11"
opencv-python = "4.9.0.80"
Expand Down

0 comments on commit 7b87326

Please sign in to comment.