From 5708b08c88f5a66ae05f48ab4f85b17e83289398 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 25 Sep 2023 21:19:08 +0200 Subject: [PATCH] python3.django-redis: 5.2.0 -> 5.3.0 https://github.com/jazzband/django-redis/releases/tag/5.3.0 --- .../python-modules/django-redis/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/django-redis/default.nix b/pkgs/development/python-modules/django-redis/default.nix index 39c430f1be2a..e7aed3f22b59 100644 --- a/pkgs/development/python-modules/django-redis/default.nix +++ b/pkgs/development/python-modules/django-redis/default.nix @@ -20,7 +20,7 @@ let pname = "django-redis"; - version = "5.2.0"; + version = "5.3.0"; in buildPythonPackage { inherit pname version; @@ -31,7 +31,7 @@ buildPythonPackage { owner = "jazzband"; repo = "django-redis"; rev = version; - hash = "sha256-e8wCgfxBT+WKFY4H83CTMirTpQym3QAoeWnXbRCDO90="; + hash = "sha256-eX9rUUvpkRrkZ82YalWn8s9DTw6nsbGzi1A6ibRoQGw="; }; postPatch = '' @@ -67,11 +67,6 @@ buildPythonPackage { pytestCheckHook ]; - pytestFlagsArray = lib.optionals (pythonAtLeast "3.11") [ - # DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 - "-W" "ignore::DeprecationWarning" - ]; - disabledTests = [ # ModuleNotFoundError: No module named 'test_cache_options' "test_custom_key_function" @@ -79,7 +74,7 @@ buildPythonPackage { "test_delete_pattern_calls_get_client_given_no_client" "test_delete_pattern_calls_make_pattern" "test_delete_pattern_calls_scan_iter_with_count_if_itersize_given" - "test_delete_pattern_calls_scan_iter_with_count_if_itersize_given" + "test_delete_pattern_calls_pipeline_delete_and_execute" "test_delete_pattern_calls_scan_iter" "test_delete_pattern_calls_delete_for_given_keys" ]; @@ -87,6 +82,7 @@ buildPythonPackage { meta = with lib; { description = "Full featured redis cache backend for Django"; homepage = "https://github.com/jazzband/django-redis"; + changelog = "https://github.com/jazzband/django-redis/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ hexa ]; };