From 508dae02b305157f4829c76bbbc6d9708ffc8c76 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Wed, 23 Sep 2026 16:57:48 +0000 Subject: [PATCH] Rely on pywebview[qt] for Qt6 on all Qt platforms Its qt extra already pins QtPy + PyQt6 + PyQt6-WebEngine; the explicit Darwin lines were redundant. Qt5 would only come from the unused qt5 extra. --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6744a9a..fd56f64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,12 +51,11 @@ parse-torrent-title = { git = "https://github.com/platelminto/parse-torrent-titl [project.optional-dependencies] gui = [ + # pywebview's qt extra is Qt6-only (QtPy + PyQt6 + PyQt6-WebEngine); + # Qt5 would come from its separate qt5 extra, which we do not use. "pywebview[qt]>=6.2.1; platform_system != 'Windows'", "pywebview>=6.2.1; platform_system == 'Windows'", "velopack>=1.2", - "qtpy>=2.4.1; platform_system == 'Darwin'", - # macOS Qt backend (bundled modern Chromium); PyQt6-WebEngine pulls PyQt6 - "PyQt6-WebEngine>=6.7.0; platform_system == 'Darwin'", "pythonnet>=3.1.0rc0; platform_system == 'Windows' and python_version >= '3.14'", "pyinstaller>=6.0", ]