All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] Move python3-pytest to oe-core
@ 2020-11-28  4:24 Tim Orling
  2020-11-28  4:24 ` [PATCH 01/18] python3-atomicwrites: move from meta-python Tim Orling
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

We are increasingly needing pytest in oe-core, so it is time to move it
from meta-python.

This series first imports the recipes -- as-is -- from meta-python.
Second, the maintainers.inc is updated to add myself as maintainer for all
the new recipes.
Third, the two recipes that have stable updates are updated to their
latest releases.
Finally, a fix caught during ptest runs is added for RDEPENDS for
pytest.

This was built on 'nodistro' with only openembedded-core and tested on 
qemux86-64. All the new recipes that have ptests pass all tests.

The following changes since commit 6e3785a3f1f3cf68f5fe101cd6bebe91db165973:

  uninative: Don't use single sstate for pseudo-native (2020-11-24 15:53:04 +0000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib timo/add-pytest-to-oe-core
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=timo/add-pytest-to-oe-core

For convenience, the same series is also available at the Git repository
at:

 git://git.yoctoproject.org/poky-contrib timo/move-pytest-to-core
 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/move-pytest-to-core

Tim Orling (18):
  python3-atomicwrites: move from meta-python
  python3-attrs: move from meta-python
  python3-iniconfig: move from meta-python
  python3-more-itertools: move from meta-python
  python3-pathlib2: move from meta-python
  python3-toml: move from meta-python
  python3-py: move from meta-python
  python3-setuptools-scm: move from meta-python
  python3-packaging: move from meta-python
  python3-wcwidth: move from meta-python
  python3-zipp: move from meta-python
  python3-importlib-metadata: move from meta-python
  python3-pluggy: move from meta-python
  python3-pytest: move from meta-python
  maintainers.inc: add self for new pytest packages
  python3-more-itertools: upgrade 8.5.0 -> 8.6.0
  python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
  python3-pytest: RDEPENDS on python3-toml

 meta/conf/distro/include/maintainers.inc      | 14 +++++++
 .../python/python3-atomicwrites/run-ptest     |  3 ++
 .../python/python3-atomicwrites_1.4.0.bb      | 25 ++++++++++++
 .../python/python3-attrs_20.3.0.bb            | 20 ++++++++++
 .../python3-importlib-metadata_3.1.0.bb       | 18 +++++++++
 .../python/python3-iniconfig_1.1.1.bb         |  9 +++++
 .../python/python3-more-itertools/run-ptest   |  3 ++
 .../python/python3-more-itertools_8.6.0.bb    | 23 +++++++++++
 .../python/python3-packaging_20.4.bb          | 14 +++++++
 .../python/python3-pathlib2_2.3.5.bb          | 13 +++++++
 .../python/python3-pluggy/run-ptest           |  3 ++
 .../python/python3-pluggy_0.13.1.bb           | 27 +++++++++++++
 .../python/python3-py_1.9.0.bb                | 15 +++++++
 ...he-setup_requires-for-setuptools-scm.patch | 39 +++++++++++++++++++
 .../python/python3-pytest_6.1.2.bb            | 39 +++++++++++++++++++
 .../python/python3-setuptools-scm_4.1.2.bb    | 21 ++++++++++
 .../python/python3-toml_0.10.2.bb             | 15 +++++++
 .../python/python3-wcwidth/run-ptest          |  3 ++
 .../python/python3-wcwidth_0.2.5.bb           | 25 ++++++++++++
 .../python/python3-zipp_3.4.0.bb              | 19 +++++++++
 20 files changed, 348 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-atomicwrites/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-attrs_20.3.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-more-itertools/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-packaging_20.4.bb
 create mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb
 create mode 100644 meta/recipes-devtools/python/python3-pluggy/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-pluggy_0.13.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-py_1.9.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
 create mode 100644 meta/recipes-devtools/python/python3-pytest_6.1.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-wcwidth/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb
 create mode 100644 meta/recipes-devtools/python/python3-zipp_3.4.0.bb

-- 
2.25.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [PATCH 01/18] python3-atomicwrites: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 02/18] python3-attrs: " Tim Orling
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Powerful Python library for atomic file writes

* Part of the dependency chain for python3-pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-atomicwrites/run-ptest     |  3 +++
 .../python/python3-atomicwrites_1.4.0.bb      | 25 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-atomicwrites/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb

diff --git a/meta/recipes-devtools/python/python3-atomicwrites/run-ptest b/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
new file mode 100644
index 00000000000..b63c4de0d9a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb b/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb
new file mode 100644
index 00000000000..7edd41030fb
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Powerful Python library for atomic file writes"
+HOMEPAGE = "https://github.com/untitaker/python-atomicwrites"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91cc36cfafeefb7863673bcfcb1d4da4"
+
+SRC_URI[md5sum] = "b5cc15c8f9f180a48665f9aacf91d817"
+SRC_URI[sha256sum] = "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+	${PYTHON_PN}-unixadmin \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/tests
+	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+RDEPENDS_${PN} = "${PYTHON_PN}-misc"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 02/18] python3-attrs: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
  2020-11-28  4:24 ` [PATCH 01/18] python3-atomicwrites: move from meta-python Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 03/18] python3-iniconfig: " Tim Orling
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Classes Without Boilerplate

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-attrs_20.3.0.bb            | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-attrs_20.3.0.bb

