pythonPackages.zodb: fix tests

Tests failed after `persistent` was updated to 4.4.
Apply an upstream patch to fix them.
This commit is contained in:
Uli Baum
2018-09-13 13:34:28 +02:00
parent eb88142c4b
commit b54677969b
2 changed files with 36 additions and 5 deletions

View File

@@ -4,7 +4,6 @@
, zope_testrunner
, transaction
, six
, wheel
, zope_interface
, zodbpickle
, zconfig
@@ -24,15 +23,16 @@ buildPythonPackage rec {
};
patches = [
./ZODB-5.3.0-fix-tests.patch
./ZODB-5.3.0-fix-tests.patch # still needeed with 5.4.0
# Upstream patch to fix tests with persistent 4.4,
# cannot fetchpatch because only one hunk of the upstream commit applies.
# TODO remove on next release
./fix-tests-with-persistent-4.4.patch
];
propagatedBuildInputs = [
manuel
transaction
zope_testrunner
six
wheel
zope_interface
zodbpickle
zconfig
@@ -41,6 +41,11 @@ buildPythonPackage rec {
BTrees
];
checkInputs = [
manuel
zope_testrunner
];
meta = with stdenv.lib; {
description = "Zope Object Database: object database and persistence";
homepage = https://pypi.python.org/pypi/ZODB;