Skip to content

Commit

Permalink
Bump version to 2.9.1 (Fix Python 3.8 compatibility again) (#341)
Browse files Browse the repository at this point in the history
* Fix Python3.8 compatibility

* Bump version to v2.9.1
  • Loading branch information
DavidoTek authored Jan 1, 2024
1 parent 4658653 commit a654563
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@"

Expand Down
2 changes: 1 addition & 1 deletion pupgui2/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions pupgui2/pupgui2exceptionhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a654563

Please sign in to comment.