diff --git a/meta/recipes-devtools/python/python3-attrs_20.3.0.bb b/meta/recipes-devtools/python/python3-attrs_20.3.0.bb
new file mode 100644
index 00000000000..55cfda71809
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs_20.3.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Classes Without Boilerplate"
+HOMEPAGE = "http://www.attrs.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff"
+
+SRC_URI[sha256sum] = "832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700"
+SRC_URI[md5sum] = "4fe38f89297b2b446d83190fce189f29"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-crypt \
+    ${PYTHON_PN}-ctypes \
+"
+RDEPENDS_${PN}_class-nativesdk += " \
+    ${PYTHON_PN}-crypt \
+    ${PYTHON_PN}-ctypes \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 03/18] python3-iniconfig: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
  2020-11-28  4:24 ` [PATCH 01/18] python3-atomicwrites: move from meta-python Tim Orling
  2020-11-28  4:24 ` [PATCH 02/18] python3-attrs: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 04/18] python3-more-itertools: " Tim Orling
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

A small and simple INI-file parser module

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb

diff --git a/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb b/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb
new file mode 100644
index 00000000000..af4291bbf46
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb
@@ -0,0 +1,9 @@
+SUMMARY = "A small and simple INI-file parser module"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[md5sum] = "0b7f3be87481211c183eae095bcea6f1"
+SRC_URI[sha256sum] = "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"
+
+inherit pypi setuptools3
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 04/18] python3-more-itertools: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (2 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 03/18] python3-iniconfig: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 05/18] python3-pathlib2: " Tim Orling
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

More routines for operating on iterables, beyond itertools

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-more-itertools/run-ptest   |  3 +++
 .../python/python3-more-itertools_8.5.0.bb    | 24 +++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-more-itertools/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb

diff --git a/meta/recipes-devtools/python/python3-more-itertools/run-ptest b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
new file mode 100644
index 00000000000..3385d68939d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb b/meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb
new file mode 100644
index 00000000000..e924b0f731f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "More routines for operating on iterables, beyond itertools"
+HOMEPAGE = "https://github.com/erikrose/more-itertools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
+
+SRC_URI[md5sum] = "2588b5a7042576b99574779582be9292"
+SRC_URI[sha256sum] = "6f83822ae94818eae2612063a5101a7311e68ae8002005b5e05f03fd74a86a20"
+
+inherit pypi setuptools3 ptest
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/tests
+	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 05/18] python3-pathlib2: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (3 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 04/18] python3-more-itertools: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 06/18] python3-toml: " Tim Orling
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Object-oriented filesystem paths

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-pathlib2_2.3.5.bb                | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb

diff --git a/meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb b/meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb
new file mode 100644
index 00000000000..a022701ad0f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Object-oriented filesystem paths"
+HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a"
+
+SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb"
+SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 06/18] python3-toml: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (4 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 05/18] python3-pathlib2: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 07/18] python3-py: " Tim Orling
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Python Library for Tom's Obvious, Minimimal Language

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-toml_0.10.2.bb                 | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb

diff --git a/meta/recipes-devtools/python/python3-toml_0.10.2.bb b/meta/recipes-devtools/python/python3-toml_0.10.2.bb
new file mode 100644
index 00000000000..b46eba6fd13
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-toml_0.10.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Python Library for Tom's Obvious, Minimal Language"
+HOMEPAGE = "https://github.com/uiri/toml"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0"
+
+SRC_URI[sha256sum] = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-misc \
+"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 07/18] python3-py: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (5 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 06/18] python3-toml: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 08/18] python3-setuptools-scm: " Tim Orling
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Library with cross-pythonpath, ini-parsing, io, code, log facilities

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 meta/recipes-devtools/python/python3-py_1.9.0.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-py_1.9.0.bb

diff --git a/meta/recipes-devtools/python/python3-py_1.9.0.bb b/meta/recipes-devtools/python/python3-py_1.9.0.bb
new file mode 100644
index 00000000000..794ec2a87e5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-py_1.9.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
+HOMEPAGE = "http://py.readthedocs.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[md5sum] = "b80db4e61eef724f49feb4d20b649e62"
+SRC_URI[sha256sum] = "9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-netclient"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 08/18] python3-setuptools-scm: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (6 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 07/18] python3-py: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 09/18] python3-packaging: " Tim Orling
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

The blessed package to manage your versions by scm tags

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-setuptools-scm_4.1.2.bb    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb

diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb
new file mode 100644
index 00000000000..4ebbac6b652
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb
@@ -0,0 +1,21 @@
+SUMMARY = "the blessed package to manage your versions by scm tags"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+
+SRC_URI[md5sum] = "e6c9fad17c90516d640868eb833d5150"
+SRC_URI[sha256sum] = "a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8"
+
+PYPI_PACKAGE = "setuptools_scm"
+inherit pypi setuptools3
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-py \
+    ${PYTHON_PN}-setuptools \
+"
+RDEPENDS_${PN}_class-native = "\
+    ${PYTHON_PN}-setuptools-native \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 09/18] python3-packaging: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (7 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 08/18] python3-setuptools-scm: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 10/18] python3-wcwidth: " Tim Orling
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Core utilities for Python packages

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-packaging_20.4.bb               | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-packaging_20.4.bb

diff --git a/meta/recipes-devtools/python/python3-packaging_20.4.bb b/meta/recipes-devtools/python/python3-packaging_20.4.bb
new file mode 100644
index 00000000000..c75707e69c7
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-packaging_20.4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Core utilities for Python packages"
+HOMEPAGE = "https://github.com/pypa/packaging"
+LICENSE = "Apache-2.0 & BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
+
+SRC_URI[md5sum] = "3208229da731c5d8e29d4d8941e75005"
+SRC_URI[sha256sum] = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 10/18] python3-wcwidth: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (8 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 09/18] python3-packaging: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 11/18] python3-zipp: " Tim Orling
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Library for bulding powerful interactive command lines in Python

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-wcwidth/run-ptest          |  3 +++
 .../python/python3-wcwidth_0.2.5.bb           | 25 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-wcwidth/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb

diff --git a/meta/recipes-devtools/python/python3-wcwidth/run-ptest b/meta/recipes-devtools/python/python3-wcwidth/run-ptest
new file mode 100644
index 00000000000..b63c4de0d9a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-wcwidth/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb b/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb
new file mode 100644
index 00000000000..bb4aae2e86b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+DESCRIPTION = "Measures the displayed width of unicode strings in a terminal"
+HOMEPAGE = "https://github.com/jquast/wcwidth"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
+
+SRC_URI[md5sum] = "a07a75f99d316e14838ac760c831ea37"
+SRC_URI[sha256sum] = "c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+        file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+       ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+      install -d ${D}${PTEST_PATH}/tests
+        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 11/18] python3-zipp: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (9 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 10/18] python3-wcwidth: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 12/18] python3-importlib-metadata: " Tim Orling
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Backport of pathlib-compatible object wrapper for zip files

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-zipp_3.4.0.bb              | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-zipp_3.4.0.bb

diff --git a/meta/recipes-devtools/python/python3-zipp_3.4.0.bb b/meta/recipes-devtools/python/python3-zipp_3.4.0.bb
new file mode 100644
index 00000000000..97523e8e7c8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-zipp_3.4.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE = "https://github.com/jaraco/zipp"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
+
+SRC_URI[md5sum] = "ae81f228995578b840d76d1b7d87fede"
+SRC_URI[sha256sum] = "ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+inherit pypi setuptools3
+
+DEPENDS += "${PYTHON_PN}-toml-native"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-compression \
+                   ${PYTHON_PN}-math \
+                   ${PYTHON_PN}-more-itertools"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 12/18] python3-importlib-metadata: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (10 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 11/18] python3-zipp: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 13/18] python3-pluggy: " Tim Orling
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Read metadata from Python packages

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-importlib-metadata_2.0.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
new file mode 100644
index 00000000000..325a41c22e1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Read metadata from Python packages"
+HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e"
+
+inherit pypi setuptools3
+
+SRC_URI = "https://files.pythonhosted.org/packages/56/1f/74c3e29389d34feea2d62ba3de1169efea2566eb22e9546d379756860525/importlib_metadata-2.0.0.tar.gz"
+S = "${WORKDIR}/importlib_metadata-${PV}"
+SRC_URI[md5sum] = "3dd91821c930a3c3633e99a7025aa9c2"
+SRC_URI[sha256sum] = "77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
+RDEPENDS_${PN}_append_class-target = " python3-misc"
+RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 13/18] python3-pluggy: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (11 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 12/18] python3-importlib-metadata: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 14/18] python3-pytest: " Tim Orling
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Plugin and hook calling mechanisms for python

* Part of the dependency chain for pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../python/python3-pluggy/run-ptest           |  3 +++
 .../python/python3-pluggy_0.13.1.bb           | 27 +++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pluggy/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-pluggy_0.13.1.bb

diff --git a/meta/recipes-devtools/python/python3-pluggy/run-ptest b/meta/recipes-devtools/python/python3-pluggy/run-ptest
new file mode 100644
index 00000000000..b63c4de0d9a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pluggy/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb b/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb
new file mode 100644
index 00000000000..d3e0365ca1d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pluggy_0.13.1.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Plugin and hook calling mechanisms for python"
+HOMEPAGE = "https://github.com/pytest-dev/pluggy"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
+
+SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
+SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
+                   ${PYTHON_PN}-more-itertools \
+"
+
+inherit pypi ptest setuptools3
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/testing
+	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
+}
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 14/18] python3-pytest: move from meta-python
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (12 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 13/18] python3-pluggy: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 15/18] maintainers.inc: add self for new pytest packages Tim Orling
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Simple powerful testing with python

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...he-setup_requires-for-setuptools-scm.patch | 39 +++++++++++++++++++
 .../python/python3-pytest_6.1.2.bb            | 38 ++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
 create mode 100644 meta/recipes-devtools/python/python3-pytest_6.1.2.bb

