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.
This commit is contained in:
parent
74cb17f3ba
commit
8024498459
|
@ -1,8 +1,8 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, python
|
, python
|
||||||
|
, pythonAtLeast
|
||||||
, zope_testrunner
|
, zope_testrunner
|
||||||
, transaction
|
, transaction
|
||||||
, six
|
, six
|
||||||
|
@ -17,26 +17,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ZODB";
|
pname = "ZODB";
|
||||||
version = "5.5.1";
|
version = "5.6.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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
|
# remove broken test
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm -vf src/ZODB/tests/testdocumentation.py
|
rm -vf src/ZODB/tests/testdocumentation.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# ZConfig 3.5.0 is not compatible with Python 3.8
|
||||||
|
disabled = pythonAtLeast "3.8";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
transaction
|
transaction
|
||||||
six
|
six
|
||||||
|
|
Loading…
Reference in New Issue