Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-05-12 00:50:10 +00:00
committed by GitHub
28 changed files with 1171 additions and 374 deletions

View File

@@ -22,12 +22,13 @@ buildPythonPackage rec {
"aiohue.discovery"
];
# has no tests
# Project has no tests
doCheck = false;
meta = with lib; {
description = "asyncio package to talk to Philips Hue";
homepage = "https://github.com/balloob/aiohue";
license = licenses.asl20;
description = "Python package to talk to Philips Hue";
homepage = "https://github.com/home-assistant-libs/aiohue";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -17,19 +17,19 @@
buildPythonPackage rec {
pname = "fastapi";
version = "0.63.0";
version = "0.65.0";
format = "flit";
src = fetchFromGitHub {
owner = "tiangolo";
repo = "fastapi";
rev = version;
sha256 = "0l3imrcs42pqf9d6k8c1q15k5sqcnapl5zk71xl52mrxhz49lgpi";
sha256 = "sha256-DPfijCGORF3ThZblqaYTKN0H8+wlhtdIS8lfKfJl/bY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "starlette ==0.13.6" "starlette"
--replace "starlette ==" "starlette >="
'';
propagatedBuildInputs = [

View File

@@ -30,10 +30,8 @@ buildPythonPackage rec {
];
# - Quart is not packaged for Nixpkgs.
# - FastAPI is broken, see #112701 and tiangolo/fastapi#2335.
checkInputs = [ wheel flask /*quart*/ sanic /*fastapi*/ uvicorn requests pytestCheckHook ];
disabledTests = [ "quart" "fastapi" ];
disabledTestPaths = [ "tests/test_fastapi.py" ];
checkInputs = [ wheel flask /*quart*/ sanic fastapi uvicorn requests pytestCheckHook ];
disabledTests = [ "quart" ];
# Tests spawn servers and try to connect to them.
__darwinAllowLocalNetworking = true;