diff --git a/pkgs/development/python-modules/circus/default.nix b/pkgs/development/python-modules/circus/default.nix index 7445dd1a6465..2a2d8e3c5d5f 100644 --- a/pkgs/development/python-modules/circus/default.nix +++ b/pkgs/development/python-modules/circus/default.nix @@ -6,6 +6,7 @@ flit-core, psutil, pytestCheckHook, + pythonOlder, pyyaml, pyzmq, tornado, @@ -14,16 +15,18 @@ buildPythonPackage rec { pname = "circus"; version = "0.18.0"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-GTzoIk4GjO1mckz0gxBvtmdLUaV1g6waDn7Xp+6Mcas="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ + dependencies = [ psutil pyzmq tornado @@ -41,38 +44,39 @@ buildPythonPackage rec { disabledTests = [ # these tests raise circus.tests.support.TimeoutException - "test_reload1" - "test_reload2" + "test_add_start" + "test_add" + "test_command_already_running" + "test_dummy" + "test_exits_within_graceful_timeout" + "test_full_stats" + "test_handler" + "test_handler" + "test_inherited" + "test_kills_after_graceful_timeout" + "test_launch_cli" + "test_max_age" "test_reload_sequential" "test_reload_uppercase" "test_reload_wid_1_worker" "test_reload_wid_4_workers" - "test_add" - "test_add_start" - "test_command_already_running" - "test_launch_cli" - "test_handler" + "test_reload1" + "test_reload2" "test_resource_watcher_max_cpu" - "test_resource_watcher_max_mem" "test_resource_watcher_max_mem_abs" + "test_resource_watcher_max_mem" "test_resource_watcher_min_cpu" - "test_resource_watcher_min_mem" "test_resource_watcher_min_mem_abs" - "test_full_stats" - "test_watchdog_discovery_found" - "test_watchdog_discovery_not_found" - "test_dummy" - "test_handler" + "test_resource_watcher_min_mem" + "test_set_before_launch" + "test_set_by_arbiter" + "test_signal" "test_stdin_socket" "test_stop_and_restart" "test_stream" - "test_inherited" - "test_set_before_launch" - "test_set_by_arbiter" - "test_max_age" - "test_signal" - "test_exits_within_graceful_timeout" - "test_kills_after_graceful_timeout" + "test_venv" + "test_watchdog_discovery_found" + "test_watchdog_discovery_not_found" # this test requires socket communication "test_plugins" ]; @@ -82,6 +86,8 @@ buildPythonPackage rec { meta = with lib; { description = "A process and socket manager"; homepage = "https://github.com/circus-tent/circus"; + changelog = "https://github.com/circus-tent/circus/releases/tag/${version}"; license = licenses.asl20; + maintainers = with maintainers; [ ]; }; }