From fc0d2c5268a74fa4e195a6058488f13410678f42 Mon Sep 17 00:00:00 2001 From: luk1337 Date: Fri, 24 Nov 2023 01:27:36 +0100 Subject: [PATCH] Use PySide6 for non-windows + python >= 3.12 (#645) PySide2 is dead and won't support Python 3.12 or newer. --- requirements_gui.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements_gui.txt b/requirements_gui.txt index ba12db7..504ace2 100644 --- a/requirements_gui.txt +++ b/requirements_gui.txt @@ -1,3 +1,3 @@ -pyside2>=5.11.0; sys_platform != 'darwin' -pyside6; sys_platform == 'darwin' +pyside2>=5.11.0; sys_platform != 'darwin' and (sys_platform == 'win32' or python_version < '3.12') +pyside6; sys_platform == 'darwin' or (sys_platform != 'win32' and python_version >= '3.12') requests>=2.20.0; sys_platform == 'darwin'