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).
This commit is contained in:
Dominik 'Rathann' Mierzejewski
2025-01-06 23:10:29 +01:00
committed by Peter F. Patel-Schneider
parent 3de575b697
commit d95068c3f5

View File

@@ -76,12 +76,13 @@ setup(
"psutil (>= 5.4.3)", "psutil (>= 5.4.3)",
'dbus-python ; platform_system=="Linux"', 'dbus-python ; platform_system=="Linux"',
"PyGObject", "PyGObject",
"typing_extensions",
], ],
extras_require={ extras_require={
"report-descriptor": ["hid-parser"], "report-descriptor": ["hid-parser"],
"desktop-notifications": ["Notify (>= 0.7)"], "desktop-notifications": ["Notify (>= 0.7)"],
"git-commit": ["python-git-info"], "git-commit": ["python-git-info"],
"test": ["pytest", "pytest-mock", "pytest-cov", "typing_extensions"], "test": ["pytest", "pytest-mock", "pytest-cov"],
"dev": ["ruff"], "dev": ["ruff"],
}, },
package_dir={"": "lib"}, package_dir={"": "lib"},