mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
python3Packages.labelbox: 6.6.0 -> 6.10.0
Changelogs:
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.10.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.9.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.8.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.8.0
diff: https://github.com/Labelbox/labelbox-python/compare/v.6.6.0...v.6.10.0
(cherry picked from commit 7b2772c14d)
This commit is contained in:
committed by
github-actions[bot]
parent
bbdb4945bf
commit
bee3bb87f2
@@ -29,14 +29,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "6.6.0";
|
||||
version = "6.10.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Labelbox";
|
||||
repo = "labelbox-python";
|
||||
tag = "v.${version}";
|
||||
hash = "sha256-aMJJZ9ONnjFK/J4pyLTFQox/cC8ij85IYNlJTFrfV2I=";
|
||||
hash = "sha256-EstHsY9yFeUhQAx3pgvKk/o3EMkr3JeHDDg/p6meDIE=";
|
||||
};
|
||||
|
||||
lbox-clients = buildPythonPackage {
|
||||
@@ -48,11 +48,23 @@ let
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--durations=20 --cov=lbox.example" "--durations=20"
|
||||
'';
|
||||
|
||||
dependencies = [
|
||||
google-api-core
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
@@ -113,6 +125,10 @@ buildPythonPackage rec {
|
||||
"tests/unit/test_label_data_type.py"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [ "labelbox" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user