From 46d35852e94bce9381877bcb44032e0c39da0bb1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Aug 2022 12:57:58 +0200 Subject: [PATCH 1/4] python310Packages.nats-py: 2.1.4 -> 2.1.5 --- pkgs/development/python-modules/nats-py/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nats-py/default.nix b/pkgs/development/python-modules/nats-py/default.nix index 8637580c39d3..2372463944b5 100644 --- a/pkgs/development/python-modules/nats-py/default.nix +++ b/pkgs/development/python-modules/nats-py/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "nats-py"; - version = "2.1.4"; + version = "2.1.5"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "nats-io"; repo = "nats.py"; rev = "refs/tags/v${version}"; - hash = "sha256-gLNMKLkufy/+zS5quH/UYXBIBfkZUyHtB0TiPNEBw6I="; + hash = "sha256-Tl5qzw8q+6Pt8mWFjCc7gKZ+mFlp+9klO0ETkibcnFA="; }; propagatedBuildInputs = [ From 35e8308d98eca72b1fb4e806f847ef89d5a192ef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Aug 2022 12:59:31 +0200 Subject: [PATCH 2/4] python310Packages.nats-py: 2.1.5 -> 2.1.6 --- pkgs/development/python-modules/nats-py/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nats-py/default.nix b/pkgs/development/python-modules/nats-py/default.nix index 2372463944b5..10650d319053 100644 --- a/pkgs/development/python-modules/nats-py/default.nix +++ b/pkgs/development/python-modules/nats-py/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "nats-py"; - version = "2.1.5"; + version = "2.1.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "nats-io"; repo = "nats.py"; rev = "refs/tags/v${version}"; - hash = "sha256-Tl5qzw8q+6Pt8mWFjCc7gKZ+mFlp+9klO0ETkibcnFA="; + hash = "sha256-ILYZofQf9xnD294GL8rB07bg/Su7TD3KzpDTxrqERak="; }; propagatedBuildInputs = [ From 6d032933823d6bb88b15b6ba975fa627ec96ae0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Aug 2022 13:08:21 +0200 Subject: [PATCH 3/4] python310Packages.nats-py: 2.1.6 -> 2.1.7 - enable tests which were fixed --- .../python-modules/nats-py/default.nix | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/nats-py/default.nix b/pkgs/development/python-modules/nats-py/default.nix index 10650d319053..6521d6d0719f 100644 --- a/pkgs/development/python-modules/nats-py/default.nix +++ b/pkgs/development/python-modules/nats-py/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "nats-py"; - version = "2.1.6"; + version = "2.1.7"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "nats-io"; repo = "nats.py"; rev = "refs/tags/v${version}"; - hash = "sha256-ILYZofQf9xnD294GL8rB07bg/Su7TD3KzpDTxrqERak="; + hash = "sha256-K2ugTwfeYrdBnXFV9SHNQP+fNvUmc1yuy53gpGmmvS0="; }; propagatedBuildInputs = [ @@ -38,21 +38,10 @@ 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" ]; pythonImportsCheck = [ From 2da151f56acae6743d85416ea7bc9a61581dc7eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 25 Sep 2022 16:22:55 +0200 Subject: [PATCH 4/4] python310Packages.nats-py: exclude tests for darwin --- pkgs/development/python-modules/nats-py/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/nats-py/default.nix b/pkgs/development/python-modules/nats-py/default.nix index 6521d6d0719f..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 @@ -42,6 +43,9 @@ buildPythonPackage rec { "test_pull_subscribe_limits" "test_fetch_n" "test_subscribe_no_echo" + ] ++ lib.optionals stdenv.isDarwin [ + "test_subscribe_iterate_next_msg" + "test_buf_size_force_flush_timeout" ]; pythonImportsCheck = [