From 24d4e25fa3c974b7331f6f4b239ada8ca2cc4572 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 18 Feb 2024 05:19:38 +0100 Subject: [PATCH] python312Packages.uncertainties: disable tests lib2to3 is not supported in setuptools since a longer time. --- pkgs/development/python-modules/uncertainties/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/uncertainties/default.nix b/pkgs/development/python-modules/uncertainties/default.nix index 8299effe6f5e..040f37847617 100644 --- a/pkgs/development/python-modules/uncertainties/default.nix +++ b/pkgs/development/python-modules/uncertainties/default.nix @@ -1,5 +1,6 @@ { lib, fetchPypi, buildPythonPackage , nose, numpy, future +, pythonOlder }: buildPythonPackage rec { @@ -13,6 +14,10 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ future ]; + + # uses removed lib2to3.tests + doCheck = pythonOlder "3.12"; + nativeCheckInputs = [ nose numpy ]; checkPhase = ''