Skip to content

Commit 61a7b16

Browse files
committed
Use psycopg2-binary rather than psycopg2
In addition, elimanate unnecessary dependency (development package for PostgreSQL). This helps to avoid issues on some new disctibutions like openSUSE 15.3 that misses the pg_config utility necessary to install psycopg2 from sources (psycopg/psycopg2#1001). Probably there will be some performance degradation, but it is not crucial for our use cases.
1 parent 57efbed commit 61a7b16

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bc bison cmake flex gettext git graphviz libc6-dev-i386 libelf-dev libpq-dev libssl-dev make nginx postgresql python3-dev python3-pip rabbitmq-server unzip
1+
bc bison cmake flex gettext git graphviz libc6-dev-i386 libelf-dev libssl-dev make nginx postgresql python3-dev python3-pip rabbitmq-server unzip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bc bison cmake elfutils-libelf-devel flex gettext git glibc-devel.i686 graphviz libpq-devel make nginx openssl-devel postgresql postgresql-server python3-devel python3-pip rabbitmq-server unzip
1+
bc bison cmake elfutils-libelf-devel flex gettext git glibc-devel.i686 graphviz make nginx openssl-devel postgresql postgresql-server python3-devel python3-pip rabbitmq-server unzip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bc bison cmake flex gettext-runtime git graphviz glibc-devel libelf-devel openssl-devel make nginx postgresql12-server postgresql12-server-devel python3-devel python3-pip rabbitmq-server unzip gcc gcc-c++
1+
bc bison cmake flex gettext-runtime git graphviz glibc-devel libelf-devel openssl-devel make nginx postgresql12-server python3-devel python3-pip rabbitmq-server unzip gcc gcc-c++

requirements-openstack.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pika==1.1.0
6464
ply==3.11
6565
prettytable==0.7.2
6666
prompt-toolkit==3.0.8
67-
psycopg2==2.8.6
67+
psycopg2-binary==2.8.6
6868
pycparser==2.20
6969
pycryptodome==3.9.9
7070
Pygments==2.7.3

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ MarkupSafe==1.1.1
2929
pika==1.1.0
3030
ply==3.11
3131
prompt-toolkit==3.0.8
32-
psycopg2==2.8.6
32+
psycopg2-binary==2.8.6
3333
Pygments==2.7.3
3434
python-slugify==4.0.1
3535
pytz==2020.4

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def package_files(package_directory):
8282
"Django==3.0.6",
8383
"BenchExec==3.3",
8484
"clade>=3.4,<3.5",
85-
"psycopg2",
85+
"psycopg2-binary",
8686
"graphviz",
8787
"celery",
8888
"django_celery_results",

0 commit comments

Comments
 (0)