From 94c628e631fde01e8acb30bccd07aa2fd82c9e8e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 17:39:19 +0200 Subject: [PATCH] python3Packages.agate-sql: reenable test and use pytest instead of nose --- .../development/python-modules/agate-sql/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/agate-sql/default.nix b/pkgs/development/python-modules/agate-sql/default.nix index c2e741bef176..827f73f27e7a 100644 --- a/pkgs/development/python-modules/agate-sql/default.nix +++ b/pkgs/development/python-modules/agate-sql/default.nix @@ -5,7 +5,7 @@ , agate , sqlalchemy , crate -, nose +, pytestCheckHook , geojson }: @@ -22,15 +22,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ agate sqlalchemy ]; - # crate is broken in nixpkgs, with SQLAlchemy > 1.3 - # Skip tests for now as they rely on it. - doCheck = false; - - checkInputs = [ crate nose geojson ]; - - checkPhase = '' - nosetests - ''; + checkInputs = [ crate geojson pytestCheckHook ]; pythonImportsCheck = [ "agatesql" ];