diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2024-06-25 12:12:51 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 12:12:51 +0900 |
commit | cfb89a95f19bea461fc37228dc4d07b22fe617c2 (patch) | |
tree | 1959df1c16837cacfab914cbe0019a25b662700d | |
parent | 76c9ac10af06352bf886d908585c593f5e53ba71 (diff) | |
parent | 485f139ae8791eab03fe30e9723353d2006cede6 (diff) |
Merge pull request #322193 from GaetanLepage/webdataset
python311Packages.webdataset: disable failing tests on darwin
-rw-r--r-- | pkgs/development/python-modules/webdataset/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/webdataset/default.nix b/pkgs/development/python-modules/webdataset/default.nix index fa0e4ff82aa4e..29a5e670e56ed 100644 --- a/pkgs/development/python-modules/webdataset/default.nix +++ b/pkgs/development/python-modules/webdataset/default.nix @@ -27,12 +27,12 @@ buildPythonPackage rec { hash = "sha256-selj7XD7NS831lbPnx/4o46bNpsxuFdSEIIb4S2b7S0="; }; - nativeBuildInputs = [ + build-system = [ setuptools wheel ]; - propagatedBuildInputs = [ + dependencies = [ braceexpand numpy pyyaml @@ -84,12 +84,20 @@ buildPythonPackage rec { "test_webloader_unbatched" ]; - meta = with lib; { + disabledTestPaths = lib.optionals stdenv.isDarwin [ + # AttributeError: <module 'torch.distributed' from /nix/store/... + "tests/test_wids.py" + + # Issue with creating a temp file in the sandbox + "tests/test_wids_mmtar.py" + ]; + + meta = { description = "High-performance Python-based I/O system for large (and small) deep learning problems, with strong support for PyTorch"; mainProgram = "widsindex"; homepage = "https://github.com/webdataset/webdataset"; changelog = "https://github.com/webdataset/webdataset/releases/tag/${version}"; - license = licenses.bsd3; - maintainers = with maintainers; [ iynaix ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ iynaix ]; }; } |