From d2fc99d70bb85e1f55e262eb4aece7549fd1587b Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Wed, 10 Nov 2021 18:19:23 +0000 Subject: [PATCH] python3Packages.typer: disable failing tests on darwin these all seem to stem from the shellingham package being unable to detect the shell (even if we provide `ps` to it), likely related to a known issue --- pkgs/development/python-modules/typer/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index bc55e3ab8ff7..17008eafc1ba 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , click @@ -42,6 +43,11 @@ buildPythonPackage rec { preCheck = '' export HOME=$(mktemp -d); ''; + disabledTests = lib.optionals stdenv.isDarwin [ + # likely related to https://github.com/sarugaku/shellingham/issues/35 + "test_show_completion" + "test_install_completion" + ]; pythonImportsCheck = [ "typer" ];