Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.fsspec: fix tests on linux #99499

Merged
merged 1 commit into from Oct 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/fsspec/default.nix
Expand Up @@ -24,12 +24,15 @@ buildPythonPackage rec {
numpy
];

pytestFlagsArray = [ "--rootdir=$(mktemp -d)" ];

disabledTests = [
# Test assumes user name is part of $HOME
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
"test_strip_protocol_expanduser"
# flaky: works locally but fails on hydra
# as it uses the install dir for tests instead of a temp dir
# resolved in https://github.com/intake/filesystem_spec/issues/432 and
# can be enabled again from version 0.8.4
"test_pathobject"
] ++ lib.optionals (stdenv.isDarwin) [
# works locally on APFS, fails on hydra with AssertionError comparing timestamps
# darwin hydra builder uses HFS+ and has only one second timestamp resolution
Expand Down