Adafruit-BBIO Python 3.13 Support

Hi! Recently I was tasked on upgrading a BeagleBone Black’s Python version from 3.9 to 3.13. I followed the steps found in this page: https://cloudspinx.com/how-to-install-python-on-debian/. Then, when I tried installing the Adafruit-BBIO API using pip install, it fails. Here is the final message I get: ERROR: Failed building wheels for some pyproject.toml based projects. I am using the following BeagleBone Build: am335x-debian-11-7-2023-08-05-4gb-emmc-iot-flasher I installed the latest OS updates and upgrades and tried the following options:

  • Linked all pip options to pip3.13
    (sudo ln -sf $(which pip3.13) /usr/bin/pip
    sudo ln -sf $(which pip3.13) /usr/bin/pip3)

  • pip3.13 install --upgrade pip setuptools wheel

  • Installing Missing System Dependencies
    (sudo apt install build-essential python3.13-dev)

  • Installing from Binary Wheel instead
    pip3.13 install Adafruit_BBIO --prefer-binary

  • Ignore pyproject.toml
    (pip3.13 install Adafruit_BBIO --no-build-isolation)

I was able to install something simple like pip3.13 install requests
and when the BeagleBone was using Python 3.9 I was able to install the Adafruit BBIO API without any issues. I am just wondering if it is possible that Adafruit BBIO is not supported by Python 3.13 or I did the Python 3.13 installation incorrectly. Any help or suggestions are more than welcome!

Correct someone needs to take over maintainer-ship and upgrade BBIO for newer versions of Python.

Regards,

Hi Robert, I hope you are well! Thank you for your response, I truly appreciate it!

well so now im running debian12 on my beaglebone black, many googles later here i am, seams i cant get adafruit bbio to work with python3. tried installing from pip pip3 and compiling from github with no avail… has any one bin able to get this lib working on a fresh install deb12 bbb Rc ???

Nope the project is dead/abandoned someone needs to take it over…

Regards,

wishin i were smart right about now!!