mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-24 00:18:26 +00:00
chore(python): drop source support for Python 3.6 and 3.7
This commit is contained in:
parent
fd7b94a6e9
commit
185cf04063
@ -4,7 +4,7 @@
|
||||
"tools",
|
||||
"helper-scripts"
|
||||
],
|
||||
"pythonVersion": "3.6",
|
||||
"pythonVersion": "3.8",
|
||||
"typeCheckingMode": "basic",
|
||||
"reportMissingImports": false,
|
||||
"reportUntypedFunctionDecorator": true,
|
||||
|
@ -20,7 +20,7 @@
|
||||
# python3 pybridge.py
|
||||
# 7. Start Suite again, or use any other Trezor-compatible software.
|
||||
# 8. Output of pybridge goes to console and also to file `pybridge.log`
|
||||
from __future__ import annotations # type: ignore [unknown import symbol]
|
||||
from __future__ import annotations
|
||||
|
||||
from gevent import monkey
|
||||
|
||||
|
@ -86,7 +86,7 @@ def get_address() -> str:
|
||||
args = """
|
||||
trezorctl --script get-address -n "m/49h/0h/0h/0/0"
|
||||
""".strip()
|
||||
p = subprocess.Popen( # type: ignore [No overloads for "__new__" match the provided arguments]
|
||||
p = subprocess.Popen(
|
||||
args,
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
|
@ -7,9 +7,9 @@
|
||||
|
||||
[tox]
|
||||
envlist =
|
||||
py{36,37,38,39,310,311}-{minimal,default,full}
|
||||
py{36,37,38,39,310,311}-click{7,80}
|
||||
py{37,38,39,310,311}-click81
|
||||
py{38,39,310,311}-{minimal,default,full}
|
||||
py{38,39,310,311}-click{7,80}
|
||||
py{38,39,310,311}-click81
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
@ -28,7 +28,7 @@ commands =
|
||||
# Run test suite
|
||||
!minimal: pytest --random-order tests
|
||||
|
||||
[testenv:py{36,37,38,39,310,311}-click{7,80,81}]
|
||||
[testenv:py{38,39,310,311}-click{7,80,81}]
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
click7: click>=7,<8
|
||||
|
Loading…
Reference in New Issue
Block a user