python3Packages.typed-argparse: disable tests broken by python 3.14 (#521521)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
@@ -24,13 +25,21 @@ buildPythonPackage {
|
||||
|
||||
dependencies = [ typing-extensions ];
|
||||
|
||||
pythonImportsCheck = [ "typed_argparse" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
# https://github.com/typed-argparse/typed-argparse/pull/82
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.14") [
|
||||
"test_nargs_with_choices__literal_illegal_default"
|
||||
"test_nargs_with_choices__enum_illegal_default"
|
||||
"test_bindings_check"
|
||||
"test_check_reserved_names"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "typed_argparse" ];
|
||||
|
||||
meta = {
|
||||
description = "Type-safe Python argument parsing";
|
||||
homepage = "https://typed-argparse.github.io/typed-argparse/";
|
||||
|
||||
Reference in New Issue
Block a user