python3Packages.labelbox: 2.5.1 -> 2.5.4
This commit is contained in:
parent
741ed21bea
commit
a9558a193b
@ -4,28 +4,36 @@
|
|||||||
, requests
|
, requests
|
||||||
, jinja2
|
, jinja2
|
||||||
, pillow
|
, pillow
|
||||||
|
, dataclasses
|
||||||
|
, pythonOlder
|
||||||
, rasterio
|
, rasterio
|
||||||
, shapely
|
, shapely
|
||||||
, ndjson
|
, ndjson
|
||||||
, backoff
|
, backoff
|
||||||
|
, pydantic
|
||||||
, google-api-core
|
, google-api-core
|
||||||
, backports-datetime-fromisoformat
|
, backports-datetime-fromisoformat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "labelbox";
|
pname = "labelbox";
|
||||||
version = "2.5.1";
|
version = "2.5.4";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7f2cbc5d4869d8acde865ad519fc1cc85338247cd7cf534334f988a040679219";
|
sha256 = "sha256-L1KjP8Yzx9adTK84+Nf9JnirT4p3D3lwulWw6W1L/88=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jinja2 requests pillow rasterio shapely ndjson backoff
|
jinja2 requests pillow rasterio shapely ndjson backoff
|
||||||
google-api-core backports-datetime-fromisoformat
|
google-api-core backports-datetime-fromisoformat pydantic
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "pydantic==1.8" "pydantic>=1.8"
|
||||||
|
'';
|
||||||
|
|
||||||
# Test cases are not running on pypi or GitHub
|
# Test cases are not running on pypi or GitHub
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "labelbox" ];
|
pythonImportsCheck = [ "labelbox" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user