nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python311Packages.labelbox: 3.52.0 -> 3.56.0

Diff: https://github.com/Labelbox/labelbox-python/compare/v.3.52.0...v.3.56.0

Changelog: https://github.com/Labelbox/labelbox-python/blob/v.3.56.0/CHANGELOG.md
(cherry picked from commit 68c2c3d58fde250550f9aa285ae9677bddfeeb42)

authored by

natsukium and committed by
github-actions[bot]
35ee2362 6f7cf3af

+15 -25
+15 -25
pkgs/development/python-modules/labelbox/default.nix
··· 1 1 { lib 2 - , backoff 3 2 , buildPythonPackage 4 3 , fetchFromGitHub 5 4 , geojson ··· 6 7 , imagesize 7 8 , nbconvert 8 9 , nbformat 9 - , ndjson 10 10 , numpy 11 - , opencv 12 - # , opencv-python 11 + , opencv4 13 12 , packaging 14 13 , pillow 15 14 , pydantic 16 - # , pygeotile 17 15 , pyproj 18 - , pytest-cases 19 16 , pytestCheckHook 17 + , python-dateutil 20 18 , pythonOlder 21 - , pythonRelaxDepsHook 22 - , rasterio 23 19 , requests 20 + , setuptools 24 21 , shapely 25 22 , tqdm 26 23 , typeguard ··· 25 30 26 31 buildPythonPackage rec { 27 32 pname = "labelbox"; 28 - version = "3.52.0"; 29 - format = "setuptools"; 33 + version = "3.56.0"; 34 + pyproject = true; 30 35 31 36 disabled = pythonOlder "3.7"; 32 37 ··· 34 39 owner = "Labelbox"; 35 40 repo = "labelbox-python"; 36 41 rev = "refs/tags/v.${version}"; 37 - hash = "sha256-t0Q+6tnUPK2oqjdAwwYeSebgn2EQ1fBivw115L8ndOg="; 42 + hash = "sha256-JRh14XpW/iGeBWrslm7weCP/vyJ7eZICqRgQpE2wjXs="; 38 43 }; 39 44 40 45 postPatch = '' ··· 43 48 ''; 44 49 45 50 nativeBuildInputs = [ 46 - pythonRelaxDepsHook 47 - ]; 48 - 49 - pythonRelaxDeps = [ 50 - "backoff" 51 + setuptools 51 52 ]; 52 53 53 54 propagatedBuildInputs = [ 54 - backoff 55 55 google-api-core 56 - ndjson 57 56 pydantic 57 + python-dateutil 58 58 requests 59 59 tqdm 60 60 ]; ··· 60 70 geojson 61 71 numpy 62 72 pillow 63 - # opencv-python 73 + opencv4 64 74 typeguard 65 75 imagesize 66 76 pyproj ··· 73 83 nativeCheckInputs = [ 74 84 nbconvert 75 85 nbformat 76 - pytest-cases 77 86 pytestCheckHook 78 87 ] ++ passthru.optional-dependencies.data; 88 + 89 + # disable pytest_plugins which requires `pygeotile` 90 + preCheck = '' 91 + substituteInPlace tests/conftest.py \ 92 + --replace "pytest_plugins" "_pytest_plugins" 93 + ''; 79 94 80 95 disabledTestPaths = [ 81 96 # Requires network access 82 97 "tests/integration" 83 98 # Missing requirements 84 99 "tests/data" 85 - ]; 86 - 87 - pytestFlagsArray = [ 88 - # see tox.ini 89 - "-k 'not notebooks'" 90 100 ]; 91 101 92 102 pythonImportsCheck = [