Merge pull request #145393 from risicle/ris-typer-darwin-fix

python3Packages.typer: disable failing tests on darwin
This commit is contained in:
Uri Baghin 2021-11-16 12:40:44 +11:00 committed by GitHub
commit 620033a06b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, click , click
@ -42,6 +43,11 @@ buildPythonPackage rec {
preCheck = '' preCheck = ''
export HOME=$(mktemp -d); 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" ]; pythonImportsCheck = [ "typer" ];