Re: [OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-13 Thread richard . purdie
On Tue, 2019-08-13 at 08:35 -0700, Khem Raj wrote:
> On Tue, Aug 13, 2019 at 8:34 AM Michael Halstead
>  wrote:
> > 
> > On 8/13/19 2:54 AM, Alexander Kanavin wrote:
> > 
> > On Tue, 13 Aug 2019 at 10:34, Richard Purdie <
> > richard.pur...@linuxfoundation.org> wrote:
> > > 
> > > This doesn't build on opensuse 42.3:
> > > 
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/907
> > > 
> > > Its numpy-native and looks like it might be the old compiler :(
> > 
> > That version of opensuse went end-of-life about a month ago. We can
> > hold this off until the autobuilder is upgraded.
> > 
> > Alex
> > 
> > I'm ready to drop this worker at any time. opensuse-42.3 is still a
> > SANITY_TESTED_DISTRO. Is it fine to go ahead and remove this?
> > 
> 
> sure, also a patch to drop it from SANITY_TESTED_DISTRO before
> disconnecting it

Patch queued.

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-13 Thread Khem Raj
On Tue, Aug 13, 2019 at 8:34 AM Michael Halstead
 wrote:
>
>
> On 8/13/19 2:54 AM, Alexander Kanavin wrote:
>
> On Tue, 13 Aug 2019 at 10:34, Richard Purdie 
>  wrote:
>>
>>
>> This doesn't build on opensuse 42.3:
>>
>> https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/907
>>
>> Its numpy-native and looks like it might be the old compiler :(
>
>
> That version of opensuse went end-of-life about a month ago. We can hold this 
> off until the autobuilder is upgraded.
>
> Alex
>
> I'm ready to drop this worker at any time. opensuse-42.3 is still a 
> SANITY_TESTED_DISTRO. Is it fine to go ahead and remove this?
>

sure, also a patch to drop it from SANITY_TESTED_DISTRO before disconnecting it

> --
> Michael Halstead
> Linux Foundation / SysAdmin
>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-13 Thread Michael Halstead

On 8/13/19 2:54 AM, Alexander Kanavin wrote:
> On Tue, 13 Aug 2019 at 10:34, Richard Purdie
>  > wrote:
>
>
> This doesn't build on opensuse 42.3:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/907
>
> Its numpy-native and looks like it might be the old compiler :(
>
>
> That version of opensuse went end-of-life about a month ago. We can
> hold this off until the autobuilder is upgraded.
>
> Alex
I'm ready to drop this worker at any time. opensuse-42.3 is still a
SANITY_TESTED_DISTRO. Is it fine to go ahead and remove this?

-- 
Michael Halstead
Linux Foundation / SysAdmin

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-13 Thread Alexander Kanavin
On Tue, 13 Aug 2019 at 10:34, Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

>
> This doesn't build on opensuse 42.3:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/907
>
> Its numpy-native and looks like it might be the old compiler :(
>

That version of opensuse went end-of-life about a month ago. We can hold
this off until the autobuilder is upgraded.

Alex
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-13 Thread Richard Purdie
On Mon, 2019-08-12 at 15:49 +0200, Alexander Kanavin wrote:
> Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-
> default-.patch
> 
> License-Update: clarified license for
> numpy/core/src/multiarray/dragon4.c (it is MIT)
> Signed-off-by: Alexander Kanavin 
> ---
>  ...-and-so-on-for-libraries-by-default-.patch | 47 -
> --
>  ...up.py-remove-the-detection-of-x86-ta.patch | 32 +
>  .../python-numpy/python-numpy.inc |  9 ++--
>  ...umpy_1.16.3.bb => python3-numpy_1.17.0.bb} |  0
>  4 files changed, 57 insertions(+), 31 deletions(-)
>  create mode 100644 meta/recipes-devtools/python-numpy/files/0001-
> numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
>  rename meta/recipes-devtools/python-numpy/{python3-numpy_1.16.3.bb
> => python3-numpy_1.17.0.bb} (100%)

This doesn't build on opensuse 42.3:

https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/907

Its numpy-native and looks like it might be the old compiler :(

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/4] python3-numpy: update to 1.17.0

2019-08-12 Thread Alexander Kanavin
Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch

License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it 
is MIT)
Signed-off-by: Alexander Kanavin 
---
 ...-and-so-on-for-libraries-by-default-.patch | 47 ---
 ...up.py-remove-the-detection-of-x86-ta.patch | 32 +
 .../python-numpy/python-numpy.inc |  9 ++--
 ...umpy_1.16.3.bb => python3-numpy_1.17.0.bb} |  0
 4 files changed, 57 insertions(+), 31 deletions(-)
 create mode 100644 
meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
 rename meta/recipes-devtools/python-numpy/{python3-numpy_1.16.3.bb => 
python3-numpy_1.17.0.bb} (100%)

diff --git 
a/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
 
b/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
index 8fe0d1a27ee..98a97058312 100644
--- 
a/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
+++ 
b/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
@@ -1,4 +1,4 @@
-From c14554c7e2fff8dd559dfb41e7dd11392c6f85e3 Mon Sep 17 00:00:00 2001
+From 672a75c8417ce08db9e31fc415ec445479231d5a Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Thu, 10 Dec 2015 13:20:30 +0200
 Subject: [PATCH] Don't search /usr and so on for libraries by default to
@@ -10,14 +10,14 @@ Signed-off-by: Ross Burton 
 Signed-off-by: Alexander Kanavin 
 
 ---
- numpy/distutils/system_info.py | 50 --
- 1 file changed, 6 insertions(+), 44 deletions(-)
+ numpy/distutils/system_info.py | 42 --
+ 1 file changed, 5 insertions(+), 37 deletions(-)
 
 diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
-index 2424943..bf56a6d 100644
+index ba2b1f4..f94dce1 100644
 --- a/numpy/distutils/system_info.py
 +++ b/numpy/distutils/system_info.py
-@@ -274,51 +274,13 @@ if sys.platform == 'win32':
+@@ -278,45 +278,13 @@ if sys.platform == 'win32':
  add_system_root(os.path.join(conda_dir, 'Library'))
  
  else:
@@ -45,31 +45,24 @@ index 2424943..bf56a6d 100644
 -default_x11_include_dirs.extend(['/usr/lib/X11/include',
 - '/usr/include/X11'])
 -
--import subprocess as sp
--tmp = None
--try:
--# Explicitly open/close file to avoid ResourceWarning when
--# tests are run in debug mode Python 3.
--tmp = open(os.devnull, 'w')
--p = sp.Popen(["gcc", "-print-multiarch"], stdout=sp.PIPE,
-- stderr=tmp)
--except (OSError, DistutilsError):
--# OSError if gcc is not installed, or SandboxViolation (DistutilsError
--# subclass) if an old setuptools bug is triggered (see gh-3160).
--pass
--else:
--triplet = str(p.communicate()[0].decode().strip())
--if p.returncode == 0:
--# gcc supports the "-print-multiarch" option
--default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
--default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
--finally:
--if tmp is not None:
--tmp.close()
+-with open(os.devnull, 'w') as tmp:
+-try:
+-p = subprocess.Popen(["gcc", "-print-multiarch"], 
stdout=subprocess.PIPE,
+- stderr=tmp)
+-except (OSError, DistutilsError):
+-# OSError if gcc is not installed, or SandboxViolation 
(DistutilsError
+-# subclass) if an old setuptools bug is triggered (see gh-3160).
+-pass
+-else:
+-triplet = str(p.communicate()[0].decode().strip())
+-if p.returncode == 0:
+-# gcc supports the "-print-multiarch" option
+-default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
+-default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
 +default_lib_dirs = libpaths(['/deadir/lib'], platform_bits)
 +default_include_dirs = ['/deaddir/include']
 +default_src_dirs = ['.', '/deaddir/src']
-+
+ 
 +default_x11_lib_dirs = libpaths(['/deaddir/lib'], platform_bits)
 +default_x11_include_dirs = ['/deaddir/include']
  
diff --git 
a/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
 
b/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
new file mode 100644
index 000..ebb2a6f9df1
--- /dev/null
+++ 
b/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
@@ -0,0 +1,32 @@
+From b881e0b2ba9cf1a4aa351a1c1ea90b1e1776ce21 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Mon, 12 Aug 2019 15:37:36 +0200
+Subject: [PATCH]