paperless: Use pytest_4 in django-crispy-forms

Doesn't build with pytest_5
This commit is contained in:
Daniel Schaefer 2019-09-14 14:01:38 +02:00
parent 34b58364e4
commit cbab4663f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub { lib, buildPythonPackage, fetchFromGitHub
, pytest, pytest-django, django }: , pytest_4, pytest-django, django }:
buildPythonPackage { buildPythonPackage {
pname = "django-crispy-forms"; pname = "django-crispy-forms";
@ -19,7 +19,7 @@ buildPythonPackage {
export sourceRoot=source- export sourceRoot=source-
''; '';
checkInputs = [ pytest pytest-django django ]; checkInputs = [ pytest_4 pytest-django django ];
checkPhase = '' checkPhase = ''
PYTHONPATH="$(pwd):$PYTHONPATH" \ PYTHONPATH="$(pwd):$PYTHONPATH" \