From d95068c3f5376e37ec8df36c3a460f1698e7855e Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Mon, 6 Jan 2025 23:10:29 +0100 Subject: [PATCH] make typing-extensions dependency mandatory It's imported unconditionally in: lib/solaar/ui/about/presenter.py:19 lib/logitech_receiver/hidpp10.py:22 lib/logitech_receiver/hidpp20.py:35 Fixes 469c04f (committed as part of #2428). --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9a8ed4ef1a..5e0ec19650 100755 --- a/setup.py +++ b/setup.py @@ -76,12 +76,13 @@ def _data_files(): "psutil (>= 5.4.3)", 'dbus-python ; platform_system=="Linux"', "PyGObject", + "typing_extensions", ], extras_require={ "report-descriptor": ["hid-parser"], "desktop-notifications": ["Notify (>= 0.7)"], "git-commit": ["python-git-info"], - "test": ["pytest", "pytest-mock", "pytest-cov", "typing_extensions"], + "test": ["pytest", "pytest-mock", "pytest-cov"], "dev": ["ruff"], }, package_dir={"": "lib"},