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
This commit is contained in:
Robert Scott 2021-11-10 18:19:23 +00:00
parent ee0ab18da9
commit d2fc99d70b

View file

@ -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" ];