You are not logged in.

#1 2021-04-16 11:29:05

skeve
Member
Registered: 2021-02-24
Posts: 4

Missing socket.AF_BLUETOOTH in Python 3.9.3

After upgrading python today (3.9.2-1 -> 3.9.3-1) apps depending on socket.AF_BLUETOOTH stopped working with the error message

ImportError: cannot import name 'AF_BLUETOOTH' from 'socket' (/usr/lib/python3.9/socket.py)

Downgrading to 3.9.2 solves that problem

Offline

#2 2021-04-16 11:54:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: Missing socket.AF_BLUETOOTH in Python 3.9.3

There was an apparent ABI break: https://www.python.org/downloads/release/python-394/ so should be fixed when the package gets updated.

Offline

#3 2021-04-16 12:45:31

skeve
Member
Registered: 2021-02-24
Posts: 4

Re: Missing socket.AF_BLUETOOTH in Python 3.9.3

thanks for the info. will wait till python gets the next upgrade

Offline

Board footer

Powered by FluxBB