Skip to content

Commit

Permalink
chore(python/stellar): bump stellar-sdk to 5.0.0.
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
overcat authored and matejcik committed Nov 4, 2021
1 parent b3ac52e commit 3af00f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/requirements-optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"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(), [])
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/stellar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3af00f4

Please sign in to comment.