From 2fada6c6ff54a121ff53f79c6ac94c5f1e4080cc Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 22 Jun 2021 17:49:49 +0300 Subject: [PATCH] pyproject.toml: Use psycopg2 instead of psycopg2-binary According to the documentation the binary version is not meant to be run in production. Since I'm in control of both my development and production servers and can ensure that libpq-dev is installed on both, I will use the source version of this module. See: https://www.psycopg.org/docs/install.html#quick-install --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 050413a..08f7c04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ license = "GPL-3.0-only" python = "^3.6" gunicorn = "^20.0.4" falcon = "3.0.0" -psycopg2-binary = "^2.8.6" +psycopg2 = "^2.8.6" requests = "^2.24.0" falcon-swagger-ui = {git = "https://github.com/alanorth/falcon-swagger-ui.git", rev="falcon-300b1"}