git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.zodb: fix compatibility with transaction 3.0

zodb build broke with the python3Packages.transaction upgrade that happened in f054f498400b285f0893727a2c039c802d771925.

commit4acf0beba1b7ab811052241d3375e74756b61bdf authorPierre Bourdon <delroth@gmail.com> dateFri 24 Jan 2020, 22:19 (7 years ago) parente197a17
1 file changed+9
pkgs/development/python-modules/zodb/default.nix+9
pkgs/development/python-modules/zodb/default.nix+9
@@ -1,5 +1,6 @@
11{ stdenv
22, fetchPypi
3+, fetchpatch
34, buildPythonPackage
45, python
56, zope_testrunner
@@ -23,6 +24,14 @@ buildPythonPackage rec {
2324 sha256 = "20155942fa326e89ad8544225bafd74237af332ce9d7c7105a22318fe8269666";
2425 };
2526
27+ patches = [
28+ # Compatibility with transaction v3.0
29+ (fetchpatch {
30+ url = "https://github.com/zopefoundation/ZODB/commit/0adcc6877f690186c97cc5da7e13788946d5e0df.patch";
31+ sha256 = "1zmbgm7r36nj5w7icpinp61fm81svh2wk213pzr3l0jxzr9i5qi4";
32+ })
33+ ];
34+
2635 # remove broken test
2736 postPatch = ''
2837 rm -vf src/ZODB/tests/testdocumentation.py