Merge pull request #268271 from tu-maurice/fix-darwin/python-circus

python311Packages.circus: fix tests on darwin
This commit is contained in:
Weijia Wang 2023-11-19 03:16:55 +01:00 committed by GitHub
commit 29255a37b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, flit-core
@ -34,6 +35,11 @@ buildPythonPackage rec {
pyyaml
];
# On darwin: Too many open files
preCheck = lib.optionalString stdenv.isDarwin ''
ulimit -n 1024
'';
disabledTests = [
# these tests raise circus.tests.support.TimeoutException
"test_reload1"