summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-11 14:18:20 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-11 14:22:45 +0200
commit77d893eea3a5dcc035b92123be44aae82b5014c8 (patch)
treea7f37354cb4325c8f27751ea78c67e69d2ca3c19 /pkgs/development
parent3a70659b4d012cd662be1579a662a4e00118c66c (diff)
downloadnixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar.gz
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar.bz2
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar.lz
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar.xz
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.tar.zst
nixpkgs-77d893eea3a5dcc035b92123be44aae82b5014c8.zip
python.pkgs.python-daemon: use older pytest
It was supposedly working with 5.3, but now the only older version we
have is 4, so let's use that.
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/python-daemon/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python-daemon/default.nix b/pkgs/development/python-modules/python-daemon/default.nix
index e33aee6c1c9..d8b501d62e5 100644
--- a/pkgs/development/python-modules/python-daemon/default.nix
+++ b/pkgs/development/python-modules/python-daemon/default.nix
@@ -2,7 +2,7 @@
 , docutils
 , lockfile
 , mock
-, pytest
+, pytest_4
 , testscenarios
 , twine
 }:
@@ -19,7 +19,7 @@ buildPythonPackage rec {
   nativeBuildInputs = [ twine ];
   propagatedBuildInputs = [ docutils lockfile ];
 
-  checkInputs = [ pytest mock testscenarios ];
+  checkInputs = [ pytest_4 mock testscenarios ];
   checkPhase = ''
     pytest -k 'not detaches_process_context \
                 and not standard_stream_file_descriptors'