django-extensions: 3.0.8 -> 3.1.0

Also fix tests
This commit is contained in:
Flakebi 2020-12-12 12:05:24 +01:00 committed by Frederik Rietdijk
parent 3c11eea359
commit 0c9088ad2b

View file

@ -18,13 +18,13 @@
buildPythonPackage rec {
pname = "django-extensions";
version = "3.0.8";
version = "3.1.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1z2si9wpc8irqhi5i2wp4wr05dqxyw4mn2vj3amp0rvsvydws92c";
sha256 = "hZ6GS2VkXH8KfKZuL1rR6JS/nDkx8SfKuUx5XrvTbec=";
};
LC_ALL = "en_US.UTF-8";
@ -49,10 +49,11 @@ buildPythonPackage rec {
werkzeug
];
# tests not compatible with pip>=20
# remove tests that need network access
checkPhase = ''
rm tests/management/commands/test_pipchecker.py
${python.interpreter} setup.py test
DJANGO_SETTINGS_MODULE=tests.testapp.settings \
pytest django_extensions tests
'';
meta = with lib; {