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 <[email protected]> --- requirements-test.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/requirements-test.txt b/requirements-test.txt index 1f4a640..29ecd66 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -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 -- 2.0.0 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
