about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-09-26 08:46:51 +0200
committerGitHub <noreply@github.com>2022-09-26 08:46:51 +0200
commitf0185a6386c78cf07c68b9af2780e47e6fa5caa8 (patch)
tree1accca5ced3fea393bce1a93ed39196bd3d9f31e
parent4e912afea907f9620d6230d2cf9bf2d9ff901fce (diff)
parent2da151f56acae6743d85416ea7bc9a61581dc7eb (diff)
downloadnixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar.gz
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar.bz2
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar.lz
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar.xz
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.tar.zst
nixlib-f0185a6386c78cf07c68b9af2780e47e6fa5caa8.zip
Merge pull request #187722 from fabaff/nats-py-bump
python310Packages.nats-py: 2.1.4 -> 2.1.7 
-rw-r--r--pkgs/development/python-modules/nats-py/default.nix25
1 files changed, 9 insertions, 16 deletions
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 = [