From 5f19629ded75fca74779e9927180609c677909f1 Mon Sep 17 00:00:00 2001 From: stedif <stefano.difrischia@inaf.it> Date: Tue, 7 Dec 2021 11:53:48 +0100 Subject: [PATCH] L2SS-528: import psycopg2 library --- docker-compose/jupyter/Dockerfile | 2 +- tangostationcontrol/requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose/jupyter/Dockerfile b/docker-compose/jupyter/Dockerfile index 5393cece6..122a2d83f 100644 --- a/docker-compose/jupyter/Dockerfile +++ b/docker-compose/jupyter/Dockerfile @@ -47,7 +47,7 @@ RUN sudo pip3 install python-logstash-async COPY jupyter-notebook /usr/local/bin/jupyter-notebook #Install further python modules -RUN sudo pip3 install PyMySQL[rsa] sqlalchemy +RUN sudo pip3 install PyMySQL[rsa] psycopg2-binary sqlalchemy # Packages to interface with testing hardware directly RUN sudo pip3 install pyvisa pyvisa-py opcua diff --git a/tangostationcontrol/requirements.txt b/tangostationcontrol/requirements.txt index b1620255b..359d803b6 100644 --- a/tangostationcontrol/requirements.txt +++ b/tangostationcontrol/requirements.txt @@ -4,10 +4,11 @@ asyncua >= 0.9.90 # LGPLv3 PyMySQL[rsa] >= 1.0.2 # MIT +psycopg2-binary >= 2.9.2 #LGPL sqlalchemy >= 1.4.26 #MIT GitPython >= 3.1.24 # BSD snmp >= 0.1.7 # GPL3 h5py >= 3.5.0 # BSD psutil >= 5.8.0 # BSD docker >= 5.0.3 # Apache 2 -python-logstash-async >= 2.3.0 # MIT \ No newline at end of file +python-logstash-async >= 2.3.0 # MIT -- GitLab