Merge pull request #134619 from r-ryantm/auto-update/python3.8-django-redis

This commit is contained in:
Martin Weinelt 2021-08-26 20:15:25 +02:00 committed by GitHub
commit e9188918da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,27 +1,35 @@
{ lib, fetchPypi, buildPythonPackage,
mock, django, redis, msgpack }:
{ lib
, fetchPypi
, buildPythonPackage
, mock
, django
, redis
, msgpack
}:
buildPythonPackage rec {
pname = "django-redis";
version = "4.12.1";
version = "5.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "306589c7021e6468b2656edc89f62b8ba67e8d5a1c8877e2688042263daa7a63";
sha256 = "048f665bbe27f8ff2edebae6aa9c534ab137f1e8fa7234147ef470df3f3aa9b8";
};
doCheck = false;
buildInputs = [ mock ];
propagatedBuildInputs = [
django
redis
msgpack
];
# django.core.exceptions.ImproperlyConfigured: Requested setting DJANGO_REDIS_SCAN_ITERSIZE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
doCheck = false;
pythonImportsCheck = [ "django_redis" ];
meta = with lib; {
description = "Full featured redis cache backend for Django";
homepage = "https://github.com/niwibe/django-redis";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}