diff options
author | Christian Kauhaus <kc@flyingcircus.io> | 2020-06-30 11:19:28 +0200 |
---|---|---|
committer | Christian Kauhaus <kc@flyingcircus.io> | 2020-06-30 11:19:28 +0200 |
commit | 80244984592291720a2ed7613ca8787356f28927 (patch) | |
tree | 0e67094a2c73e231a2930dc387656c429bc62ff1 /pkgs/development/python-modules/zodb | |
parent | 74cb17f3ba1ad2e7f14e61e1820d556b3e11b059 (diff) |
ZODB: 3.5.1 -> 3.6.0
ZODB depends on ZConfig which is currently incompatible with Python 3.8.
Disabling ZODB on 3.8 as long as there has been no new ZConfig release.
Diffstat (limited to 'pkgs/development/python-modules/zodb')
-rw-r--r-- | pkgs/development/python-modules/zodb/default.nix | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/zodb/default.nix b/pkgs/development/python-modules/zodb/default.nix index bcc164ea380e..e8097461d3b1 100644 --- a/pkgs/development/python-modules/zodb/default.nix +++ b/pkgs/development/python-modules/zodb/default.nix @@ -1,8 +1,8 @@ { stdenv , fetchPypi -, fetchpatch , buildPythonPackage , python +, pythonAtLeast , zope_testrunner , transaction , six @@ -17,26 +17,21 @@ buildPythonPackage rec { pname = "ZODB"; - version = "5.5.1"; + version = "5.6.0"; src = fetchPypi { inherit pname version; - sha256 = "20155942fa326e89ad8544225bafd74237af332ce9d7c7105a22318fe8269666"; + sha256 = "1zh7rd182l15swkbkm3ib0wgyn16xasdz2mzry8k4lwk6dagnm26"; }; - patches = [ - # Compatibility with transaction v3.0 - (fetchpatch { - url = "https://github.com/zopefoundation/ZODB/commit/0adcc6877f690186c97cc5da7e13788946d5e0df.patch"; - sha256 = "1zmbgm7r36nj5w7icpinp61fm81svh2wk213pzr3l0jxzr9i5qi4"; - }) - ]; - # remove broken test postPatch = '' rm -vf src/ZODB/tests/testdocumentation.py ''; + # ZConfig 3.5.0 is not compatible with Python 3.8 + disabled = pythonAtLeast "3.8"; + propagatedBuildInputs = [ transaction six |