Openembedded Core Discussions
 help / color / mirror / Atom feed
* python3 dbus
@ 2015-12-02 15:26 Chris Trobridge
  2015-12-02 15:39 ` Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Trobridge @ 2015-12-02 15:26 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]

Hi,

I have a dbus-based service written in python3 that I want run on a Yocto system.

I can run python3 and have patched a few python module recipes to python3 but the big outstanding issue is dbus, and gi.repository.GObject in particular.

I can see various discussions about keeping this up to date on python2 (meta-gir).

I would like some advice on whether I would be better off back-porting the python3 service to 2.7 (which would be disappointing but not a major undertaking) or whether it would be reasonable to modify the existing python 2.7 dbus/gobject  recipes to python3.

I am tending to back-porting to 2.7 but I am not 100% confident that dbus/gobject works with either version of python in Yocto?

All opinions welcome!

Regards,
Chris

Ultra Electronics AEP is a trading name of Ultra Electronics Ltd. This email and any attachments to it are confidential to the intended recipient and may also be privileged. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. Ultra Electronics Ltd is a company registered in England and Wales, registration number 02830644. The Registered office address is 417 Bridport Road, Greenford, Middlesex, UB6 8UA.
--------------------------------------------------------------------------------------
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.com 
---------------------------------------------------------------------------------------

[-- Attachment #2: Type: text/html, Size: 3203 bytes --]

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

* Re: python3 dbus
  2015-12-02 15:26 python3 dbus Chris Trobridge
@ 2015-12-02 15:39 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2015-12-02 15:39 UTC (permalink / raw)
  To: openembedded-core

On 12/02/2015 05:26 PM, Chris Trobridge wrote:

> I have a dbus-based service written in python3 that I want run on a
> Yocto system.
>
> I can run python3 and have patched a few python module recipes to
> python3 but the big outstanding issue is dbus, and gi.repository.GObject
> in particular.
>
> I can see various discussions about keeping this up to date on python2
> (meta-gir).
>
> I would like some advice on whether I would be better off back-porting
> the python3 service to 2.7 (which would be disappointing but not a major
> undertaking) or whether it would be reasonable to modify the existing
> python 2.7 dbus/gobject  recipes to python3.
>
> I am tending to back-porting to 2.7 but I am not 100% confident that
> dbus/gobject works with either version of python in Yocto?

Work to integrate gobject introspection directly to oe-core is ongoing 
and we aim to have it in 2.1 release. You can find the current patches here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/gobject-introspection-experimental

The introduction is here:
http://lists.openembedded.org/pipermail/openembedded-core/2015-November/113390.html

Do give it a try.

Alex


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

end of thread, other threads:[~2015-12-02 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-02 15:26 python3 dbus Chris Trobridge
2015-12-02 15:39 ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox