File python36.patch of Package solaar

--- a/lib/solaar/ui/tray.py	2024-05-11 14:00:00.000000000 +0200
+++ b/lib/solaar/ui/tray.py	2024-07-14 17:39:29.079687553 +0200
@@ -26,7 +26,7 @@
 from gi.repository import Gtk
 from gi.repository.Gdk import ScrollDirection
 
-import solaar.gtk as gtk
+from solaar import gtk as gtk
 
 from solaar import NAME
 from solaar.i18n import _
--- a/lib/solaar/ui/icons.py	2024-05-11 14:00:00.000000000 +0200
+++ b/lib/solaar/ui/icons.py	2024-07-14 17:45:24.458540577 +0200
@@ -19,7 +19,7 @@
 
 from gi.repository import Gtk
 
-import solaar.gtk as gtk
+from solaar import gtk as gtk
 
 logger = logging.getLogger(__name__)
 
--- a/lib/logitech_receiver/base.py	2024-05-11 17:35:41.000000000 +0200
+++ b/lib/logitech_receiver/base.py	2024-07-14 17:44:03.168034368 +0200
@@ -17,7 +17,6 @@
 # Base low-level functions used by the API proper.
 # Unlikely to be used directly unless you're expanding the API.
 
-from __future__ import annotations
 
 import logging
 import threading as _threading
@@ -77,7 +76,7 @@
             return _bt_device(product_id)
 
 
-def product_information(usb_id: int | str) -> dict:
+def product_information(usb_id) -> dict:
     if isinstance(usb_id, str):
         usb_id = int(usb_id, 16)
 
openSUSE Build Service is sponsored by