forked from fetchai/agents-aea
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (111 loc) · 4.1 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (111 loc) · 4.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.poetry]
name = "open-aea"
version = "2.2.9"
description = "Open AEA Framework"
authors = ["developer-valory <develope@valory.xyz>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "aea"}]
[tool.poetry.dependencies]
python = ">=3.10,<3.15"
# Core dependencies
packaging = ">=22.0,<27"
protobuf = ">=5,<7"
pyyaml = ">=6.0.1,<7"
pywin32 = {version = ">=304", markers = "sys_platform == 'win32'"}
# Optional deps for extras
click = {version = ">=8.1.0,<8.4.0", optional = true}
pytest = {version = ">=7.0,<10", optional = true}
coverage = {version = ">=6.4.4,<9", optional = true}
[tool.poetry.extras]
cli = ["click", "pyyaml", "packaging", "pytest", "coverage"]
test_tools = ["click", "pyyaml", "packaging", "pytest", "coverage"]
all = ["click", "pyyaml", "packaging", "pytest", "coverage"]
[tool.poetry.group.dev.dependencies]
setuptools = "==59.6.0"
# Used by plugins (cosmos, ethereum, fetchai) at runtime and by tests;
# kept here as a dev dep so `poetry install` provisions it for development.
requests = ">=2.32.5,<3"
aiohttp = ">=3.8.5,<4.0.0"
asn1crypto = ">=1.4.0,<1.5.0"
bech32 = ">=1.2.0,<2"
defusedxml = "==0.6.0"
docker = "==7.1.0"
ecdsa = ">=0.19.2,<0.20"
eth-account = ">=0.13.0,<0.14.0"
hypothesis = "==6.151.9"
liccheck = "==0.6.0"
memory-profiler = "==0.57.0"
numpy = ">=1.18.1"
openapi-core = "==0.22.0"
openapi-spec-validator = ">=0.7.0,<0.8.0"
pexpect = "==4.8.0"
protobuf = ">=5,<7"
psutil = ">=5.7.0,<6.0.0"
pycryptodome = ">=3.10.1,<4.0.0"
pytest-custom-exit-code = "==0.3.0"
GitPython = ">=3.1.47,<4.0.0"
idna = "<=3.3"
cosmpy = ">=0.11.0,<0.12"
web3 = ">=7.0.0,<8"
google-api-python-client = "<=2.60.0"
certifi = "<=2022.6.15.1"
mistune = "==2.0.3"
tomte = {version = "==0.7.0", extras = ["tox", "tests"]}
docspec = "==2.2.1"
docspec-python = "==2.2.1"
hexbytes = "==1.3.1"
ledgerwallet = "==0.1.3"
werkzeug = "*"
pytest-asyncio = "*"
multidict = "*"
typer = "==0.16.0"
[tool.poetry.scripts]
aea = "aea.cli:cli"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
markers = [
"integration: marks end-to-end tests which require the oef, soef, ledger or other network services",
"unstable: marks test as unstable (won't be run in CI)",
"ledger: marks tests which require ledger test networks (ethereum, cosmos, fetchai); these tests should also be marked 'integration'",
"flaky: marks tests which are flaky and worth re-running",
"sync: marks test for run in sync mode",
"profiling: marks profiler tests that must be run separately to avoid garbage collector interferences",
]
filterwarnings = [
"ignore:the imp module is deprecated in favour of importlib:DeprecationWarning",
"ignore:Call to deprecated create function FileDescriptor().",
"ignore:Call to deprecated create function Descriptor().",
"ignore:Call to deprecated create function FieldDescriptor().",
"ignore:Call to deprecated create function EnumValueDescriptor().",
"ignore:Call to deprecated create function EnumDescriptor().",
"ignore:The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file.",
"ignore:There is no current event loop",
"ignore::DeprecationWarning",
]
# isort config consumed by `aea generate-all-protocols` to format
# the regenerated protocol code. `aea/cli/generate_all_protocols.py`
# passes `--settings-path=pyproject.toml` so isort reads `[tool.isort]`
# from this file. Same content as the previously-shipped
# `setup.cfg [isort]`.
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
order_by_type = false
case_sensitive = true
lines_after_imports = -1
known_first_party = ["aea"]
known_packages = ["packages"]
known_local_folder = ["tests"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "PACKAGES", "LOCALFOLDER"]