Skip to content

Commit

Permalink
chore: pin setuptools to 75.5.0
Browse files Browse the repository at this point in the history
Related to adfinis#1176
  • Loading branch information
open-dynaMIX committed Dec 18, 2024
1 parent 8bbb67a commit 9586b43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ WORKDIR /app

COPY . ./

ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false
ENV POETRY_NO_INTERACTION=1

RUN pip install -U poetry

Expand All @@ -45,8 +44,8 @@ USER 1001
CMD [\
"/bin/sh", "-c", \
"wait4ports -s 15 tcp://${DATABASE_HOST:-db}:${DATABASE_PORT:-5432} && \
./manage.py migrate --no-input && \
./manage.py runserver 0.0.0.0:8000 -v 3" \
poetry run ./manage.py migrate --no-input && \
poetry run ./manage.py runserver 0.0.0.0:8000 -v 3" \
]

FROM base AS prod
Expand All @@ -61,6 +60,6 @@ USER 1001
CMD [\
"/bin/sh", "-c", \
"wait4ports -s 15 tcp://${DATABASE_HOST:-db}:${DATABASE_PORT:-5432} && \
manage.py migrate --no-input && \
gunicorn --workers 10 --access-logfile - --limit-request-line 16384 --bind :8000 mysagw.wsgi" \
poetry run manage.py migrate --no-input && \
poetry run gunicorn --workers 10 --access-logfile - --limit-request-line 16384 --bind :8000 mysagw.wsgi" \
]
2 changes: 1 addition & 1 deletion api/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 api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pyexcel-xlsx = "^0.6.0"
pypdf = "^4.1.0"
requests = "^2.32.2"
reportlab = "^4.1.0"
setuptools = "^75.5.0" # needed fopr django-excel
setuptools = "75.5.0" # needed for django-excel. Pinned because of build errors. See https://github.com/adfinis/mySAGW/issues/1176

[tool.poetry.group.dev.dependencies]
django-extensions = "^3.2.3"
Expand Down

0 comments on commit 9586b43

Please sign in to comment.