Open markus-becker-tridonic-com opened 3 years ago
This package doesn't support python 3.8 at the moment.
We had issues with SSL api in newer pythons. It might be possible to isolate this dependency, but at the moment we're using 3.7 for everything.
@michallowasrzechonek-silvair Wanna document that dependency in the README?
What is the issue with the SSL API?
https://github.com/drbild/sslpsk doesn't work on older pythons, and we use that to run tests against bluez
https://github.com/drbild/sslpsk/pull/14#issuecomment-776700116 would likely solve it for Python 3.8
It does the trick for 3.7, but for 3.8 it's way more complicated unfortunately.
AFAIK, 3.8 uses a different IO API than 3.7, so ssl.wrap_socket
is no longer useful. I think they did that to better support SSL connections under an event loop (asyncio
). During SSL connection, it might be necessary to perform write operations when waiting for reading, and OpenSSL's pseudo-sockets were hiding that from the loop's reactor.
https://docs.python.org/3/library/ssl.html#ssl.wrap_socket
Also, see the section desribing the Memory BIO
When issuing
pip install bluetooth_mesh
version 0.1.29 is getting installed:When trying to deliberately install 0.7.2:
It seems Python 3.8.5 is not supported:
Any particular reason why?