python.pkgs.cached-property: 1.4.2 -> 1.5.1

This commit is contained in:
Robert Schütz 2018-11-05 13:40:23 +01:00 committed by Frederik Rietdijk
parent ad2a03e74e
commit b2d56e7def

View File

@ -7,20 +7,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cached-property"; pname = "cached-property";
version = "1.4.2"; version = "1.5.1";
# conftest.py is missing in PyPI tarball # conftest.py is missing in PyPI tarball
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pydanny"; owner = "pydanny";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0gjmgfilhljkx2b60cjikwh55jg2jwxhwi8hgkrzdnzk465ywhrw"; sha256 = "0xh0pwmiikx0il9nnfyf034ydmlw6992s0d209agd9j5d3s2k5q6";
}; };
checkInputs = [ pytest freezegun ]; checkInputs = [ pytest freezegun ];
# https://github.com/pydanny/cached-property/issues/131
checkPhase = '' checkPhase = ''
py.test py.test -k "not test_threads_ttl_expiry"
''; '';
meta = { meta = {