python312Packages.aiocache: 0.12.2 -> 0.12.3

Diff: https://github.com/aio-libs/aiocache/compare/refs/tags/v0.12.2...v0.12.3

Changelog: https://github.com/aio-libs/aiocache/releases/tag/v0.12.3
This commit is contained in:
Fabian Affolter 2024-09-26 10:55:27 +02:00
parent 7205e5d9c1
commit 2edf8c7b18

View File

@ -7,33 +7,29 @@
marshmallow,
msgpack,
pkgs,
pythonOlder,
pytest-asyncio,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
pythonOlder,
redis,
setuptools,
}:
buildPythonPackage rec {
pname = "aiocache";
version = "0.12.2";
version = "0.12.3";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiocache";
rev = "refs/tags/v${version}";
hash = "sha256-yvXDNJL8uxReaU81klVWudJwh1hmvg5GeeILcNpm/YA=";
hash = "sha256-4QYCRXMWlt9fsiWgUTc2pKzXG7AG/zGmd4HT5ggIZNM=";
};
postPatch = ''
substituteInPlace setup.cfg \
--replace-fail "--cov=aiocache --cov=tests/ --cov-report term" ""
'';
build-system = [ setuptools ];
optional-dependencies = {
@ -46,6 +42,7 @@ buildPythonPackage rec {
aiohttp
marshmallow
pytest-asyncio
pytest-cov-stub
pytest-mock
pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies);