* [PATCH] python-pygobject: use Python 2 instead of Python 3
@ 2016-03-22 20:55 Ross Burton
2016-03-23 13:30 ` Python 3 as oe-core default? Alexander Kanavin
0 siblings, 1 reply; 7+ messages in thread
From: Ross Burton @ 2016-03-22 20:55 UTC (permalink / raw)
To: openembedded-core
Ideally this would be an option but that means conditional inherits. For now
Python 2 is clearly the default Python in oe-core so switch to Python 2 instead
of 3.
This stops python3 being pulled inadvertently into builds, and appearing in
images that have ptest-pkgs installed (via dbus-test).
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-devtools/python/python-pygobject_3.18.2.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-devtools/python/python-pygobject_3.18.2.bb b/meta/recipes-devtools/python/python-pygobject_3.18.2.bb
index e61d75c..8fe1d63 100644
--- a/meta/recipes-devtools/python/python-pygobject_3.18.2.bb
+++ b/meta/recipes-devtools/python/python-pygobject_3.18.2.bb
@@ -3,9 +3,9 @@ SECTION = "devel/python"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection
+inherit autotools pkgconfig gnomebase distutils-base gobject-introspection
-DEPENDS += "python3 glib-2.0 gnome-common"
+DEPENDS += "python glib-2.0 gnome-common"
SRCNAME="pygobject"
SRC_URI = " \
@@ -20,6 +20,6 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
BBCLASSEXTEND = "native"
-EXTRA_OECONF = "--disable-cairo"
+EXTRA_OECONF = "--disable-cairo --with-python=python2.7"
-RDEPENDS_${PN} += "python3-setuptools"
+RDEPENDS_${PN} += "python-setuptools"
--
2.7.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Python 3 as oe-core default?
2016-03-22 20:55 [PATCH] python-pygobject: use Python 2 instead of Python 3 Ross Burton
@ 2016-03-23 13:30 ` Alexander Kanavin
2016-03-23 13:55 ` Otavio Salvador
2016-03-23 14:13 ` Richard Purdie
0 siblings, 2 replies; 7+ messages in thread
From: Alexander Kanavin @ 2016-03-23 13:30 UTC (permalink / raw)
To: openembedded-core
On 03/22/2016 10:55 PM, Ross Burton wrote:
> Ideally this would be an option but that means conditional inherits. For now
> Python 2 is clearly the default Python in oe-core so switch to Python 2 instead
> of 3.
Shall we start the work towards making 3 the default though?
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Python 3 as oe-core default?
2016-03-23 13:30 ` Python 3 as oe-core default? Alexander Kanavin
@ 2016-03-23 13:55 ` Otavio Salvador
2016-03-23 14:13 ` Richard Purdie
1 sibling, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2016-03-23 13:55 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: Patches and discussions about the oe-core layer
On Wed, Mar 23, 2016 at 10:30 AM, Alexander Kanavin
<alexander.kanavin@linux.intel.com> wrote:
> On 03/22/2016 10:55 PM, Ross Burton wrote:
>>
>> Ideally this would be an option but that means conditional inherits. For
>> now
>> Python 2 is clearly the default Python in oe-core so switch to Python 2
>> instead
>> of 3.
>
>
> Shall we start the work towards making 3 the default though?
2.2 material please.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Python 3 as oe-core default?
2016-03-23 13:30 ` Python 3 as oe-core default? Alexander Kanavin
2016-03-23 13:55 ` Otavio Salvador
@ 2016-03-23 14:13 ` Richard Purdie
2016-03-23 14:35 ` Burton, Ross
1 sibling, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2016-03-23 14:13 UTC (permalink / raw)
To: Alexander Kanavin, openembedded-core
On Wed, 2016-03-23 at 15:30 +0200, Alexander Kanavin wrote:
> On 03/22/2016 10:55 PM, Ross Burton wrote:
> > Ideally this would be an option but that means conditional
> > inherits. For now
> > Python 2 is clearly the default Python in oe-core so switch to
> > Python 2 instead
> > of 3.
>
> Shall we start the work towards making 3 the default though?
In 2.2, switching the bulk of things over to python 3 is one of the
things I'd like to see happen.
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Python 3 as oe-core default?
2016-03-23 14:13 ` Richard Purdie
@ 2016-03-23 14:35 ` Burton, Ross
2016-03-23 21:22 ` Richard Purdie
0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2016-03-23 14:35 UTC (permalink / raw)
To: Richard Purdie; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
On 23 March 2016 at 14:13, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
> In 2.2, switching the bulk of things over to python 3 is one of the
> things I'd like to see happen.
>
Including bitbake itself?
(obviously orthogonal, but still a good question)
Ross
[-- Attachment #2: Type: text/html, Size: 776 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Python 3 as oe-core default?
2016-03-23 14:35 ` Burton, Ross
@ 2016-03-23 21:22 ` Richard Purdie
2016-03-24 20:42 ` Dan McGregor
0 siblings, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2016-03-23 21:22 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Wed, 2016-03-23 at 14:35 +0000, Burton, Ross wrote:
>
> On 23 March 2016 at 14:13, Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
> > In 2.2, switching the bulk of things over to python 3 is one of the
> > things I'd like to see happen.
> >
> Including bitbake itself?
Yes!
Its about time we got this sorted out...
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Python 3 as oe-core default?
2016-03-23 21:22 ` Richard Purdie
@ 2016-03-24 20:42 ` Dan McGregor
0 siblings, 0 replies; 7+ messages in thread
From: Dan McGregor @ 2016-03-24 20:42 UTC (permalink / raw)
To: Richard Purdie; +Cc: OE-core
On 23 March 2016 at 15:22, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Wed, 2016-03-23 at 14:35 +0000, Burton, Ross wrote:
>>
>> On 23 March 2016 at 14:13, Richard Purdie <
>> richard.purdie@linuxfoundation.org> wrote:
>> > In 2.2, switching the bulk of things over to python 3 is one of the
>> > things I'd like to see happen.
>> >
>> Including bitbake itself?
>
> Yes!
>
> Its about time we got this sorted out...
>
Looking forward to that one...
> Cheers,
>
> Richard
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-03-24 20:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-22 20:55 [PATCH] python-pygobject: use Python 2 instead of Python 3 Ross Burton
2016-03-23 13:30 ` Python 3 as oe-core default? Alexander Kanavin
2016-03-23 13:55 ` Otavio Salvador
2016-03-23 14:13 ` Richard Purdie
2016-03-23 14:35 ` Burton, Ross
2016-03-23 21:22 ` Richard Purdie
2016-03-24 20:42 ` Dan McGregor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.