diff --git a/Dockerfile b/Dockerfile index e8471d171..6458c1fae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,8 @@ RUN \ if [ `apk --print-arch` = "armv7" ]; then \ printf "[global]\nextra-index-url=https://www.piwheels.org/simple\n" > /etc/pip.conf ; \ fi +# remove Development dependencies from requirements.txt +RUN sed -i '/# Development/,$d' requirements.txt RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev libwebp-dev openssl-dev libffi-dev cargo openldap-dev python3-dev && \ echo -n "INPUT ( libldap.so )" > /usr/lib/libldap_r.so && \ python -m venv venv && \ diff --git a/requirements.txt b/requirements.txt index 095132069..65f59b0bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,9 +32,6 @@ git+https://github.com/BITSOLVER/django-js-reverse@071e304fd600107bc64bbde6f2491 django-allauth==0.61.1 recipe-scrapers==14.52.0 django-scopes==2.0.0 -pytest==8.0.0 -pytest-asyncio==0.23.5 -pytest-django==4.8.0 django-treebeard==4.7 django-cors-headers==4.2.0 django-storages==1.14.2 @@ -43,8 +40,15 @@ django-prometheus==2.2.0 django-hCaptcha==0.2.0 python-ldap==3.4.4 django-auth-ldap==4.6.0 -pytest-factoryboy==2.6.0 pyppeteer==2.0.0 validators==0.20.0 pytube==15.0.0 homeassistant-api==4.2.1 + +# Development +pytest==8.0.0 +pytest-django==4.8.0 +pytest-cov===4.1.0 +pytest-factoryboy==2.6.0 +pytest-html==4.1.1 +pytest-asyncio==0.23.5