Open austwhite opened 2 years ago
Looks like we need someone to port BluePy to Python 3.10. There is not much I can do in btlewrap. Maybe you can use the bluez backend and the command line tools as a workaround?
related issues:
@ChristianKuehnel Another (than porting BluePy) direction would be to enhance btlewrap with the new backend (Bleak), right ? I was going to take a look if I can help with that. Bleak seems to be more future proof.
If I recall from the discussions on Home Assistant, BLueZ also has issues with Python 3.10. I don't really have the knowledge to test it unfrotunately
@ChristianKuehnel Another (than porting BluePy) direction would be to enhance btlewrap with the new backend (Bleak), right ? I was going to take a look if I can help with that. Bleak seems to be more future proof.
IF you are looking at that, that would work on issue https://github.com/ChristianKuehnel/btlewrap/issues/30 which seems to be a previous request to support Bleak
I use Home Assistant, which I believe uses this wrapper for Mi Flora integration. They have moved to Python 3.10 and unfortunately BluePy is no longer compatible. I don't have the knowledge to fix this myself, so I am just raising this as an issue to be investigated.