Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BluePy no longer compatible with Python 3.10 #51

Open
austwhite opened this issue Jul 9, 2022 · 4 comments
Open

BluePy no longer compatible with Python 3.10 #51

austwhite opened this issue Jul 9, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@austwhite
Copy link

austwhite commented Jul 9, 2022

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.

@ChristianKuehnel
Copy link
Owner

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 ChristianKuehnel added the enhancement New feature or request label Jul 10, 2022
@sgurgul
Copy link

sgurgul commented Jul 10, 2022

@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.

@austwhite
Copy link
Author

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

@austwhite
Copy link
Author

@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 #30 which seems to be a previous request to support Bleak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants