Skip to content

Commit 19ef456

Browse files
Merge pull request #586 from JesseEmond/fix-python-3.9
Support Python 3.9 (Fix #558)
2 parents 2bc2aca + c3f0699 commit 19ef456

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/terminaltest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
python-version: [3.7, 3.8]
10+
python-version: [3.7, 3.8, 3.9]
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tests2.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8-
python-version: ['3.7', '3.8']
8+
python-version: ['3.7', '3.8', '3.9']
99
os: [ubuntu-latest, windows-latest] #macos-latest,
1010
runs-on: ${{ matrix.os }}
1111
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}

ciphey/iface/_modules.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,10 @@ def __repr__(self):
205205
return f"<DecoderComparer {self.value}:{self.value.priority()}>"
206206

207207

208-
class CrackResult(NamedTuple, Generic[T]):
209-
value: T
208+
class CrackResult(NamedTuple):
209+
# TODO consider using Generic[T] again for value's type once
210+
# https://bugs.python.org/issue36517 is resolved
211+
value: Any
210212
key_info: Optional[str] = None
211213
misc_info: Optional[str] = None
212214

0 commit comments

Comments
 (0)