]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Don't install lgpio for Python >= 3.13
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 16:16:29 +0000 (09:16 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 16:16:29 +0000 (09:16 -0700)
setup.py

index b793194a77aaa833dedbf8ba698bf4b391e9b3a3..d24a53dfae63dd4558c94ccdeb3713ef7767c2ea 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ if os.path.exists("/proc/device-tree/compatible"):
     elif b"brcm,bcm2712" in compat:
         board_reqs = [
             "rpi_ws281x>=4.0.0",
     elif b"brcm,bcm2712" in compat:
         board_reqs = [
             "rpi_ws281x>=4.0.0",
-            "lgpio",
+            "lgpio;python_version<'3.11'",
             "Adafruit-Blinka-Raspberry-Pi5-Neopixel",
         ]
     # Pi 4 and Earlier
             "Adafruit-Blinka-Raspberry-Pi5-Neopixel",
         ]
     # Pi 4 and Earlier