diff --git a/meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch b/meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
new file mode 100644
index 00000000000..8c5c17247e6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
@@ -0,0 +1,39 @@
+From ff784f4803ab33f5e3389e40d038d52d1e211843 Mon Sep 17 00:00:00 2001
+From: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
+Date: Wed, 28 Aug 2019 16:12:27 +0900
+Subject: [PATCH] [PATCH] setup.py: remove the setup_requires for
+ setuptools-scm
+
+The setup_requires argument forces the download of the egg file for setuptools-scm
+during the do_compile phase.  This download is incompatible with the typical fetch
+and mirror structure.  The only usage of scm is the generation of the _version.py
+file and in the release tarball it is already correctly created
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Derek Straka <derek@asterius.io>
+
+Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
+
+Rebase for pytest 6.1.0.
+
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
+---
+ setup.cfg | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index 60f6564..c4d1471 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -55,7 +55,6 @@ package_dir =
+ 	=src
+ setup_requires = 
+ 	setuptools>=40.0
+-	setuptools-scm
+ zip_safe = no
+ 
+ [options.entry_points]
+-- 
+2.17.1
+
diff --git a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
new file mode 100644
index 00000000000..6872da5cfac
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Simple powerful testing with python"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
+
+SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch "
+
+SRC_URI[sha256sum] = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e"
+
+inherit update-alternatives pypi setuptools3
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-attrs \
+    ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-doctest \
+    ${PYTHON_PN}-iniconfig \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-pluggy \
+    ${PYTHON_PN}-py \
+    ${PYTHON_PN}-setuptools \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-atomicwrites \
+    ${PYTHON_PN}-importlib-metadata \
+    ${PYTHON_PN}-pathlib2 \
+    ${PYTHON_PN}-wcwidth \
+    ${PYTHON_PN}-more-itertools \
+    ${PYTHON_PN}-packaging \
+"
+
+ALTERNATIVE_${PN} += "py.test pytest"
+
+NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
+ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
+
+ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
+ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 15/18] maintainers.inc: add self for new pytest packages
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (13 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 14/18] python3-pytest: " Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 16/18] python3-more-itertools: upgrade 8.5.0 -> 8.6.0 Tim Orling
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 meta/conf/distro/include/maintainers.inc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index ad5f4672c7a..f77965f8e0b 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -582,6 +582,8 @@ RECIPE_MAINTAINER_pn-pulseaudio-client-conf-sato = "Tanu Kaskinen <tanuk@iki.fi>
 RECIPE_MAINTAINER_pn-puzzles = "Anuj Mittal <anuj.mittal@intel.com>"
 RECIPE_MAINTAINER_pn-python3 = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-async = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-atomicwrites = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-attrs = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-cython = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-dbus = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-dbusmock = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
@@ -591,28 +593,40 @@ RECIPE_MAINTAINER_pn-python3-pycryptodomex = "Joshua Watt <JPEWhacker@gmail.com>
 RECIPE_MAINTAINER_pn-python3-extras = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-git = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-gitdb = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-importlib-metadata = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-iniconfig = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-iniparse = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-jinja2 = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-python3-libarchive-c = "Joshua Watt <JPEWhacker@gmail.com>"
 RECIPE_MAINTAINER_pn-python3-magic = "Joshua Watt <JPEWhacker@gmail.com>"
 RECIPE_MAINTAINER_pn-python3-mako = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-markupsafe = "Richard Purdie <richard.purdie@linuxfoundation.org>"
+RECIPE_MAINTAINER_pn-python3-more-itertools = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-nose = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-numpy = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-packaging = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-pathlib2 = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-pbr = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pip = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
+RECIPE_MAINTAINER_pn-python3-pluggy = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-py = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-pycairo = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pyelftools = "Joshua Watt <JPEWhacker@gmail.com>"
 RECIPE_MAINTAINER_pn-python3-pygments = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-pygobject = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-pyparsing = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-pytest = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-scons = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-scons-native = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-setuptools = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-setuptools-scm = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-python3-six = "Zang Ruochen <zangrc.fnst@cn.fujitsu.com>"
 RECIPE_MAINTAINER_pn-python3-smmap = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-subunit = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
 RECIPE_MAINTAINER_pn-python3-testtools = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
+RECIPE_MAINTAINER_pn-python3-toml = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-wcwidth = "Tim Orling <timothy.t.orling@linux.intel.com>"
+RECIPE_MAINTAINER_pn-python3-zipp = "Tim Orling <timothy.t.orling@linux.intel.com>"
 RECIPE_MAINTAINER_pn-qemu = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-qemu-helper-native = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-qemu-native = "Richard Purdie <richard.purdie@linuxfoundation.org>"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 16/18] python3-more-itertools: upgrade 8.5.0 -> 8.6.0
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (14 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 15/18] maintainers.inc: add self for new pytest packages Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 17/18] python3-importlib-metadata: upgrade 2.0.0 to 3.1.0 Tim Orling
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Upstream release notes:
"
* New itertools
  - all_unique (thanks to brianmaissy)
  - nth_product and nth_permutation (thanks to N8Brooks)

