Merge pull request #171913 from dotlambda/async-lru-1.0.3

python3Packages.async-lru: unstable-2022-02-03 -> 1.0.3
This commit is contained in:
Fabian Affolter 2022-05-07 12:02:46 +02:00 committed by GitHub
commit 9c74e27e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,15 +8,15 @@
buildPythonPackage rec {
pname = "async-lru";
version = "unstable-2022-02-03";
version = "1.0.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "async-lru";
rev = "3574af7691371015c47faf77e0abf8c7b06a3cdc";
hash = "sha256-EsadpQlRNnebp0UUybzQwzyK4zwFlortutv3VTUsprU=";
rev = "v${version}";
hash = "sha256-98ZPFSOFRnymTCfCG9OuajfxXAWyCrByyJEHhpPVPbM=";
};
postPatch = ''
@ -32,13 +32,6 @@ buildPythonPackage rec {
"--asyncio-mode=strict"
];
disabledTests = [
# https://github.com/aio-libs/async-lru/issues/341
"test_alru_cache_deco"
"test_alru_cache_fn_called"
"test_close"
];
pythonImportsCheck = [ "async_lru" ];
meta = with lib; {