Re: Deprecated Python Libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Barry,

On Fri, 2021-09-17 at 08:03 +0100, Barry Byford wrote:
> 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?

If you have a patch, please submit it via mailing list instead of github.
Github is for other purpose and not ready to accept the patches/PR at this point.

> 
> Thanks,
> Barry

Regards,
Tedd Ho-Jeong An





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux