mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
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: 5cebbd4be4
("python311Packages.django-q: mark as broken")
This commit is contained in:
parent
92fb22dc0a
commit
771cae0903
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user