* Changes to existing itertools
  - chunked and sliced now accept a strict parameter (thanks to
    shlomif and jtwool)

* Other changes
  - Python 3.5 has reached its end of life and is no longer
    supported.
  - Python 3.9 is officially supported.
  - Various documentation fixes (thanks to timgates42)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...-itertools_8.5.0.bb => python3-more-itertools_8.6.0.bb} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-more-itertools_8.5.0.bb => python3-more-itertools_8.6.0.bb} (77%)

diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb b/meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
similarity index 77%
rename from meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb
rename to meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
index e924b0f731f..ee5ce7ba9cc 100644
--- a/meta/recipes-devtools/python/python3-more-itertools_8.5.0.bb
+++ b/meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
@@ -3,13 +3,10 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
 
-SRC_URI[md5sum] = "2588b5a7042576b99574779582be9292"
-SRC_URI[sha256sum] = "6f83822ae94818eae2612063a5101a7311e68ae8002005b5e05f03fd74a86a20"
+SRC_URI[sha256sum] = "b3a9005928e5bed54076e6e549c792b306fddfe72b2d1d22dd63d42d5d3899cf"
 
 inherit pypi setuptools3 ptest
 
-BBCLASSEXTEND = "native nativesdk"
-
 SRC_URI += " \
 	file://run-ptest \
 "
@@ -22,3 +19,5 @@ do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/tests
 	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
 }
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 17/18] python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (15 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 16/18] python3-more-itertools: upgrade 8.5.0 -> 8.6.0 Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  4:24 ` [PATCH 18/18] python3-pytest: RDEPENDS on python3-toml Tim Orling
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

Upstream release notes:
"
v3.1.0

  Merge with 2.1.0.

v2.1.0

  #253: When querying for package metadata, the lookup now honors
  package normalization rules.

v3.0.0

  Require Python 3.6 or later.
"

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...etadata_2.0.0.bb => python3-importlib-metadata_3.1.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-importlib-metadata_2.0.0.bb => python3-importlib-metadata_3.1.0.bb} (64%)

diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
similarity index 64%
rename from meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
rename to meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
index 325a41c22e1..d89621bedd6 100644
--- a/meta/recipes-devtools/python/python3-importlib-metadata_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e"
 
 inherit pypi setuptools3
 
-SRC_URI = "https://files.pythonhosted.org/packages/56/1f/74c3e29389d34feea2d62ba3de1169efea2566eb22e9546d379756860525/importlib_metadata-2.0.0.tar.gz"
+SRC_URI = "https://files.pythonhosted.org/packages/7d/d4/dbc58eed92be61bae65a7d80a7604d35bf6ded3e3c53c14f2d45b4a28831/importlib_metadata-3.1.0.tar.gz"
+SRC_URI[sha256sum] = "d9b8a46a0885337627a6430db287176970fff18ad421becec1d64cfc763c2099"
+
 S = "${WORKDIR}/importlib_metadata-${PV}"
-SRC_URI[md5sum] = "3dd91821c930a3c3633e99a7025aa9c2"
-SRC_URI[sha256sum] = "77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [PATCH 18/18] python3-pytest: RDEPENDS on python3-toml
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (16 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 17/18] python3-importlib-metadata: upgrade 2.0.0 to 3.1.0 Tim Orling
@ 2020-11-28  4:24 ` Tim Orling
  2020-11-28  7:31 ` [OE-core] [PATCH 00/18] Move python3-pytest to oe-core Khem Raj
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Tim Orling @ 2020-11-28  4:24 UTC (permalink / raw)
  To: openembedded-core

From: Tim Orling <timothy.t.orling@linux.intel.com>

The generated requires.txt in pytest-*-py3.9.egg-info shows the
requirement.

Caught during ptest of python3-wcwidth:

Signed-off-byROR collecting tests/test_core.py ______________________
tests/test_core.py:4: in <module>
    import pkg_resources
../../python3.9/site-packages/pkg_resources/__init__.py:3239: in
<module>
    def _initialize_master_working_set():
../../python3.9/site-packages/pkg_resources/__init__.py:3222: in
_call_aside
    f(*args, **kwargs)
../../python3.9/site-packages/pkg_resources/__init__.py:3251: in
_initialize_master_working_set
    working_set = WorkingSet._build_master()
../../python3.9/site-packages/pkg_resources/__init__.py:567: in
_build_master
    ws.require(__requires__)
../../python3.9/site-packages/pkg_resources/__init__.py:884: in require
    needed = self.resolve(parse_requirements(requirements))
../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve
    raise DistributionNotFound(req, requirers)
E   pkg_resources.DistributionNotFound: The 'toml' distribution was not
found and is required by pytest

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 meta/recipes-devtools/python/python3-pytest_6.1.2.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
index 6872da5cfac..6fc3b6f3284 100644
--- a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
+++ b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
@@ -10,21 +10,22 @@ SRC_URI[sha256sum] = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316a
 inherit update-alternatives pypi setuptools3
 
 RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-atomicwrites \
     ${PYTHON_PN}-attrs \
     ${PYTHON_PN}-debugger \
     ${PYTHON_PN}-doctest \
+    ${PYTHON_PN}-importlib-metadata \
     ${PYTHON_PN}-iniconfig \
     ${PYTHON_PN}-json \
+    ${PYTHON_PN}-more-itertools \
+    ${PYTHON_PN}-packaging \
+    ${PYTHON_PN}-pathlib2 \
     ${PYTHON_PN}-pluggy \
     ${PYTHON_PN}-py \
     ${PYTHON_PN}-setuptools \
     ${PYTHON_PN}-six \
-    ${PYTHON_PN}-atomicwrites \
-    ${PYTHON_PN}-importlib-metadata \
-    ${PYTHON_PN}-pathlib2 \
+    ${PYTHON_PN}-toml \
     ${PYTHON_PN}-wcwidth \
-    ${PYTHON_PN}-more-itertools \
-    ${PYTHON_PN}-packaging \
 "
 
 ALTERNATIVE_${PN} += "py.test pytest"
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* Re: [OE-core] [PATCH 00/18] Move python3-pytest to oe-core
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (17 preceding siblings ...)
  2020-11-28  4:24 ` [PATCH 18/18] python3-pytest: RDEPENDS on python3-toml Tim Orling
