python3Packages.labelbox: 2.5.1 -> 2.5.4
This commit is contained in:
parent
741ed21bea
commit
a9558a193b
|
@ -4,28 +4,36 @@
|
|||
, requests
|
||||
, jinja2
|
||||
, pillow
|
||||
, dataclasses
|
||||
, pythonOlder
|
||||
, rasterio
|
||||
, shapely
|
||||
, ndjson
|
||||
, backoff
|
||||
, pydantic
|
||||
, google-api-core
|
||||
, backports-datetime-fromisoformat
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "labelbox";
|
||||
version = "2.5.1";
|
||||
version = "2.5.4";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7f2cbc5d4869d8acde865ad519fc1cc85338247cd7cf534334f988a040679219";
|
||||
sha256 = "sha256-L1KjP8Yzx9adTK84+Nf9JnirT4p3D3lwulWw6W1L/88=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
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
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "labelbox" ];
|
||||
|
|
Loading…
Reference in a new issue