From 64413fa8a90d9271d99498b7bdc2126b983bc0db Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:51:37 +0200 Subject: [PATCH] Fix comment and bump version, add dependencies (#1259) --- Cargo.lock | 2 +- bindings/python/CHANGELOG.md | 6 ++++++ bindings/python/Cargo.toml | 2 +- bindings/python/iota_sdk/types/send_params.py | 4 +++- bindings/python/pyproject.toml | 1 + bindings/python/setup.py | 2 +- 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2d368b24f..fefaa67e95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1716,7 +1716,7 @@ dependencies = [ [[package]] name = "iota-sdk-python" -version = "1.0.2" +version = "1.0.3" dependencies = [ "futures", "iota-sdk-bindings-core", diff --git a/bindings/python/CHANGELOG.md b/bindings/python/CHANGELOG.md index 1ada400f33..5dfeea1196 100644 --- a/bindings/python/CHANGELOG.md +++ b/bindings/python/CHANGELOG.md @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> +## 1.0.3 - 2023-09-19 + +### Fixed + +- Wheel upload; + ## 1.0.2 - 2023-09-12 ### Added diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index a71e89e167..d6257d7cec 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iota-sdk-python" -version = "1.0.2" +version = "1.0.3" authors = ["IOTA Stiftung"] edition = "2021" description = "Python bindings for the IOTA SDK library" diff --git a/bindings/python/iota_sdk/types/send_params.py b/bindings/python/iota_sdk/types/send_params.py index df1fe5bc1a..d2af0f603e 100644 --- a/bindings/python/iota_sdk/types/send_params.py +++ b/bindings/python/iota_sdk/types/send_params.py @@ -16,7 +16,9 @@ class SendParams(): address: The address to send to. amount: The amount to send. returnAddress: The address to return the funds to if not claimed. - expiration: The expiration timestamp until funds can be claimed. + expiration: Expiration in seconds, after which the output will be available for the sender again, if not spent by the + receiver already. The expiration will only be used if one is necessary given the provided amount. If an + expiration is needed but not provided, it will default to one day. """ address: str amount: str diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 620d7bfc9d..2ebc287ebd 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -4,6 +4,7 @@ build-backend = "maturin" [project] name = "iota-sdk" +dependencies = ["dacite >= 1.8.1", "pyhumps >= 3.8.0"] [tool.maturin] python-packages = ["iota_sdk"] \ No newline at end of file diff --git a/bindings/python/setup.py b/bindings/python/setup.py index e709f935d0..70be8a1d84 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -22,7 +22,7 @@ def get_py_version_cfgs(): setup( name="iota_sdk", - version="1.0.2", + version="1.0.3", classifiers=[ "License :: SPDX-License-Identifier :: Apache-2.0", "Intended Audience :: Developers",