linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Deprecated Python Libraries
@ 2021-09-17  7:03 Barry Byford
  2021-09-17  8:04 ` Marijn Suijten
  2021-09-21  3:48 ` Tedd Ho-Jeong An
  0 siblings, 2 replies; 4+ messages in thread
From: Barry Byford @ 2021-09-17  7:03 UTC (permalink / raw)
  To: Bluez mailing list

The Python examples in the test directory have some dependencies that
have issues:

optparse
According to the documentation this has now been deprecated

https://docs.python.org/3/library/optparse.html#:~:text=Deprecated%20since%20version%203.2

dbus-python
This has some known issues according to the documentation

https://dbus.freedesktop.org/doc/dbus-python/#:~:text=Alternative%20ways%20to%20get%20your%20Python%20code%20onto%20D-Bus

The above documentation has recommendations of switching to
import argparse
from gi.repository import Gio

Both of these should already be on systems because argparse is built
in to Python and gi.repository is used for GLib elsewhere in the
examples.
Would there be any interest in getting patches to change to these
different libraries?
Are these test scripts used in any of the automated tests?
Can I submit a PR via https://github.com/bluez/bluez/pulls?

Thanks,
Barry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-21  3:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17  7:03 Deprecated Python Libraries Barry Byford
2021-09-17  8:04 ` Marijn Suijten
2021-09-19 13:45   ` Barry Byford
2021-09-21  3:48 ` Tedd Ho-Jeong An

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).