From 3af00f41812ca9defb3317416f37b0f8d6e7616d Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Fri, 8 Oct 2021 08:39:00 +0800 Subject: [PATCH] chore(python/stellar): bump stellar-sdk to 5.0.0. [no changelog] --- python/requirements-optional.txt | 2 +- python/setup.py | 2 +- python/src/trezorlib/stellar.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/requirements-optional.txt b/python/requirements-optional.txt index cd93c7675..21a4f9367 100644 --- a/python/requirements-optional.txt +++ b/python/requirements-optional.txt @@ -2,4 +2,4 @@ hidapi >= 0.7.99.post20 rlp >= 1.1.0 web3 >= 4.8 Pillow -stellar-sdk>=4.0.0,<5.0.0 +stellar-sdk>=4.0.0,<6.0.0 diff --git a/python/setup.py b/python/setup.py index 3c49b9ada..425310240 100755 --- a/python/setup.py +++ b/python/setup.py @@ -22,7 +22,7 @@ extras_require = { "ethereum": ["rlp>=1.1.0", "web3>=4.8"], "qt-widgets": ["PyQt5"], "extra": ["Pillow"], - "stellar": ["stellar-sdk>=4.0.0,<5.0.0"], + "stellar": ["stellar-sdk>=4.0.0,<6.0.0"], } extras_require["full"] = sum(extras_require.values(), []) diff --git a/python/src/trezorlib/stellar.py b/python/src/trezorlib/stellar.py index 3b86413a7..d6c4ad156 100644 --- a/python/src/trezorlib/stellar.py +++ b/python/src/trezorlib/stellar.py @@ -271,7 +271,7 @@ def _read_amount(amount: str) -> int: def _read_price(price: Union["Price", str, Decimal]) -> "Price": - # In the coming stellar-sdk 5.x, the type of price must be Price, + # In the coming stellar-sdk 6.x, the type of price must be Price, # at that time we can remove this function if isinstance(price, Price): return price