From 06cae0fc0ae6dce030ed9f1e133a9f6bc3aec168 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 27 Nov 2023 15:39:53 +1100 Subject: [PATCH] Swap to aiocache because it's easier to use in custom ways --- pdm.lock | 13 ++++++------- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pdm.lock b/pdm.lock index c61395e..2a72ca5 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,16 +5,15 @@ groups = ["default", "dev"] strategy = ["cross_platform"] lock_version = "4.4" -content_hash = "sha256:d60f3387d2c060bcc57f22fedf3f45cd78f7c7f08a5d5a7764974a079cf6f5bf" +content_hash = "sha256:af2cdb41c46862cfc00c9a7c4662bad8886a8632b127ee8a7855cd87d481fd8b" [[package]] -name = "async-lru" -version = "2.0.4" -requires_python = ">=3.8" -summary = "Simple LRU cache for asyncio" +name = "aiocache" +version = "0.12.2" +summary = "multi backend asyncio cache" files = [ - {file = "async-lru-2.0.4.tar.gz", hash = "sha256:b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627"}, - {file = "async_lru-2.0.4-py3-none-any.whl", hash = "sha256:ff02944ce3c288c5be660c42dbcca0742b32c3b279d6dceda655190240b99224"}, + {file = "aiocache-0.12.2-py2.py3-none-any.whl", hash = "sha256:9b6fa30634ab0bfc3ecc44928a91ff07c6ea16d27d55469636b296ebc6eb5918"}, + {file = "aiocache-0.12.2.tar.gz", hash = "sha256:b41c9a145b050a5dcbae1599f847db6dd445193b1f3bd172d8e0fe0cb9e96684"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 2790c97..f4aa5af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [ {name = "Danielle McLean", email = "dani@00dani.me"}, ] dependencies = [ - "async-lru>=2.0.4", + "aiocache>=0.12.2", "attrs>=23.1.0", "pyobjc-framework-MediaPlayer>=10.0", "python-mpd2>=3.1.0",