python311Packages.labelbox: 3.65 -> 3.67.0
Diff: https://github.com/Labelbox/labelbox-python/compare/refs/tags/v3.65...v.3.67.0 Changelog: https://github.com/Labelbox/labelbox-python/blob/v.3.67.0/CHANGELOG.md
This commit is contained in:
parent
bea21e5fa9
commit
fbea5e488a
|
@ -15,9 +15,11 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, requests
|
, requests
|
||||||
, setuptools
|
, setuptools
|
||||||
, shapely
|
, shapely
|
||||||
|
, strenum
|
||||||
, tqdm
|
, tqdm
|
||||||
, typeguard
|
, typeguard
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
|
@ -25,36 +27,49 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "labelbox";
|
pname = "labelbox";
|
||||||
version = "3.65";
|
version = "3.67.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Labelbox";
|
owner = "Labelbox";
|
||||||
repo = "labelbox-python";
|
repo = "labelbox-python";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v.${version}";
|
||||||
hash = "sha256-i0hbVxGrb2C/bMcVPNzaPBxhKm+5r3o1GlToZvIS35k=";
|
hash = "sha256-JQTjmYxPBS8JC4HQTtbQ7hb80LPLYE4OEj1lFA6cZ1Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytest.ini \
|
substituteInPlace pytest.ini \
|
||||||
--replace "--reruns 5 --reruns-delay 10" ""
|
--replace-fail "--reruns 2 --reruns-delay 10 --durations=20 -n 10" ""
|
||||||
|
|
||||||
|
# disable pytest_plugins which requires `pygeotile`
|
||||||
|
substituteInPlace tests/conftest.py \
|
||||||
|
--replace-fail "pytest_plugins" "_pytest_plugins"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"python-dateutil"
|
||||||
|
];
|
||||||
|
|
||||||
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
google-api-core
|
google-api-core
|
||||||
pydantic
|
pydantic
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
|
strenum
|
||||||
tqdm
|
tqdm
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
optional-dependencies = {
|
||||||
data = [
|
data = [
|
||||||
shapely
|
shapely
|
||||||
geojson
|
geojson
|
||||||
|
@ -74,13 +89,7 @@ buildPythonPackage rec {
|
||||||
nbconvert
|
nbconvert
|
||||||
nbformat
|
nbformat
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
] ++ passthru.optional-dependencies.data;
|
] ++ optional-dependencies.data;
|
||||||
|
|
||||||
# disable pytest_plugins which requires `pygeotile`
|
|
||||||
preCheck = ''
|
|
||||||
substituteInPlace tests/conftest.py \
|
|
||||||
--replace "pytest_plugins" "_pytest_plugins"
|
|
||||||
'';
|
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# Requires network access
|
# Requires network access
|
||||||
|
|
Loading…
Reference in New Issue
Block a user