From ff62f59f0259dde6eaed68f19f890fbb8d944750 Mon Sep 17 00:00:00 2001 From: Pavel Yagunov Date: Fri, 2 Aug 2024 12:26:38 +0300 Subject: [PATCH 1/3] suppressed the network warnings (for real this time!) --- snet/sdk/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snet/sdk/__init__.py b/snet/sdk/__init__.py index 8f5063c..4cc3028 100644 --- a/snet/sdk/__init__.py +++ b/snet/sdk/__init__.py @@ -13,7 +13,7 @@ warnings.filterwarnings("ignore", "Network .* does not have a valid ChainId. eth-typing should be " "updated with the latest networks.", UserWarning) -from snet.sdk.metadata_provider.ipfs_metadata_provider import IPFSMetadataProvider + from snet.sdk.metadata_provider.ipfs_metadata_provider import IPFSMetadataProvider from snet.sdk.payment_strategies.default_payment_strategy import DefaultPaymentStrategy from snet.cli.commands.sdk_command import SDKCommand from snet.cli.commands.commands import BlockchainCommand From e4092435811357843bfef97319ef6ad78912c114 Mon Sep 17 00:00:00 2001 From: Pavel Yagunov Date: Fri, 2 Aug 2024 12:29:32 +0300 Subject: [PATCH 2/3] imports cleanup --- snet/sdk/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/snet/sdk/__init__.py b/snet/sdk/__init__.py index 4cc3028..0897b27 100644 --- a/snet/sdk/__init__.py +++ b/snet/sdk/__init__.py @@ -4,7 +4,6 @@ import sys from typing import Any, NewType import warnings -import copy import google.protobuf.internal.api_implementation @@ -12,8 +11,8 @@ # Suppress the eth-typing package`s warnings related to some new networks warnings.filterwarnings("ignore", "Network .* does not have a valid ChainId. eth-typing should be " "updated with the latest networks.", UserWarning) - from snet.sdk.metadata_provider.ipfs_metadata_provider import IPFSMetadataProvider + from snet.sdk.payment_strategies.default_payment_strategy import DefaultPaymentStrategy from snet.cli.commands.sdk_command import SDKCommand from snet.cli.commands.commands import BlockchainCommand From e30c2a522012696fddf6c4c248c4363869d31ea0 Mon Sep 17 00:00:00 2001 From: Kirill Dvoretskov <65371121+kiruxaspb@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:54:48 +0300 Subject: [PATCH 3/3] upgrade version to 3.4.1 --- version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.py b/version.py index 903a158..a5cfdf5 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -__version__ = "3.4.0" +__version__ = "3.4.1"