python3Packages.nats-py: 0.11.5 -> 2.0.0
This commit is contained in:
parent
4d3917540b
commit
2a5eece231
3 changed files with 25 additions and 10 deletions
|
@ -9,15 +9,17 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncio-nats-client";
|
||||
version = "0.11.5";
|
||||
disabled = pythonOlder "3.6";
|
||||
pname = "nats-py";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = "nats.py";
|
||||
rev = "v${version}";
|
||||
sha256 = "0zwiijaswmfdk71diqmdpb6nx54fmgi8hy0vwx2m3ihhsyjxj82h";
|
||||
hash = "sha256-BraT30J7OIcW2NXAwjcg9PYu+kgf8f1iDjKiN9J6l7Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -38,12 +40,24 @@ buildPythonPackage rec {
|
|||
disabledTests = [
|
||||
# RuntimeError: Event loop is closed
|
||||
"test_subscribe_no_echo"
|
||||
"test_reconnect_to_new_server_with_auth"
|
||||
"test_drain_connection"
|
||||
"test_discover_servers_on_first_connect"
|
||||
"test_publish"
|
||||
"test_publish_verbose"
|
||||
"test_fetch_max_waiting_fetch_one"
|
||||
"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"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nats.aio" ];
|
||||
pythonImportsCheck = [
|
||||
"nats"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for NATS.io";
|
|
@ -33,6 +33,7 @@ in
|
|||
### Deprecated aliases - for backward compatibility
|
||||
|
||||
mapAliases ({
|
||||
asyncio-nats-client = nats-py; # added 2022-02-08
|
||||
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29
|
||||
bt_proximity = bt-proximity; # added 2021-07-02
|
||||
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # added 2019-11-27
|
||||
|
|
|
@ -692,8 +692,6 @@ in {
|
|||
|
||||
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
|
||||
|
||||
asyncio-nats-client = callPackage ../development/python-modules/asyncio-nats-client { };
|
||||
|
||||
asyncio-rlock = callPackage ../development/python-modules/asyncio-rlock { };
|
||||
|
||||
asyncmy = callPackage ../development/python-modules/asyncmy { };
|
||||
|
@ -5319,6 +5317,8 @@ in {
|
|||
|
||||
nassl = callPackage ../development/python-modules/nassl { };
|
||||
|
||||
nats-py = callPackage ../development/python-modules/nats-py { };
|
||||
|
||||
nats-python = callPackage ../development/python-modules/nats-python { };
|
||||
|
||||
natsort = callPackage ../development/python-modules/natsort { };
|
||||
|
|
Loading…
Reference in a new issue