python311Packages.papermill: disable failing tests

This commit is contained in:
Martin Weinelt
2024-03-18 02:49:06 +01:00
parent 87b3863c00
commit e5bf70c993
@@ -91,11 +91,20 @@ buildPythonPackage rec {
"papermill"
];
pytestFlagsArray = [
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
disabledTests = lib.optionals stdenv.isDarwin [
# might fail due to the sandbox
"test_end2end_autosave_slow_notebook"
];
disabledTestPaths = [
# ImportError: cannot import name 'mock_s3' from 'moto'
"papermill/tests/test_s3.py"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {