From e8a86698fb5a52c2fd64f274ba322f1aa1882110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 23 May 2026 19:58:10 -0700 Subject: [PATCH] python3Packages.coredis: 5.6.0 -> 6.6.1 Diff: https://github.com/alisaifee/coredis/compare/5.6.0...6.6.1 Changelog: https://github.com/alisaifee/coredis/blob/6.6.1/HISTORY.rst --- .../python-modules/coredis/default.nix | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/coredis/default.nix b/pkgs/development/python-modules/coredis/default.nix index d54d4e0a6525..8b1e0cf051ad 100644 --- a/pkgs/development/python-modules/coredis/default.nix +++ b/pkgs/development/python-modules/coredis/default.nix @@ -1,6 +1,6 @@ { lib, - async-timeout, + anyio, beartype, buildPythonPackage, hatchling, @@ -8,36 +8,35 @@ hatch-vcs, types-deprecated, deprecated, + exceptiongroup, fetchFromGitHub, packaging, - pympler, pytest-asyncio, pytest-lazy-fixtures, + pytest-mock, pytestCheckHook, redis, typing-extensions, - wrapt, }: buildPythonPackage rec { pname = "coredis"; - version = "5.6.0"; + version = "6.6.1"; pyproject = true; src = fetchFromGitHub { owner = "alisaifee"; repo = "coredis"; tag = version; - hash = "sha256-84mFHEPvCv7c1u2giTwTmC+56KCB/3snl8vJ4c+sE2s="; + hash = "sha256-Jn6tqMpyk849/hwYM0DHuQnGbMltRpTXAVcN5Kt6lk4="; }; postPatch = '' sed -i '/mypy==/d' pyproject.toml - sed -i '/packaging/d' pyproject.toml - sed -i '/pympler/d' pyproject.toml - sed -i '/types_deprecated/d' pyproject.toml - substituteInPlace pytest.ini \ - --replace-fail "-K" "" + sed -i '/hatch-mypy/d' pyproject.toml + sed -i '/opentelemetry-sdk/d' pyproject.toml + substituteInPlace pyproject.toml \ + --replace-fail '"-K"' "" ''; build-system = [ @@ -48,13 +47,12 @@ buildPythonPackage rec { ]; dependencies = [ - async-timeout + anyio beartype deprecated + exceptiongroup packaging - pympler typing-extensions - wrapt ]; nativeCheckInputs = [ @@ -62,6 +60,7 @@ buildPythonPackage rec { redis pytest-asyncio pytest-lazy-fixtures + pytest-mock ]; pythonImportsCheck = [ "coredis" ];