@ 2020-11-28  7:31 ` Khem Raj
  2020-11-30  3:52 ` akuster
  2020-11-30 21:36 ` Richard Purdie
  20 siblings, 0 replies; 22+ messages in thread
From: Khem Raj @ 2020-11-28  7:31 UTC (permalink / raw)
  To: Tim Orling; +Cc: Patches and discussions about the oe-core layer

On Fri, Nov 27, 2020 at 8:24 PM Tim Orling <ticotimo@gmail.com> wrote:
>
> From: Tim Orling <timothy.t.orling@linux.intel.com>
>
> We are increasingly needing pytest in oe-core, so it is time to move it
> from meta-python.
>
> This series first imports the recipes -- as-is -- from meta-python.
> Second, the maintainers.inc is updated to add myself as maintainer for all
> the new recipes.
> Third, the two recipes that have stable updates are updated to their
> latest releases.
> Finally, a fix caught during ptest runs is added for RDEPENDS for
> pytest.
>
> This was built on 'nodistro' with only openembedded-core and tested on
> qemux86-64. All the new recipes that have ptests pass all tests.
>

thanks, this series looks good to me. I think we should also bring in
sortedcontainers and sortedcontainers
while you are here, this will help testing python-numpy and adding
ptests for it.


> The following changes since commit 6e3785a3f1f3cf68f5fe101cd6bebe91db165973:
>
>   uninative: Don't use single sstate for pseudo-native (2020-11-24 15:53:04 +0000)
>
> are available in the Git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib timo/add-pytest-to-oe-core
>   http://cgit.openembedded.org/openembedded-core-contrib/log/?h=timo/add-pytest-to-oe-core
>
> For convenience, the same series is also available at the Git repository
> at:
>
>  git://git.yoctoproject.org/poky-contrib timo/move-pytest-to-core
>  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/move-pytest-to-core
>
> Tim Orling (18):
>   python3-atomicwrites: move from meta-python
>   python3-attrs: move from meta-python
>   python3-iniconfig: move from meta-python
>   python3-more-itertools: move from meta-python
>   python3-pathlib2: move from meta-python
>   python3-toml: move from meta-python
>   python3-py: move from meta-python
>   python3-setuptools-scm: move from meta-python
>   python3-packaging: move from meta-python
>   python3-wcwidth: move from meta-python
>   python3-zipp: move from meta-python
>   python3-importlib-metadata: move from meta-python
>   python3-pluggy: move from meta-python
>   python3-pytest: move from meta-python
>   maintainers.inc: add self for new pytest packages
>   python3-more-itertools: upgrade 8.5.0 -> 8.6.0
>   python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
>   python3-pytest: RDEPENDS on python3-toml
>
>  meta/conf/distro/include/maintainers.inc      | 14 +++++++
>  .../python/python3-atomicwrites/run-ptest     |  3 ++
>  .../python/python3-atomicwrites_1.4.0.bb      | 25 ++++++++++++
>  .../python/python3-attrs_20.3.0.bb            | 20 ++++++++++
>  .../python3-importlib-metadata_3.1.0.bb       | 18 +++++++++
>  .../python/python3-iniconfig_1.1.1.bb         |  9 +++++
>  .../python/python3-more-itertools/run-ptest   |  3 ++
>  .../python/python3-more-itertools_8.6.0.bb    | 23 +++++++++++
>  .../python/python3-packaging_20.4.bb          | 14 +++++++
>  .../python/python3-pathlib2_2.3.5.bb          | 13 +++++++
>  .../python/python3-pluggy/run-ptest           |  3 ++
>  .../python/python3-pluggy_0.13.1.bb           | 27 +++++++++++++
>  .../python/python3-py_1.9.0.bb                | 15 +++++++
>  ...he-setup_requires-for-setuptools-scm.patch | 39 +++++++++++++++++++
>  .../python/python3-pytest_6.1.2.bb            | 39 +++++++++++++++++++
>  .../python/python3-setuptools-scm_4.1.2.bb    | 21 ++++++++++
>  .../python/python3-toml_0.10.2.bb             | 15 +++++++
>  .../python/python3-wcwidth/run-ptest          |  3 ++
>  .../python/python3-wcwidth_0.2.5.bb           | 25 ++++++++++++
>  .../python/python3-zipp_3.4.0.bb              | 19 +++++++++
>  20 files changed, 348 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-atomicwrites/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-attrs_20.3.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb
>  create mode 100644 meta/recipes-devtools/python/python3-more-itertools/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-packaging_20.4.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pluggy/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-pluggy_0.13.1.bb
>  create mode 100644 meta/recipes-devtools/python/python3-py_1.9.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
>  create mode 100644 meta/recipes-devtools/python/python3-pytest_6.1.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-wcwidth/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb
>  create mode 100644 meta/recipes-devtools/python/python3-zipp_3.4.0.bb
>
> --
> 2.25.0
>
>
> 
>

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [OE-core] [PATCH 00/18] Move python3-pytest to oe-core
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (18 preceding siblings ...)
  2020-11-28  7:31 ` [OE-core] [PATCH 00/18] Move python3-pytest to oe-core Khem Raj
