-
Notifications
You must be signed in to change notification settings - Fork 589
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (58 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
61 lines (58 loc) · 2.45 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
[build-system]
requires = [
"setuptools",
"wheel",
# Need packaging >=25 so bdist_wheel understands cp14xt (nogil) ABI tags
"packaging>=25.0; python_version == '3.14'",
"mypy[mypyc]==1.19.0",
"types-pyyaml",
"types-requests",
"types-ujson",
# ckzg (installed with eth-account and eip712) is unable to build on Python3.10 or 3.14 for 64-bit Windows, and unable on 32-bit
# Windows entirely. We simply exclude them for Windows installs as it is too difficult to differentiate 32-bit vs 64-bit here.
# pydantic-core (installed with eth-account, eip712, and faster-eth-utils - which is installed with eth-event) is unable
# to build on Python3.14 on 32-bit Linux distros so we exclude it in that one specific case
"eip712==0.2.14; platform_system == 'MacOS' or (platform_system == 'Linux' and python_version != '3.14')",
"eth-account==0.13.7; platform_system == 'MacOS' or (platform_system == 'Linux' and python_version != '3.14')",
"eth-event==1.4.5; platform_system != 'Linux' or python_version != '3.14' or platform_machine != 'i686'",
"eth-keys==0.7.0",
"eth-typing==5.2.1",
"faster-eth-abi==5.2.20; platform_system != 'Linux' or python_version != '3.14' or platform_machine != 'i686'",
"faster-eth-utils==5.3.18; platform_system != 'Linux' or python_version != '3.14' or platform_machine != 'i686'",
"faster-hexbytes==1.3.3",
"hypothesis==6.27.3",
"prompt-toolkit==3.0.52",
"py-solc-ast==1.2.10",
"py-solc-x==1.1.1",
# vvm v0.2.1 pins packaging < v24, which breaks the release workflow on Python3.14t.
# NOTE: There is failure to resolve "packaging" on MacOS and Windows so we just skip those
"vvm==0.2.1; platform_system == 'Linux' and python_version != '3.14'",
"vyper==0.4.3; platform_system == 'Linux' and python_version != '3.14'",
"websockets==15.0.1",
"web3==7.15.0; platform_system == 'MacOS' or (platform_system == 'Linux' and python_version != '3.14')",
]
# Brownie configuration for Black.
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| env
| venv
)/
'''