From a37c9d1ab1f6b21871d120c490d9129cb7b72f94 Mon Sep 17 00:00:00 2001 From: taise Date: Thu, 28 Feb 2019 11:17:49 +0900 Subject: [PATCH] :wrench: fix psycopg2 warning by updating to psycopg2-binary wanring log ``` $ docker exec doccano tools/create-admin.sh "admin" "admin@example.com" "password" /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """) /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """) Operations to perform: Apply all migrations: admin, auth, contenttypes, server, sessions, social_django Running migrations: No migrations to apply. Superuser created successfully. /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """) ``` normal(fixed) log ``` $ docker exec doccano tools/create-admin.sh "admin" "admin@example.com" "password" Operations to perform: Apply all migrations: admin, auth, contenttypes, server, sessions, social_django Running migrations: No migrations to apply. Superuser created successfully. ``` --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7bc17c00..00e39ac1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ Faker==0.8.8 flake8==3.6.0 gunicorn==19.9.0 mixer==6.1.3 -psycopg2==2.7.5 +psycopg2-binary==2.7.7 python-dateutil==2.7.3 pytz==2018.4 six==1.11.0