Skip to content

Commit a881e70

Browse files
committed
Fix: Could not pip install .[testing]
The testing dependencies were only available to Hatch but not declared as project optional dependencies.
1 parent c1a6cc4 commit a881e70

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

pyproject.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ optional-dependencies.nuls2 = [
8080
optional-dependencies.polkadot = [
8181
"substrate-interface>=0.9.27",
8282
]
83+
optional-dependencies.testing = [
84+
"ipfshttpclient==0.8.0a2", # eth/web3 test dependency, for some reason"
85+
"more-itertools==8.14.0",
86+
"pytest==8.0.1",
87+
"pytest-cov==4.1.0",
88+
"pytest-mock==3.12.0",
89+
"pytest-asyncio==0.23.5",
90+
"pytest-aiohttp==1.0.5",
91+
]
92+
8393
urls.Documentation = "https://aleph.im/"
8494
urls.Homepage = "https://github.com/aleph-im/pyaleph"
8595
scripts.pyaleph = "aleph.commands:run"
@@ -122,15 +132,7 @@ features = [
122132
"cosmos",
123133
"nuls2",
124134
"polkadot",
125-
]
126-
dependencies = [
127-
"ipfshttpclient==0.8.0a2", # eth/web3 test dependency, for some reason"
128-
"more-itertools==8.14.0",
129-
"pytest==8.0.1",
130-
"pytest-cov==4.1.0",
131-
"pytest-mock==3.12.0",
132-
"pytest-asyncio==0.23.5",
133-
"pytest-aiohttp==1.0.5",
135+
"testing",
134136
]
135137

136138
# XXX see https://github.com/aleph-im/pyaleph/blob/main/.github/workflows/pyaleph-ci.yml

0 commit comments

Comments
 (0)