Merge pull request #152431 from fabaff/fix-questionary

python3Packages.questionary: disable failing test
This commit is contained in:
Fabian Affolter 2021-12-29 23:01:53 +01:00 committed by GitHub
commit d9fab1c90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry
, poetry-core
, prompt-toolkit
, pytest-cov
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
@ -12,6 +12,8 @@ buildPythonPackage rec {
version = "1.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tmbo";
repo = pname;
@ -20,7 +22,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
poetry
poetry-core
];
propagatedBuildInputs = [
@ -28,11 +30,17 @@ buildPythonPackage rec {
];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "questionary" ];
disabledTests = [
# TypeError: <lambda>() missing 1 required...
"test_print_with_style"
];
pythonImportsCheck = [
"questionary"
];
meta = with lib; {
description = "Python library to build command line user prompts";