From ab76721ddb3a25ff67f40d23bb98deff02068f1d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 28 Jan 2023 17:39:07 +0100 Subject: [PATCH] bundles/powerdnsadmin: install psycopg2 in venv --- bundles/powerdnsadmin/items.py | 2 +- bundles/powerdnsadmin/metadata.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/powerdnsadmin/items.py b/bundles/powerdnsadmin/items.py index 7cdf08c..3ccaecc 100644 --- a/bundles/powerdnsadmin/items.py +++ b/bundles/powerdnsadmin/items.py @@ -39,7 +39,7 @@ actions = { }, 'powerdnsadmin_install_deps': { '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': { 'action:powerdnsadmin_create_virtualenv', 'pkg_apt:', diff --git a/bundles/powerdnsadmin/metadata.py b/bundles/powerdnsadmin/metadata.py index 8389941..0617b03 100644 --- a/bundles/powerdnsadmin/metadata.py +++ b/bundles/powerdnsadmin/metadata.py @@ -10,7 +10,6 @@ defaults = { 'libxmlsec1-dev': {}, 'libxslt1-dev': {}, 'pkg-config': {}, - 'python3-psycopg2': {}, 'python3-wheel': {}, }, },