Unverified Commit 0fbc3258 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #257317 from yu-re-ka/django-redis

python3.django-redis: 5.2.0 -> 5.3.0
parents a0db07da 5708b08c
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -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 ];
  };