From 7f6d634d04414965dbfd03de4659446cc58b1e7d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 15 Aug 2020 15:56:27 -0700 Subject: [PATCH] python2Packages.pytest-testmon: disable python2 ``` Processing ./pytest_testmon-1.0.2-py2-none-any.whl ERROR: Package 'pytest-testmon' requires a different Python: 2.7.18 not in '>=3.6' ``` --- pkgs/development/python-modules/pytest-testmon/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix index 3b649bea57d..9d9add16782 100644 --- a/pkgs/development/python-modules/pytest-testmon/default.nix +++ b/pkgs/development/python-modules/pytest-testmon/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder , coverage , pytest }: @@ -8,6 +9,7 @@ buildPythonPackage rec { pname = "pytest-testmon"; version = "1.0.2"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version;