Commit 771cae09 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

python3.pkgs.django-q: fix for Hyperkitty

mailmanPackages.hyperkitty was marked transiently broken, since it
depends on django-q, even though its Python package set overrides
redis to a verison compatible with django-q.

At the same time, hiredis was moved to being an optional dependency of
django-redis.  It's required by django-q, so use it here.

Fixes: 5cebbd4b ("python311Packages.django-q: mark as broken")
parent 92fb22dc
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
, pytest-mock
, pytestCheckHook
, pythonOlder
, redis
}:

buildPythonPackage rec {
@@ -55,7 +56,7 @@ buildPythonPackage rec {
    pytest-django
    pytest-mock
    pytestCheckHook
  ];
  ] ++ django-redis.optional-dependencies.hiredis;

  pythonImportsCheck = [
    "django_q"
@@ -86,6 +87,6 @@ buildPythonPackage rec {
    maintainers = with maintainers; [ gador ];
    # django-q is unmaintained at the moment
    # https://github.com/Koed00/django-q/issues/733
    broken = true;
    broken = lib.versionAtLeast redis.version "5";
  };
}