diff mbox series

[oe,meta-python,2/2] python3-lxml, python3-pandas, python3-protobuf: Set CLEANBROKEN

Message ID 20180708080640.39121-2-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-oe,1/2] kpatch: Mark it incompatible with musl | expand

Commit Message

Khem Raj July 8, 2018, 8:06 a.m. UTC
The distutils class got a clean via "setup.py clean", but these
recipes doesn't support this yet so disable clean target during
configure

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +
 meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +
 meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +
 3 files changed, 3 insertions(+)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Ross Burton July 9, 2018, 9:52 a.m. UTC | #1
The lxml failure can be fixed with a tweak to the class, so I'll run
the tweak through all of meta-python to see if it regresses anything
else.  Please hold this off until I report back.

Ross

On 8 July 2018 at 09:06, Khem Raj <raj.khem@gmail.com> wrote:
> The distutils class got a clean via "setup.py clean", but these

> recipes doesn't support this yet so disable clean target during

> configure

>

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +

>  meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +

>  meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +

>  3 files changed, 3 insertions(+)

>

> diff --git a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

> index ff4bc7faad..b95d7bae71 100644

> --- a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

> +++ b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

> @@ -1,2 +1,3 @@

>  inherit setuptools3

>  require python-lxml.inc

> +CLEANBROKEN = "1"

> diff --git a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

> index b5dd5e0924..c1e57189cf 100644

> --- a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

> +++ b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

> @@ -1,2 +1,3 @@

>  inherit setuptools3

>  require python-pandas.inc

> +CLEANBROKEN = "1"

> diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

> index 781d1dc4da..53d5528c4b 100644

> --- a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

> +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

> @@ -1,2 +1,3 @@

>  inherit setuptools3

>  require python-protobuf.inc

> +CLEANBROKEN = "1"

> --

> 2.18.0

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ross Burton July 9, 2018, 10:50 a.m. UTC | #2
I've just sent a patch for oe-core to improve how it calls clean,
which fixes lxml.

Pandas can be fixed by depending on cython, patch sent.

protobuf is broken, we still need the cleanbroken but I plan to do the
same for python2 so I've just sent a patch to add it to the inc file.

Ross

On 9 July 2018 at 10:52, Burton, Ross <ross.burton@intel.com> wrote:
> The lxml failure can be fixed with a tweak to the class, so I'll run

> the tweak through all of meta-python to see if it regresses anything

> else.  Please hold this off until I report back.

>

> Ross

>

> On 8 July 2018 at 09:06, Khem Raj <raj.khem@gmail.com> wrote:

>> The distutils class got a clean via "setup.py clean", but these

>> recipes doesn't support this yet so disable clean target during

>> configure

>>

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> ---

>>  meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +

>>  meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +

>>  meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +

>>  3 files changed, 3 insertions(+)

>>

>> diff --git a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

>> index ff4bc7faad..b95d7bae71 100644

>> --- a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

>> +++ b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb

>> @@ -1,2 +1,3 @@

>>  inherit setuptools3

>>  require python-lxml.inc

>> +CLEANBROKEN = "1"

>> diff --git a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

>> index b5dd5e0924..c1e57189cf 100644

>> --- a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

>> +++ b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb

>> @@ -1,2 +1,3 @@

>>  inherit setuptools3

>>  require python-pandas.inc

>> +CLEANBROKEN = "1"

>> diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

>> index 781d1dc4da..53d5528c4b 100644

>> --- a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

>> +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb

>> @@ -1,2 +1,3 @@

>>  inherit setuptools3

>>  require python-protobuf.inc

>> +CLEANBROKEN = "1"

>> --

>> 2.18.0

>>

>> --

>> _______________________________________________

>> Openembedded-devel mailing list

>> Openembedded-devel@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb
index ff4bc7faad..b95d7bae71 100644
--- a/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb
@@ -1,2 +1,3 @@ 
 inherit setuptools3
 require python-lxml.inc
+CLEANBROKEN = "1"
diff --git a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb
index b5dd5e0924..c1e57189cf 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb
@@ -1,2 +1,3 @@ 
 inherit setuptools3
 require python-pandas.inc
+CLEANBROKEN = "1"
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb
index 781d1dc4da..53d5528c4b 100644
--- a/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb
@@ -1,2 +1,3 @@ 
 inherit setuptools3
 require python-protobuf.inc
+CLEANBROKEN = "1"