Hi,

----- Le 4 Avr 16, à 12:18, Patrick Keroulas 
patrick.kerou...@savoirfairelinux.com a écrit :

> Hi,
> 
> I'm still trying to improve the ring-daemon Buildroot (BR) package before
> publishing.
> A package option can now select the mini python client.
> However, these scripts need Python3 and its gobject-introspection wrapper 
> (gi).
> The latest is not officially available in BR packages, so this involves
> additionnal effort for the contribution.
> 
> However, it works perfectly with Python2.7 which doesn't require gi for dbus.
> No way, we patch our own source in the BR package, so my question is: how 
> about
> replacing Python3 with Python2.7?

I do not know a lot in Python so feel free to correct me if necessary.

Python 3.0 has been released in 2008, but Python 2.7 will still be maintain for 
some years. In the end python 3 will be adopted.

Python 3 is not compatible with 2.x, at least not out of the box.
It could be possible to have a client compatible with both, at the expense of 
more dev/test and less maintainability.

So first solution would be to bring Python 2.7 compatibility to the ring python 
client.

Another solution would be to integrate the Python 3 module 
gobject-introspection wrapper (gi) in BR before submitting the ring-daemon 
package.

In my opinion it would be an error to downgrade what we already have to support 
only Python 2.7 and break the Python 3.0 compatibility

Alex


> 
> Thanks,
> 
> --
> Patrick Keroulas
> Consultant en logiciel libre,
> Savoir-faire Linux Inc.
> 
> 7275 Saint-Urbain, bureau 200
> Montréal, Québec H2R 2Y5
> tél: (514) 276-5468 ext. 167
> fax: (514) 276-5465
> _____________________
> 
> _______________________________________________
> Ring mailing list
> Ring@lists.savoirfairelinux.net
> https://lists.savoirfairelinux.net/mailman/listinfo/ring

-- 
Alexandre Lision 
Meneur de pratique mobile / Mobile practice leader 

Savoir-faire Linux 
Tel: (514).276.5468 #320 
ring:afae46a9a7359e9d2947e2acb8995ee58bdbfda3
_______________________________________________
Ring mailing list
Ring@lists.savoirfairelinux.net
https://lists.savoirfairelinux.net/mailman/listinfo/ring

Reply via email to