chore(python): drop source support for Python 3.6 and 3.7

pull/3532/head
matejcik 4 months ago committed by Jiří Musil
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…
Cancel
Save