Merge pull request #152431 from fabaff/fix-questionary
python3Packages.questionary: disable failing test
This commit is contained in:
commit
d9fab1c90a
1 changed files with 13 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue