pythonPackages.cached-property: 1.5.1 -> 1.5.2 (#110835)
This commit is contained in:
parent
4598881e1d
commit
3465a43303
@ -1,28 +1,25 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchPypi
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, freezegun
|
, freezegun
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cached-property";
|
pname = "cached-property";
|
||||||
version = "1.5.1";
|
version = "1.5.2";
|
||||||
|
|
||||||
# conftest.py is missing in PyPI tarball
|
src = fetchPypi {
|
||||||
src = fetchFromGitHub {
|
inherit pname version;
|
||||||
owner = "pydanny";
|
sha256 = "9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130";
|
||||||
repo = pname;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0xh0pwmiikx0il9nnfyf034ydmlw6992s0d209agd9j5d3s2k5q6";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest freezegun ];
|
checkInputs = [ pytestCheckHook freezegun ];
|
||||||
|
|
||||||
# https://github.com/pydanny/cached-property/issues/131
|
disabledTests = [
|
||||||
checkPhase = ''
|
# https://github.com/pydanny/cached-property/issues/131
|
||||||
py.test -k "not test_threads_ttl_expiry"
|
"test_threads_ttl_expiry"
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A decorator for caching properties in classes";
|
description = "A decorator for caching properties in classes";
|
||||||
|
Loading…
Reference in New Issue
Block a user