Merge pull request #217311 from simonchatts/darwin-unbreak-sanic
python310Packages.sanic: unbreak on Darwin
This commit is contained in:
commit
5ab8b5ae26
|
@ -3,13 +3,13 @@
|
|||
, aiofiles
|
||||
, beautifulsoup4
|
||||
, buildPythonPackage
|
||||
, doCheck ? true
|
||||
, doCheck ? !stdenv.isDarwin # on Darwin, tests fail but pkg still works
|
||||
, fetchFromGitHub
|
||||
, gunicorn
|
||||
, httptools
|
||||
, multidict
|
||||
, pytest-asyncio
|
||||
,pytestCheckHook
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, sanic-routing
|
||||
|
@ -69,7 +69,7 @@ buildPythonPackage rec {
|
|||
|
||||
# needed for relative paths for some packages
|
||||
cd tests
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
# OSError: [Errno 24] Too many open files
|
||||
ulimit -n 1024
|
||||
'';
|
||||
|
@ -126,7 +126,6 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "sanic" ];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Web server and web framework";
|
||||
homepage = "https://github.com/sanic-org/sanic/";
|
||||
changelog = "https://github.com/sanic-org/sanic/releases/tag/v${version}";
|
||||
|
|
Loading…
Reference in a new issue