From ebbf76a40749db3bfe50bd2e96fb15901b178397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 14 Jan 2026 03:04:22 +0100 Subject: [PATCH] python2Packages.pytest: remove superfluous pythonOlder --- pkgs/development/python2-modules/pytest/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python2-modules/pytest/default.nix b/pkgs/development/python2-modules/pytest/default.nix index 21a1967e837c..3adb0a7d4aad 100644 --- a/pkgs/development/python2-modules/pytest/default.nix +++ b/pkgs/development/python2-modules/pytest/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchPypi, attrs, hypothesis, @@ -16,7 +15,6 @@ atomicwrites, mock, writeText, - pathlib2, wcwidth, packaging, isPyPy, @@ -52,8 +50,7 @@ buildPythonPackage rec { wcwidth packaging ] - ++ lib.optionals (!isPy3k) [ funcsigs ] - ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ]; + ++ lib.optionals (!isPy3k) [ funcsigs ]; doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460 checkPhase = ''