mysqlclient out of requirements.txt

just install it where we need it, namely in the Docker image
This commit is contained in:
Klaas van Schelven
2024-08-27 09:50:31 +02:00
parent f20104770e
commit e4174d1e64
2 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ ARG WHEEL_FILE=wheelfile-not-specified.whoops
COPY dist/$WHEEL_FILE /wheels/
RUN --mount=type=cache,target=/var/cache/buildkit/pip \
pip wheel --wheel-dir /wheels /wheels/${WHEEL_FILE}
pip wheel --wheel-dir /wheels /wheels/${WHEEL_FILE} mysqlclient
# Actual image (based on slim)
@@ -23,7 +23,7 @@ RUN apt update && apt install default-libmysqlclient-dev -y
COPY --from=build /wheels /wheels
RUN --mount=type=cache,target=/var/cache/buildkit/pip \
pip install --find-links /wheels --no-index /wheels/$WHEEL_FILE
pip install --find-links /wheels --no-index /wheels/$WHEEL_FILE mysqlclient
COPY bugsink_conf.py .

View File

@@ -10,7 +10,6 @@ inotify_simple
brotli
python-dateutil
whitenoise
mysqlclient>=1.4.3
# testing/development only:
requests