Loading pkgs/development/python-modules/labelbox/default.nix +15 −25 Original line number Diff line number Diff line { lib , backoff , buildPythonPackage , fetchFromGitHub , geojson Loading @@ -7,21 +6,17 @@ , imagesize , nbconvert , nbformat , ndjson , numpy , opencv # , opencv-python , opencv4 , packaging , pillow , pydantic # , pygeotile , pyproj , pytest-cases , pytestCheckHook , python-dateutil , pythonOlder , pythonRelaxDepsHook , rasterio , requests , setuptools , shapely , tqdm , typeguard Loading @@ -30,8 +25,8 @@ buildPythonPackage rec { pname = "labelbox"; version = "3.52.0"; format = "setuptools"; version = "3.56.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -39,7 +34,7 @@ buildPythonPackage rec { owner = "Labelbox"; repo = "labelbox-python"; rev = "refs/tags/v.${version}"; hash = "sha256-t0Q+6tnUPK2oqjdAwwYeSebgn2EQ1fBivw115L8ndOg="; hash = "sha256-JRh14XpW/iGeBWrslm7weCP/vyJ7eZICqRgQpE2wjXs="; }; postPatch = '' Loading @@ -48,18 +43,13 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ pythonRelaxDepsHook ]; pythonRelaxDeps = [ "backoff" setuptools ]; propagatedBuildInputs = [ backoff google-api-core ndjson pydantic python-dateutil requests tqdm ]; Loading @@ -70,7 +60,7 @@ buildPythonPackage rec { geojson numpy pillow # opencv-python opencv4 typeguard imagesize pyproj Loading @@ -83,10 +73,15 @@ buildPythonPackage rec { nativeCheckInputs = [ nbconvert nbformat pytest-cases pytestCheckHook ] ++ passthru.optional-dependencies.data; # disable pytest_plugins which requires `pygeotile` preCheck = '' substituteInPlace tests/conftest.py \ --replace "pytest_plugins" "_pytest_plugins" ''; disabledTestPaths = [ # Requires network access "tests/integration" Loading @@ -94,11 +89,6 @@ buildPythonPackage rec { "tests/data" ]; pytestFlagsArray = [ # see tox.ini "-k 'not notebooks'" ]; pythonImportsCheck = [ "labelbox" ]; Loading Loading
pkgs/development/python-modules/labelbox/default.nix +15 −25 Original line number Diff line number Diff line { lib , backoff , buildPythonPackage , fetchFromGitHub , geojson Loading @@ -7,21 +6,17 @@ , imagesize , nbconvert , nbformat , ndjson , numpy , opencv # , opencv-python , opencv4 , packaging , pillow , pydantic # , pygeotile , pyproj , pytest-cases , pytestCheckHook , python-dateutil , pythonOlder , pythonRelaxDepsHook , rasterio , requests , setuptools , shapely , tqdm , typeguard Loading @@ -30,8 +25,8 @@ buildPythonPackage rec { pname = "labelbox"; version = "3.52.0"; format = "setuptools"; version = "3.56.0"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -39,7 +34,7 @@ buildPythonPackage rec { owner = "Labelbox"; repo = "labelbox-python"; rev = "refs/tags/v.${version}"; hash = "sha256-t0Q+6tnUPK2oqjdAwwYeSebgn2EQ1fBivw115L8ndOg="; hash = "sha256-JRh14XpW/iGeBWrslm7weCP/vyJ7eZICqRgQpE2wjXs="; }; postPatch = '' Loading @@ -48,18 +43,13 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ pythonRelaxDepsHook ]; pythonRelaxDeps = [ "backoff" setuptools ]; propagatedBuildInputs = [ backoff google-api-core ndjson pydantic python-dateutil requests tqdm ]; Loading @@ -70,7 +60,7 @@ buildPythonPackage rec { geojson numpy pillow # opencv-python opencv4 typeguard imagesize pyproj Loading @@ -83,10 +73,15 @@ buildPythonPackage rec { nativeCheckInputs = [ nbconvert nbformat pytest-cases pytestCheckHook ] ++ passthru.optional-dependencies.data; # disable pytest_plugins which requires `pygeotile` preCheck = '' substituteInPlace tests/conftest.py \ --replace "pytest_plugins" "_pytest_plugins" ''; disabledTestPaths = [ # Requires network access "tests/integration" Loading @@ -94,11 +89,6 @@ buildPythonPackage rec { "tests/data" ]; pytestFlagsArray = [ # see tox.ini "-k 'not notebooks'" ]; pythonImportsCheck = [ "labelbox" ]; Loading