@ 2020-11-30  3:52 ` akuster
  2020-11-30 21:36 ` Richard Purdie
  20 siblings, 0 replies; 22+ messages in thread
From: akuster @ 2020-11-30  3:52 UTC (permalink / raw)
  To: Tim Orling, openembedded-core



On 11/27/20 8:24 PM, Tim Orling wrote:
> From: Tim Orling <timothy.t.orling@linux.intel.com>
>
> We are increasingly needing pytest in oe-core, so it is time to move it
> from meta-python.
>
> This series first imports the recipes -- as-is -- from meta-python.
> Second, the maintainers.inc is updated to add myself as maintainer for all
> the new recipes.
> Third, the two recipes that have stable updates are updated to their
> latest releases.
> Finally, a fix caught during ptest runs is added for RDEPENDS for
> pytest.
>
> This was built on 'nodistro' with only openembedded-core and tested on 
> qemux86-64. All the new recipes that have ptests pass all tests.

cool. This will reduce the number needed from meta-python  that the
sphinx recipe needs.

need to rebase my work.
-armin
>
> The following changes since commit 6e3785a3f1f3cf68f5fe101cd6bebe91db165973:
>
>   uninative: Don't use single sstate for pseudo-native (2020-11-24 15:53:04 +0000)
>
> are available in the Git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib timo/add-pytest-to-oe-core
>   http://cgit.openembedded.org/openembedded-core-contrib/log/?h=timo/add-pytest-to-oe-core
>
> For convenience, the same series is also available at the Git repository
> at:
>
>  git://git.yoctoproject.org/poky-contrib timo/move-pytest-to-core
>  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/move-pytest-to-core
>
> Tim Orling (18):
>   python3-atomicwrites: move from meta-python
>   python3-attrs: move from meta-python
>   python3-iniconfig: move from meta-python
>   python3-more-itertools: move from meta-python
>   python3-pathlib2: move from meta-python
>   python3-toml: move from meta-python
>   python3-py: move from meta-python
>   python3-setuptools-scm: move from meta-python
>   python3-packaging: move from meta-python
>   python3-wcwidth: move from meta-python
>   python3-zipp: move from meta-python
>   python3-importlib-metadata: move from meta-python
>   python3-pluggy: move from meta-python
>   python3-pytest: move from meta-python
>   maintainers.inc: add self for new pytest packages
>   python3-more-itertools: upgrade 8.5.0 -> 8.6.0
>   python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
>   python3-pytest: RDEPENDS on python3-toml
>
>  meta/conf/distro/include/maintainers.inc      | 14 +++++++
>  .../python/python3-atomicwrites/run-ptest     |  3 ++
>  .../python/python3-atomicwrites_1.4.0.bb      | 25 ++++++++++++
>  .../python/python3-attrs_20.3.0.bb            | 20 ++++++++++
>  .../python3-importlib-metadata_3.1.0.bb       | 18 +++++++++
>  .../python/python3-iniconfig_1.1.1.bb         |  9 +++++
>  .../python/python3-more-itertools/run-ptest   |  3 ++
>  .../python/python3-more-itertools_8.6.0.bb    | 23 +++++++++++
>  .../python/python3-packaging_20.4.bb          | 14 +++++++
>  .../python/python3-pathlib2_2.3.5.bb          | 13 +++++++
>  .../python/python3-pluggy/run-ptest           |  3 ++
>  .../python/python3-pluggy_0.13.1.bb           | 27 +++++++++++++
>  .../python/python3-py_1.9.0.bb                | 15 +++++++
>  ...he-setup_requires-for-setuptools-scm.patch | 39 +++++++++++++++++++
>  .../python/python3-pytest_6.1.2.bb            | 39 +++++++++++++++++++
>  .../python/python3-setuptools-scm_4.1.2.bb    | 21 ++++++++++
>  .../python/python3-toml_0.10.2.bb             | 15 +++++++
>  .../python/python3-wcwidth/run-ptest          |  3 ++
>  .../python/python3-wcwidth_0.2.5.bb           | 25 ++++++++++++
>  .../python/python3-zipp_3.4.0.bb              | 19 +++++++++
>  20 files changed, 348 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-atomicwrites/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-atomicwrites_1.4.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-attrs_20.3.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb
>  create mode 100644 meta/recipes-devtools/python/python3-more-itertools/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-more-itertools_8.6.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-packaging_20.4.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pathlib2_2.3.5.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pluggy/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-pluggy_0.13.1.bb
>  create mode 100644 meta/recipes-devtools/python/python3-py_1.9.0.bb
>  create mode 100644 meta/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
>  create mode 100644 meta/recipes-devtools/python/python3-pytest_6.1.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-toml_0.10.2.bb
>  create mode 100644 meta/recipes-devtools/python/python3-wcwidth/run-ptest
>  create mode 100644 meta/recipes-devtools/python/python3-wcwidth_0.2.5.bb
>  create mode 100644 meta/recipes-devtools/python/python3-zipp_3.4.0.bb
>
>
> 
>


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [OE-core] [PATCH 00/18] Move python3-pytest to oe-core
  2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
                   ` (19 preceding siblings ...)
  2020-11-30  3:52 ` akuster
