Merge remote-tracking branch 'upstream/staging-next' into staging
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyRMVtransport";
|
||||
version = "0.3.1";
|
||||
version = "0.3.2";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "cgtobi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1savzndg8l7rrc5dgzgsrdz9hnnjfv6qs5drznqmdw4f2rq84ypa";
|
||||
sha256 = "0m74m3dhxmbv10hsvs7cpshzs3pg66va5lyq94i5j1nxrl9i7spb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -42,11 +42,6 @@ buildPythonPackage rec {
|
||||
pytest-httpx
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# fails with pytest-httpx>=0.12.0
|
||||
"test__query_rmv_api_fail"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/cgtobi/PyRMVtransport";
|
||||
description = "Get transport information from opendata.rmv.de";
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, makefun
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "decopatch";
|
||||
version = "1.4.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0i6i811s2j1z0cl6y177dwsbfxib8dvb5c2jpgklvc2xy4ahhsy6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ makefun ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'pytest-runner', " ""
|
||||
'';
|
||||
|
||||
# Tests would introduce multiple cirucular dependencies
|
||||
# Affected: makefun, pytest-cases
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "decopatch" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python helper for decorators";
|
||||
homepage = "https://github.com/smarie/python-decopatch";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -1,38 +1,67 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, jinja2
|
||||
, pillow
|
||||
, rasterio
|
||||
, shapely
|
||||
, ndjson
|
||||
, backoff
|
||||
, google-api-core
|
||||
, backports-datetime-fromisoformat
|
||||
, buildPythonPackage
|
||||
, dataclasses
|
||||
, fetchFromGitHub
|
||||
, google-api-core
|
||||
, jinja2
|
||||
, ndjson
|
||||
, pillow
|
||||
, pydantic
|
||||
, pytest-cases
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rasterio
|
||||
, requests
|
||||
, shapely
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "labelbox";
|
||||
version = "2.5.1";
|
||||
version = "2.5.4";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7f2cbc5d4869d8acde865ad519fc1cc85338247cd7cf534334f988a040679219";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Labelbox";
|
||||
repo = "labelbox-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0182klvm8bjcm8fkl9w8ypj12s026czgid8ldl6jjvmzhxpmss68";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2 requests pillow rasterio shapely ndjson backoff
|
||||
google-api-core backports-datetime-fromisoformat
|
||||
backoff
|
||||
backports-datetime-fromisoformat
|
||||
dataclasses
|
||||
google-api-core
|
||||
jinja2
|
||||
ndjson
|
||||
pillow
|
||||
pydantic
|
||||
rasterio
|
||||
requests
|
||||
shapely
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "pydantic==1.8" "pydantic>=1.8"
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytest-cases
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Requires network access
|
||||
"tests/integration"
|
||||
];
|
||||
|
||||
# Test cases are not running on pypi or GitHub
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "labelbox" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Labelbox/Labelbox";
|
||||
description = "Platform API for LabelBox";
|
||||
homepage = "https://github.com/Labelbox/labelbox-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, makefun
|
||||
, decopatch
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-cases";
|
||||
version = "3.4.6";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17w4s6622i97q81g15zamqm536ib00grgdfk2f4kk9bw2k7sdlq6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
decopatch
|
||||
makefun
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
# Tests have dependencies (pytest-harvest, pytest-steps) which
|
||||
# are not available in Nixpkgs. Most of the packages (decopatch,
|
||||
# makefun, pytest-*) have circular dependecies.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pytest_cases" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Separate test code from test cases in pytest";
|
||||
homepage = "https://github.com/smarie/python-pytest-cases";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.23.1";
|
||||
version = "0.24.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0kmmhn357k22ana0ysd8jlz1fyfaqlc8k74ryaik0rrw7nmn1n11";
|
||||
sha256 = "sha256-LHAlGWoASDiFwvy59uXl5GH5pPmMuthoo4ZrFegkCIU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user