diff --git a/pkgs/development/python-modules/nats-py/default.nix b/pkgs/development/python-modules/nats-py/default.nix index 8637580c39d3..069cda129d1a 100644 --- a/pkgs/development/python-modules/nats-py/default.nix +++ b/pkgs/development/python-modules/nats-py/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , ed25519 , fetchFromGitHub @@ -10,7 +11,7 @@ buildPythonPackage rec { pname = "nats-py"; - version = "2.1.4"; + version = "2.1.7"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +20,7 @@ buildPythonPackage rec { owner = "nats-io"; repo = "nats.py"; rev = "refs/tags/v${version}"; - hash = "sha256-gLNMKLkufy/+zS5quH/UYXBIBfkZUyHtB0TiPNEBw6I="; + hash = "sha256-K2ugTwfeYrdBnXFV9SHNQP+fNvUmc1yuy53gpGmmvS0="; }; propagatedBuildInputs = [ @@ -38,21 +39,13 @@ buildPythonPackage rec { ''; disabledTests = [ - # RuntimeError: Event loop is closed - "test_subscribe_no_echo" - "test_publish" - "test_publish_verbose" - "test_fetch_max_waiting_fetch_one" + # AssertionError: assert 5 == 0 + "test_pull_subscribe_limits" "test_fetch_n" - "test_consumer_management" - "test_ephemeral_subscribe" - "test_queue_subscribe_deliver_group" - "test_subscribe_push_bound" - "test_double_acking_subscribe" - "test_flow_control" - "test_ordered_consumer" - "test_ordered_consumer_single_loss" - "test_kv_simple" + "test_subscribe_no_echo" + ] ++ lib.optionals stdenv.isDarwin [ + "test_subscribe_iterate_next_msg" + "test_buf_size_force_flush_timeout" ]; pythonImportsCheck = [