@ 2020-11-30 21:36 ` Richard Purdie
  20 siblings, 0 replies; 22+ messages in thread
From: Richard Purdie @ 2020-11-30 21:36 UTC (permalink / raw)
  To: Tim Orling, openembedded-core

On Fri, 2020-11-27 at 20:24 -0800, Tim Orling wrote:
> From: Tim Orling <timothy.t.orling@linux.intel.com>
> 
> We are increasingly needing pytest in oe-core, so it is time to move it
> from meta-python.
> 
> This series first imports the recipes -- as-is -- from meta-python.
> Second, the maintainers.inc is updated to add myself as maintainer for all
> the new recipes.
> Third, the two recipes that have stable updates are updated to their
> latest releases.
> Finally, a fix caught during ptest runs is added for RDEPENDS for
> pytest.
> 
> This was built on 'nodistro' with only openembedded-core and tested on 
> qemux86-64. All the new recipes that have ptests pass all tests.

That series was an easier one to test and merge :)

Thanks Tim!

Cheers,

Richard


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-11-30 21:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-28  4:24 [PATCH 00/18] Move python3-pytest to oe-core Tim Orling
2020-11-28  4:24 ` [PATCH 01/18] python3-atomicwrites: move from meta-python Tim Orling
2020-11-28  4:24 ` [PATCH 02/18] python3-attrs: " Tim Orling
2020-11-28  4:24 ` [PATCH 03/18] python3-iniconfig: " Tim Orling
2020-11-28  4:24 ` [PATCH 04/18] python3-more-itertools: " Tim Orling
2020-11-28  4:24 ` [PATCH 05/18] python3-pathlib2: " Tim Orling
2020-11-28  4:24 ` [PATCH 06/18] python3-toml: " Tim Orling
2020-11-28  4:24 ` [PATCH 07/18] python3-py: " Tim Orling
2020-11-28  4:24 ` [PATCH 08/18] python3-setuptools-scm: " Tim Orling
2020-11-28  4:24 ` [PATCH 09/18] python3-packaging: " Tim Orling
2020-11-28  4:24 ` [PATCH 10/18] python3-wcwidth: " Tim Orling
2020-11-28  4:24 ` [PATCH 11/18] python3-zipp: " Tim Orling
2020-11-28  4:24 ` [PATCH 12/18] python3-importlib-metadata: " Tim Orling
2020-11-28  4:24 ` [PATCH 13/18] python3-pluggy: " Tim Orling
2020-11-28  4:24 ` [PATCH 14/18] python3-pytest: " Tim Orling
2020-11-28  4:24 ` [PATCH 15/18] maintainers.inc: add self for new pytest packages Tim Orling
2020-11-28  4:24 ` [PATCH 16/18] python3-more-itertools: upgrade 8.5.0 -> 8.6.0 Tim Orling
2020-11-28  4:24 ` [PATCH 17/18] python3-importlib-metadata: upgrade 2.0.0 to 3.1.0 Tim Orling
2020-11-28  4:24 ` [PATCH 18/18] python3-pytest: RDEPENDS on python3-toml Tim Orling
2020-11-28  7:31 ` [OE-core] [PATCH 00/18] Move python3-pytest to oe-core Khem Raj
2020-11-30  3:52 ` akuster
2020-11-30 21:36 ` Richard Purdie

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.