diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7f730c2..294e20be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + # 3.10: currently used by Seedsigner + # 3.12: latest stable Python as upper test bound + python-version: ["3.10", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/requirements.txt b/requirements.txt index 0b7f07a8..89a1a589 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ embit==0.8.0 -Pillow==9.4.0 +Pillow==10.0.1 pyzbar @ git+https://github.com/seedsigner/pyzbar.git@c3c237821c6a20b17953efe59b90df0b514a1c03 qrcode==7.3.1 urtypes @ git+https://github.com/selfcustody/urtypes.git@7fb280eab3b3563dfc57d2733b0bf5cbc0a96a6a diff --git a/src/seedsigner/views/view.py b/src/seedsigner/views/view.py index a5c4800c..a7c83d49 100644 --- a/src/seedsigner/views/view.py +++ b/src/seedsigner/views/view.py @@ -1,4 +1,4 @@ -from dataclasses import dataclass +from dataclasses import dataclass, field from typing import Type from seedsigner.gui.components import FontAwesomeIconConstants, SeedSignerIconConstants @@ -313,7 +313,7 @@ class ErrorView(View): status_headline: str = None text: str = None button_text: str = None - next_destination: Destination = Destination(MainMenuView, clear_history=True) + next_destination: Destination = field(default_factory=lambda: Destination(MainMenuView, clear_history=True)) def run(self):