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