Merge pull request #105448 from SuperSandro2000/uvicorn-darwin
pythonPackages.uvicorn: Disable hanging tests on Darwin
This commit is contained in:
commit
4b634e76f6
|
@ -1,4 +1,4 @@
|
|||
{ lib
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, click
|
||||
|
@ -40,12 +40,15 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
checkInputs = [ pytest requests ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
# watchgod required the watchgod package, which isn't available in nixpkgs
|
||||
checkPhase = ''
|
||||
pytest --ignore=tests/supervisors/test_watchgodreload.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.uvicorn.org/";
|
||||
description = "The lightning-fast ASGI server";
|
||||
license = licenses.bsd3;
|
||||
|
|
Loading…
Reference in New Issue