diff --git a/pyproject.toml b/pyproject.toml index be5dfb75..f1b2a6bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,6 +80,16 @@ optional-dependencies.nuls2 = [ optional-dependencies.polkadot = [ "substrate-interface>=0.9.27", ] +optional-dependencies.testing = [ + "ipfshttpclient==0.8.0a2", # eth/web3 test dependency, for some reason" + "more-itertools==8.14.0", + "pytest==8.0.1", + "pytest-aiohttp==1.0.5", + "pytest-asyncio==0.23.5", + "pytest-cov==4.1.0", + "pytest-mock==3.12.0", +] + urls.Documentation = "https://aleph.im/" urls.Homepage = "https://github.com/aleph-im/pyaleph" scripts.pyaleph = "aleph.commands:run" @@ -122,15 +132,7 @@ features = [ "cosmos", "nuls2", "polkadot", -] -dependencies = [ - "ipfshttpclient==0.8.0a2", # eth/web3 test dependency, for some reason" - "more-itertools==8.14.0", - "pytest==8.0.1", - "pytest-cov==4.1.0", - "pytest-mock==3.12.0", - "pytest-asyncio==0.23.5", - "pytest-aiohttp==1.0.5", + "testing", ] # XXX see https://github.com/aleph-im/pyaleph/blob/main/.github/workflows/pyaleph-ci.yml