bundles/powerdnsadmin: install psycopg2 in venv

This commit is contained in:
Franzi 2023-01-28 17:39:07 +01:00
parent b460085bb0
commit ab76721ddb
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,7 @@ actions = {
}, },
'powerdnsadmin_install_deps': { 'powerdnsadmin_install_deps': {
'triggered': True, 'triggered': True,
'command': '/opt/powerdnsadmin/venv/bin/pip install -r /opt/powerdnsadmin/src/requirements.txt', 'command': '/opt/powerdnsadmin/venv/bin/pip install --upgrade psycopg2-binary -r /opt/powerdnsadmin/src/requirements.txt',
'needs': { 'needs': {
'action:powerdnsadmin_create_virtualenv', 'action:powerdnsadmin_create_virtualenv',
'pkg_apt:', 'pkg_apt:',

View file

@ -10,7 +10,6 @@ defaults = {
'libxmlsec1-dev': {}, 'libxmlsec1-dev': {},
'libxslt1-dev': {}, 'libxslt1-dev': {},
'pkg-config': {}, 'pkg-config': {},
'python3-psycopg2': {},
'python3-wheel': {}, 'python3-wheel': {},
}, },
}, },