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

PyBluez is not up to date with python 3.10. #38730

Closed
ysftaha opened this issue Aug 17, 2022 · 1 comment
Closed

PyBluez is not up to date with python 3.10. #38730

ysftaha opened this issue Aug 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ysftaha
Copy link

ysftaha commented Aug 17, 2022

Is this a new report?

Yes

System Info

Void 5.18.17_1 x86_64 GenuineIntel uptodate rrFFFFF

Package(s) Affected

python3-bluez-0.23_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

importing bluetooth module in a python3.10 script works.

Actual behaviour

$ /bin/cat foo.py
#!/bin/python3
import bluetooth
$ /bin/python3 foo.py
Traceback (most recent call last):
  File "/home/u/tmp/Bluetooth_Headset_Battery_Level/test.py", line 2, in <module>
    import bluetooth
ModuleNotFoundError: No module named 'bluetooth'
$

Steps to reproduce

NOTE: similar issue closed in 2019 #1509

  1. download the latest python3-bluez
  2. import bluetooth in a python script
  3. run script

P.S. pybluez lives in /usr/lib/python3.9/site-packages/PyBluez-0.23-py3.9.egg-info (notice the 3.9 not 3.10 yet)

@ysftaha ysftaha added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Aug 17, 2022
@icp1994
Copy link
Contributor

icp1994 commented Aug 17, 2022

python3-bluez was removed. There was a PR for restoring it and a relevant ongoing discussion.

@classabbyamp classabbyamp removed the needs-testing Testing a PR or reproducing an issue needed label Aug 17, 2022
@ysftaha ysftaha closed this as completed Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants