2020-08-08 16:24:22 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "trezor-firmware"
|
|
|
|
version = "0.0.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["SatoshiLabs <info@satoshilabs.com>"]
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
# all
|
2020-09-23 14:30:28 +00:00
|
|
|
python = "^3.6"
|
2020-08-08 16:24:22 +00:00
|
|
|
trezor = {path = "./python"}
|
|
|
|
scons = "*"
|
|
|
|
protobuf = "*"
|
2020-08-08 18:29:46 +00:00
|
|
|
pyblake2 = "*"
|
2020-08-08 16:24:22 +00:00
|
|
|
Pyro4 = "*"
|
2020-10-02 10:16:28 +00:00
|
|
|
nanopb = "^0.4.3"
|
2020-08-08 16:24:22 +00:00
|
|
|
|
|
|
|
## test tools
|
2020-10-02 10:16:28 +00:00
|
|
|
pytest = "^6.1.0"
|
2020-08-08 16:24:22 +00:00
|
|
|
coverage = "<5" # coverage 5+ uses binary sqlite format
|
2020-10-02 10:16:28 +00:00
|
|
|
flaky = "^3.6.1" # https://github.com/box/flaky/issues/156
|
2020-08-08 16:24:22 +00:00
|
|
|
pytest-ordering = "*"
|
|
|
|
pytest-random-order = "*"
|
|
|
|
pytest-timeout = "*"
|
|
|
|
tox = "*"
|
|
|
|
dominate = "*"
|
|
|
|
|
|
|
|
# hardware tests
|
|
|
|
pyserial = "*"
|
|
|
|
|
|
|
|
## test requirements
|
|
|
|
shamir-mnemonic = "*"
|
2020-10-02 10:16:28 +00:00
|
|
|
fido2 = "^0.8.0"
|
2020-08-08 16:24:22 +00:00
|
|
|
|
|
|
|
## typing
|
2020-10-02 10:16:28 +00:00
|
|
|
mypy = ">=0.782"
|
2020-08-08 16:24:22 +00:00
|
|
|
typing-extensions = ">=3.7.4"
|
|
|
|
|
|
|
|
## style
|
|
|
|
isort = "<5" # 5 changes lots of stuff that need to be addressed first: https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/
|
|
|
|
flake8 = ">=3.7.0"
|
2020-10-02 10:16:28 +00:00
|
|
|
black = ">=20.8b0"
|
|
|
|
mako = "^1.0.7"
|
|
|
|
munch = "^2.3.2"
|
2020-08-08 16:24:22 +00:00
|
|
|
autoflake = "*"
|
2020-10-02 10:16:28 +00:00
|
|
|
flake8-requirements = ">=1.3.2"
|
2020-08-08 16:24:22 +00:00
|
|
|
|
|
|
|
# common
|
|
|
|
demjson = "*"
|
|
|
|
graphviz = "*"
|
|
|
|
|
|
|
|
## cointool
|
2020-10-02 10:16:28 +00:00
|
|
|
click = "^7"
|
|
|
|
ed25519 = "^1.4"
|
|
|
|
requests = "^2.19"
|
|
|
|
termcolor = "*"
|
|
|
|
Pillow = "*"
|
2020-08-08 16:24:22 +00:00
|
|
|
|
|
|
|
# crypto
|
2020-10-02 10:16:28 +00:00
|
|
|
ecdsa = "^0.16"
|
2020-08-08 16:24:22 +00:00
|
|
|
curve25519-donna = "*"
|
|
|
|
pyasn1 = "*"
|
|
|
|
|
|
|
|
# legacy
|
|
|
|
setuptools = ">=24.2.0"
|
|
|
|
|
|
|
|
# storage
|
|
|
|
cryptography = "*"
|
|
|
|
hypothesis = "*"
|
|
|
|
attrs = "*"
|
|
|
|
inotify = "*"
|
2020-11-09 17:52:34 +00:00
|
|
|
yamllint = "^1.25.0"
|
2020-08-08 16:24:22 +00:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
scan-build = "*"
|
|
|
|
|
|
|
|
[build-system]
|
2020-10-02 10:16:28 +00:00
|
|
|
requires = ["poetry>=1;<1.1", "pip>=20"]
|
2020-08-08 16:24:22 +00:00
|
|
|
build-backend = "poetry.masonry.api"
|