chore(python/stellar): bump stellar-sdk to 5.0.0.

[no changelog]
pull/1896/head
Jun Luo 3 years ago committed by matejcik
parent b3ac52e98c
commit 3af00f4181

@ -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

@ -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(), [])

@ -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

Loading…
Cancel
Save