From 343015526efa16bfdbe294479b4deb83f986e3b7 Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Mon, 28 Dec 2020 13:33:33 -0500 Subject: [PATCH] python3Packages.asdf: unbreak --- pkgs/development/python-modules/asdf/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/asdf/default.nix b/pkgs/development/python-modules/asdf/default.nix index 474329ed0b7d..4006a034d48d 100644 --- a/pkgs/development/python-modules/asdf/default.nix +++ b/pkgs/development/python-modules/asdf/default.nix @@ -17,18 +17,13 @@ buildPythonPackage rec { pname = "asdf"; version = "2.7.1"; disabled = isPy27; + format = "pyproject"; src = fetchPypi { inherit pname version; sha256 = "4ba2e31cb24b974a10dfae3edee23db2e6bea2d00608604d062366aa3af6e81a"; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "semantic_version>=2.3.1,<=2.6.0" "semantic_version>=2.3.1" \ - --replace "doctest_plus = enabled" "" - ''; - checkInputs = [ pytest-astropy astropy @@ -45,7 +40,7 @@ buildPythonPackage rec { ]; checkPhase = '' - pytest + PY_IGNORE_IMPORTMISMATCH=1 pytest ''; meta = with lib; {