Merge pull request #894 from tobiasge/psycopg2-changes

Optimize psycopg2 dependency
This commit is contained in:
Tobias Genannt 2022-11-30 16:23:20 +01:00 committed by GitHub
commit 80d87bdf1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
ARG NETBOX_PATH
COPY ${NETBOX_PATH}/requirements.txt requirements-container.txt /
RUN /opt/netbox/venv/bin/pip install \
RUN sed -i -e '/psycopg2-binary/d' requirements.txt && \
/opt/netbox/venv/bin/pip install \
-r /requirements.txt \
-r /requirements-container.txt

View File

@ -1,6 +1,6 @@
django-auth-ldap==4.1.0
django-storages[azure,boto3,dropbox,google,libcloud,sftp]==1.13.1
napalm==4.0.0
psycopg2==2.9.4
psycopg2==2.9.5
python3-saml==1.14.0
social-auth-core[all]==4.3.0