about summary refs log tree commit diff
path: root/pkgs/development/python-modules/webdataset/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-06-26 00:13:39 +0000
committerGitHub <noreply@github.com>2024-06-26 00:13:39 +0000
commitc6f5167f9043a154b82b5564ea6c14786382976c (patch)
tree487680b24f635c7dbd3aa80c1bd07b49d35e2ec6 /pkgs/development/python-modules/webdataset/default.nix
parentb7a9a1b139e8096ac15d07c7bdc944ccae47edce (diff)
parent260616a5fddf0d3cf41bca8b74be23e2e2bf8c2e (diff)
Merge master into haskell-updates haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/webdataset/default.nix')
-rw-r--r--pkgs/development/python-modules/webdataset/default.nix18
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 ];
   };
 }