]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
requirements: Remove psycopg2
authorStephen Finucane <stephen.finucane@intel.com>
Wed, 10 Feb 2016 19:58:47 +0000 (19:58 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Wed, 10 Feb 2016 20:05:35 +0000 (20:05 +0000)
It would be good to provide the required packages for devs using both
MySQL and PostgreSQL. However, there does not appear to be any way to
specify an exclusive-or condition in pip requirements files and the
existing behavior of including dependencies for both RDBMSs means
system packages have to be installed for both, when you are likely
only using one. This is particularly problematic when you want to
set up a fast dev environment using something like Vagrant.

Settle on MySQL for now, until such a time as the consensus is to go
all-in with PostgreSQL (including docs, for example).

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
requirements-test.txt

index 1f4a640598db836e0b83d44b6b0c3ce4ee3eaa04..29ecd6603c3d8cff95feb8e6d838a7068e6e75fb 100644 (file)
@@ -1,4 +1,3 @@
-mysqlclient==1.3.7
-psycopg2==2.6.1
+mysqlclient==1.3.7  # replace this with psycopg2 for a PostgreSQL backend
 python-dateutil==2.4.2
 selenium==2.48.0