0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-07 22:25:35 +00:00

Update requirements to require only pure-python psycopg

... and install psycopg-c using instuctions in Dockerfile.

This way, getting a development environment or CI environment ready
is quick and easy, but Docker images still get the C optimizations.
This commit is contained in:
Pēteris Caune 2024-09-03 16:10:53 +03:00
parent fea767723c
commit a72f3adc45
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH=$PATH:/root/.cargo/bin
RUN \
pip install --upgrade pip && \
pip wheel --wheel-dir /wheels apprise uwsgi mysqlclient minio -r /tmp/requirements.txt
pip wheel --wheel-dir /wheels apprise uwsgi mysqlclient minio psycopg-c==3.2.1 -r /tmp/requirements.txt
COPY . /opt/healthchecks/
RUN \

View file

@ -5,7 +5,7 @@ django-compressor==4.5.1
django-stubs-ext==5.0.4
fido2==1.1.3
oncalendar==1.1
psycopg[c]==3.2.1
psycopg==3.2.1
pycurl==7.45.2
pydantic==2.8.2
pyotp==2.9.0