pythonPackages.sqlalchemy: remove pytest_xdist and fix the tests

This commit is contained in:
Wael M. Nasreddine 2019-07-16 16:24:12 -07:00 committed by Frederik Rietdijk
parent 1f3c2bcefe
commit 5fe81bf372

View file

@ -2,7 +2,6 @@
, mock
, pysqlite
, pytest
, pytest_xdist
}:
buildPythonPackage rec {
@ -17,9 +16,16 @@ buildPythonPackage rec {
checkInputs = [
pytest
mock
pytest_xdist
] ++ lib.optional (!isPy3k) pysqlite;
postInstall = ''
sed -e 's:--max-worker-restart=5::g' -i setup.cfg
'';
checkPhase = ''
pytest test
'';
meta = with lib; {
homepage = http://www.sqlalchemy.org/;
description = "A Python SQL toolkit and Object Relational Mapper";