Skip to content

Commit

Permalink
Update py dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MWedl committed Jan 2, 2025
1 parent 577c35d commit 5281351
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 72 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ ENV PYTHONUNBUFFERED=on \

WORKDIR /app/api/
COPY api/pyproject.toml api/poetry.lock /app/api/
RUN pip install --no-cache poetry==1.8.3 && \
RUN pip install --no-cache poetry==1.8.5 && \
poetry config virtualenvs.create false && \
poetry install --no-cache --no-interaction --no-root

Expand Down
136 changes: 68 additions & 68 deletions api/poetry.lock

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

6 changes: 3 additions & 3 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = []
packages = [{include = "reportcreator_api", from = "src"}]

[tool.poetry.dependencies]
python = "~3.12"
python = "^3.12"
django = { extras = ["argon2"], version = "~5.1" }
djangorestframework = "~3.15.0"
weasyprint = "~63.1"
Expand All @@ -22,7 +22,7 @@ adrf = "^0.1.6"

psycopg = { extras = ["binary", "pool"], version = "^3.1.8" }
gunicorn = "^23.0.0"
uvicorn = { extras = ["standard"], version = "^0.32.0" }
uvicorn = { extras = ["standard"], version = "^0.34.0" }
whitenoise = "^6.4.0"
brotli = "^1.0.9"
channels = { "extras" = ["daphne"], version = "^4.1.0" }
Expand Down Expand Up @@ -55,7 +55,7 @@ django-debug-toolbar = "^4.4.5"
debugpy = "^1.6.7"
watchdog = "^6.0.0"
pytest-django = "^4.5.2"
pytest-asyncio = "^0.24.0"
pytest-asyncio = "^0.25.0"
pytest-xdist = "^3.2.1"
pytest-cov = "^6.0.0"
elastic-apm = "^6.20.0"
Expand Down
2 changes: 2 additions & 0 deletions api/start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e

# Add custom CA certificates
if [[ -n "$CA_CERTIFICATES" ]]; then
echo "${CA_CERTIFICATES}" >> /usr/local/share/ca-certificates/custom-user-cert.crt
Expand Down

0 comments on commit 5281351

Please sign in to comment.