diff --git a/pkgs/development/python-modules/django-rq/default.nix b/pkgs/development/python-modules/django-rq/default.nix index 330e28aca47c..990743f247e0 100644 --- a/pkgs/development/python-modules/django-rq/default.nix +++ b/pkgs/development/python-modules/django-rq/default.nix @@ -16,20 +16,16 @@ buildPythonPackage (finalAttrs: { pname = "django-rq"; - version = "4.1-unstable-2026-05-28"; + version = "4.1.1"; pyproject = true; src = fetchFromGitHub { owner = "rq"; repo = "django-rq"; - rev = "39539ab680cf6a23073f4907b5e7332226494784"; - hash = "sha256-Yrc0HQmCsrdTs66RZwwmZQraxB5/eJG8dOPcVn53rjA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-pp8/7pMG4CHEe+jsmZ9euAV8eEMW0Hh4ecTTHnP6DiE="; }; - patches = [ - ./redis-py-8.0-compat.patch - ]; - build-system = [ hatchling ]; dependencies = [ @@ -65,7 +61,7 @@ buildPythonPackage (finalAttrs: { meta = { description = "Simple app that provides django integration for RQ (Redis Queue)"; homepage = "https://github.com/rq/django-rq"; - # changelog = "https://github.com/rq/django-rq/releases/tag/${finalAttrs.src.tag}"; + changelog = "https://github.com/rq/django-rq/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; diff --git a/pkgs/development/python-modules/django-rq/redis-py-8.0-compat.patch b/pkgs/development/python-modules/django-rq/redis-py-8.0-compat.patch deleted file mode 100644 index e74181ad2be6..000000000000 --- a/pkgs/development/python-modules/django-rq/redis-py-8.0-compat.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/tests/utils.py b/tests/utils.py -index 90ba1d4..e320a58 100644 ---- a/tests/utils.py -+++ b/tests/utils.py -@@ -38,6 +38,10 @@ def get_queue_index(name='default'): - if q.name == name: - # assert that the connection is correct - pool_kwargs = q.connection.connection_pool.connection_kwargs -+ pool_kwargs.pop("maint_notifications_config", None) -+ pool_kwargs.pop("maint_notifications_pool_handler", None) -+ connection_kwargs.pop("maint_notifications_config", None) -+ connection_kwargs.pop("maint_notifications_pool_handler", None) - if not _is_buggy_retry(pool_kwargs) or not _is_buggy_retry(connection_kwargs): - assert pool_kwargs == connection_kwargs - else: