From a6545635a2e2045214b04cc88a131b4c8054d4e1 Mon Sep 17 00:00:00 2001 From: DavidoTek <54072917+DavidoTek@users.noreply.github.com> Date: Mon, 1 Jan 2024 13:49:40 +0100 Subject: [PATCH] Bump version to 2.9.1 (Fix Python 3.8 compatibility again) (#341) * Fix Python3.8 compatibility * Bump version to v2.9.1 --- AppImageBuilder.yml | 2 +- pupgui2/constants.py | 2 +- pupgui2/pupgui2exceptionhandler.py | 4 ++-- setup.cfg | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index d49cdfc8..2f79f52e 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -22,7 +22,7 @@ AppDir: id: net.davidotek.pupgui2 name: ProtonUp-Qt icon: net.davidotek.pupgui2 - version: 2.9.0 + version: 2.9.1 exec: usr/bin/python3 exec_args: "-m pupgui2 $@" diff --git a/pupgui2/constants.py b/pupgui2/constants.py index a32a2f62..f3699d0b 100644 --- a/pupgui2/constants.py +++ b/pupgui2/constants.py @@ -6,7 +6,7 @@ APP_NAME = 'ProtonUp-Qt' -APP_VERSION = '2.9.0' +APP_VERSION = '2.9.1' APP_ID = 'net.davidotek.pupgui2' APP_THEMES = ( 'light', 'dark', 'system', None ) APP_ICON_FILE = os.path.join(xdg_config_home, 'pupgui/appicon256.png') diff --git a/pupgui2/pupgui2exceptionhandler.py b/pupgui2/pupgui2exceptionhandler.py index fda201bb..e4e81dd3 100644 --- a/pupgui2/pupgui2exceptionhandler.py +++ b/pupgui2/pupgui2exceptionhandler.py @@ -17,11 +17,11 @@ def __init__(self, parent): sys.excepthook = self._excepthook self.exception.connect(self._on_exception) - def _excepthook(self, exc_type: type[BaseException], exc_value: BaseException, exc_tb: TracebackType): + def _excepthook(self, exc_type: type, exc_value: BaseException, exc_tb: TracebackType): self.exception.emit(exc_type, exc_value, exc_tb) @Slot(type, BaseException, TracebackType) - def _on_exception(self, exc_type: type[BaseException], exc_value: BaseException, exc_tb: TracebackType): + def _on_exception(self, exc_type: type, exc_value: BaseException, exc_tb: TracebackType): message = "".join(traceback.format_exception(exc_type, exc_value, exc_tb)) self.logger.fatal(message) diff --git a/setup.cfg b/setup.cfg index 71906d78..71e6eb9c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ProtonUp-Qt -version = 2.9.0 +version = 2.9.1 description = Install Wine- and Proton-based compatibility tools long_description = file: README.md long_description_content_type = text/markdown