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