Re: [OE-core] [PATCH v3 4/8] python-numpy: Add ptest

2020-11-28 Thread Tim Orling
On Fri, Nov 20, 2020 at 9:30 AM Khem Raj wrote: > Since 1.15, numpy have replaced nose with pytest testing framework > it additionally needs hypothesis and sortedcontainers modules > > Signed-off-by: Khem Raj > --- > meta/recipes-devtools/python-numpy/files/run-ptest | 5 + >

[OE-core] [PATCH 1/4] python3-hypothesis: move from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling A library for property-based testing * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling --- .../python/python3-hypothesis_5.41.3.bb| 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[OE-core] [PATCH 4/4] python3-hypothesis: upgrade 5.41.3 -> 5.41.4

2020-11-28 Thread Tim Orling
From: Tim Orling Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370").

[OE-core] [PATCH 0/3] Move numpy pytest rdeps from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling This series in intended to be applied on top of the previous series moving pytest to oe-core. Thanks to Khem Raj for reminding me of these additional necessary changes. This series: (1) moves additional required python recipes in order to enable ptest of python3-numpy (2)

[OE-core] [PATCH 3/4] maintainers.inc: add self for new python recipes

2020-11-28 Thread Tim Orling
From: Tim Orling * Add self as maintainer for: - python3-hypothesis - python3-sortedcontainers Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/maintainers.inc

[OE-core] [PATCH 2/4] python3-sortedcontainers: move from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling --- .../python/python3-sortedcontainers_2.3.0.bb | 9 +

Re: [OE-core] [PATCH v3 4/8] python-numpy: Add ptest

2020-11-28 Thread Khem Raj
On Sat, Nov 28, 2020 at 10:57 AM Tim Orling wrote: > > > > On Fri, Nov 20, 2020 at 9:30 AM Khem Raj wrote: >> >> Since 1.15, numpy have replaced nose with pytest testing framework >> it additionally needs hypothesis and sortedcontainers modules >> >> Signed-off-by: Khem Raj >> --- >>

[OE-core][PATCH v3] kernel-dummy: fix executing unexpected tasks

2020-11-28 Thread Andrej Valek
- correctly save files into sstate - fix: ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly Signed-off-by: Andrej Valek --- meta/recipes-kernel/linux/linux-dummy.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v5 2/5] python3-numpy: Add ptest

2020-11-28 Thread Khem Raj
Since 1.15, numpy have replaced nose with pytest testing framework it additionally needs hypothesis and sortedcontainers modules Signed-off-by: Khem Raj --- meta/recipes-devtools/python-numpy/files/run-ptest | 5 + meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb | 7

[OE-core] [PATCH v5 5/5] python3-numpy: Add python3-resource to ptest deps

2020-11-28 Thread Khem Raj
Fixes > import resource E ModuleNotFoundError: No module named 'resource' Signed-off-by: Khem Raj Cc: Tim Orling --- meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH v5 1/5] python3-numpy: Upgrade to 1.19.4

2020-11-28 Thread Khem Raj
Unify inc file into single recipe, py2 is gone Signed-off-by: Khem Raj --- meta/recipes-devtools/python-numpy/python3-numpy_1.19.3.bb | 3 --- .../{python-numpy.inc => python3-numpy_1.19.4.bb} | 6 -- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644

[OE-core] [PATCH v5 4/5] python3-numpy: Move ptest dependencies to PN-ptest package

2020-11-28 Thread Khem Raj
Signed-off-by: Khem Raj --- .../python-numpy/python3-numpy_1.19.4.bb | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb index

[OE-core] [PATCH v5 3/5] python3-numpy: Add ldd runtime dependency on ptest package

2020-11-28 Thread Khem Raj
Fixes E RuntimeError: command ['ldd'] cannot be run Signed-off-by: Khem Raj --- meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.19.4.bb

Re: [OE-core] [PATCH v3 4/8] python-numpy: Add ptest

2020-11-28 Thread Tim Orling
It’s just “import resource” It’s a sub-package of python3 itself https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3/python3-manifest.json#n1024 On Sat, Nov 28, 2020 at 1:03 PM Khem Raj wrote: > On Sat, Nov 28, 2020 at 10:57 AM Tim Orling wrote: > > > > >