Loading pkgs/development/python-modules/argostranslate/default.nix +6 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, Loading Loading @@ -54,10 +55,12 @@ buildPythonPackage rec { "argostranslate.translate" ]; meta = with lib; { meta = { description = "Open-source offline translation library written in Python"; homepage = "https://www.argosopentech.com"; license = licenses.mit; maintainers = with maintainers; [ misuzu ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ misuzu ]; # Segfaults at import broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; } pkgs/development/python-modules/transformers/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -58,14 +58,14 @@ buildPythonPackage rec { pname = "transformers"; version = "4.45.1"; version = "4.45.2"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; rev = "refs/tags/v${version}"; hash = "sha256-5fGEnw4YllQdZV/0vDGXYsCyTw0rtPRD/V7UWoBBZjQ="; hash = "sha256-5Ric+pEbBf6HswsPb8cdVLdqTRgicFjzcrk0oO2PtC0="; }; build-system = [ setuptools ]; Loading pkgs/development/python-modules/webdataset/default.nix +15 −11 Original line number Diff line number Diff line Loading @@ -2,18 +2,23 @@ lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies braceexpand, numpy, pyyaml, # tests imageio, lmdb, msgpack, numpy, pytestCheckHook, pyyaml, setuptools, torch, torchvision, wheel, fetchFromGitHub, }: buildPythonPackage rec { pname = "webdataset"; Loading @@ -29,7 +34,6 @@ buildPythonPackage rec { build-system = [ setuptools wheel ]; dependencies = [ Loading @@ -39,12 +43,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ pytestCheckHook imageio lmdb msgpack pytestCheckHook torch torchvision msgpack lmdb ]; pythonImportsCheck = [ "webdataset" ]; Loading Loading @@ -86,10 +90,10 @@ buildPythonPackage rec { disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # AttributeError: <module 'torch.distributed' from /nix/store/... "tests/test_wids.py" "tests/wids/test_wids.py" # Issue with creating a temp file in the sandbox "tests/test_wids_mmtar.py" "tests/wids/test_wids_mmtar.py" ]; meta = { Loading Loading
pkgs/development/python-modules/argostranslate/default.nix +6 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, Loading Loading @@ -54,10 +55,12 @@ buildPythonPackage rec { "argostranslate.translate" ]; meta = with lib; { meta = { description = "Open-source offline translation library written in Python"; homepage = "https://www.argosopentech.com"; license = licenses.mit; maintainers = with maintainers; [ misuzu ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ misuzu ]; # Segfaults at import broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }
pkgs/development/python-modules/transformers/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -58,14 +58,14 @@ buildPythonPackage rec { pname = "transformers"; version = "4.45.1"; version = "4.45.2"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; rev = "refs/tags/v${version}"; hash = "sha256-5fGEnw4YllQdZV/0vDGXYsCyTw0rtPRD/V7UWoBBZjQ="; hash = "sha256-5Ric+pEbBf6HswsPb8cdVLdqTRgicFjzcrk0oO2PtC0="; }; build-system = [ setuptools ]; Loading
pkgs/development/python-modules/webdataset/default.nix +15 −11 Original line number Diff line number Diff line Loading @@ -2,18 +2,23 @@ lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies braceexpand, numpy, pyyaml, # tests imageio, lmdb, msgpack, numpy, pytestCheckHook, pyyaml, setuptools, torch, torchvision, wheel, fetchFromGitHub, }: buildPythonPackage rec { pname = "webdataset"; Loading @@ -29,7 +34,6 @@ buildPythonPackage rec { build-system = [ setuptools wheel ]; dependencies = [ Loading @@ -39,12 +43,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ pytestCheckHook imageio lmdb msgpack pytestCheckHook torch torchvision msgpack lmdb ]; pythonImportsCheck = [ "webdataset" ]; Loading Loading @@ -86,10 +90,10 @@ buildPythonPackage rec { disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # AttributeError: <module 'torch.distributed' from /nix/store/... "tests/test_wids.py" "tests/wids/test_wids.py" # Issue with creating a temp file in the sandbox "tests/test_wids_mmtar.py" "tests/wids/test_wids_mmtar.py" ]; meta = { Loading