python313Packages.ipdb: disable failing tests
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
decorator,
|
||||
ipython,
|
||||
@@ -9,7 +10,8 @@
|
||||
exceptiongroup,
|
||||
tomli,
|
||||
setuptools,
|
||||
unittestCheckHook,
|
||||
pytestCheckHook,
|
||||
pytest-timeout,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -36,12 +38,22 @@ buildPythonPackage rec {
|
||||
tomli
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
disabledTestPaths =
|
||||
[
|
||||
# OSError: pytest: reading from stdin while output is captured! Consider using `-s`.
|
||||
"manual_test.py"
|
||||
]
|
||||
++ lib.optionals (pythonAtLeast "3.13") [
|
||||
# tests get stuck
|
||||
"tests/test_opts.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gotcha/ipdb";
|
||||
description = "IPython-enabled pdb";
|
||||
|
||||
Reference in New Issue
Block a user