pythonPackages.sqlalchemy: remove pytest_xdist and fix the tests
This commit is contained in:
parent
1f3c2bcefe
commit
5fe81bf372
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue