Skip to content

Commit 141f0ac

Browse files
committed
Restrict eth-account version < 0.12.0 due to incompatible pydantic requirement; Remove ethereum extra package, as it was already contained in main package
1 parent 1431129 commit 141f0ac

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ $ pip install aleph-sdk-python
3636
Some functionalities require additional dependencies. They can be installed like this:
3737

3838
```shell
39-
$ pip install aleph-sdk-python[ethereum, dns]
39+
$ pip install aleph-sdk-python[solana, dns]
4040
```
4141

4242
The following extra dependencies are available:
43-
- `ethereum` for Ethereum and Ethereum-compatible chains
4443
- `solana` for Solana accounts and signatures
4544
- `cosmos` for Substrate/Cosmos accounts and signatures
4645
- `nuls2` for NULS2 accounts and signatures

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"coincurve; python_version<\"3.11\"",
2828
"coincurve>=17.0.0; python_version>=\"3.11\"",
2929
"eth_abi>=4.0.0; python_version>=\"3.11\"",
30-
"eth_account>=0.4.0",
30+
"eth_account>=0.4.0,<0.12.0",
3131
"python-magic",
3232
"typer",
3333
"typing_extensions",
@@ -43,10 +43,6 @@ dns = [
4343
docs = [
4444
"sphinxcontrib-plantuml",
4545
]
46-
ethereum = [
47-
"eth_abi>=4.0.0; python_version>=\"3.11\"",
48-
"eth_account>=0.4.0",
49-
]
5046
ledger = [
5147
"ledgereth==0.9.0",
5248
]
@@ -75,7 +71,7 @@ encryption = [
7571
"eciespy>=0.3.13; python_version>=\"3.11\"",
7672
]
7773
all = [
78-
"aleph-sdk-python[cosmos,dns,docs,ethereum,ledger,mqtt,nuls2,polkadot,solana,tezos,encryption]",
74+
"aleph-sdk-python[cosmos,dns,docs,ledger,mqtt,nuls2,polkadot,solana,tezos,encryption]",
7975
]
8076

8177
[project.urls]
@@ -111,7 +107,6 @@ python = ["3.8", "3.9", "3.10", "3.11"]
111107
features = [
112108
"cosmos",
113109
"dns",
114-
"ethereum",
115110
"ledger",
116111
"nuls2",
117112
"polkadot",

0 commit comments

Comments
 (0)