[PATCH 2/2] requirements: Use 'psycopg2-binary' package

Stephen Finucane stephen at that.guru
Fri Feb 9 22:52:06 AEDT 2018


This resolves a deprecation warning that's recently been raised:

  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:
  <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.

Signed-off-by: Stephen Finucane <stephen at that.guru>
---
 requirements-test.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements-test.txt b/requirements-test.txt
index 141cf661..d232f4e0 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -1,5 +1,5 @@
 mysqlclient>=1.3,<1.4
-psycopg2>=2.7,<2.8
+psycopg2-binary>=2.7,<2.8
 django-debug-toolbar==1.8
 python-dateutil>2.0,<3.0
 selenium>=3.0,<4.0
-- 
2.14.3



More information about the Patchwork mailing list