python3-exceptiongroup : add recipe

Message ID 1655447108-20329-2-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series python3-exceptiongroup : add recipe | expand

Commit Message

Mingyu Wang (Fujitsu) June 17, 2022, 6:25 a.m. UTC
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/python3-exceptiongroup_1.0.0rc8.bb         | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb

Comments

Alexandre Belloni June 17, 2022, 12:17 p.m. UTC | #1
Hello,

This causes the following error:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3713/steps/15/logs/stdio

2022-06-17 08:06:44,127 - oe-selftest - INFO - distrodata.Distrodata.test_maintainers (subunit.RemotedTestCase)
2022-06-17 08:06:44,128 - oe-selftest - INFO -  ... FAIL
2022-06-17 08:06:44,128 - oe-selftest - INFO - 5: 5/11 58/492 (131.79s) (distrodata.Distrodata.test_maintainers)
2022-06-17 08:06:44,128 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/distrodata.py", line 141, in test_maintainers
    """ + "\n".join(['%s (%s)' % i for i in no_maintainer_list]))
  File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail
    raise self.failureException(msg)
AssertionError: 
The following recipes do not have a maintainer assigned to them. Please add an entry to meta/conf/distro/include/maintainers.inc file.
python3-exceptiongroup (/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb)


On 17/06/2022 14:25:08+0800, wangmy wrote:
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../python/python3-exceptiongroup_1.0.0rc8.bb         | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> 
> diff --git a/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> new file mode 100644
> index 0000000000..adf530a6e5
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> @@ -0,0 +1,11 @@
> +DESCRIPTION = "This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11."
> +HOMEPAGE = "https://pypi.org/project/exceptiongroup"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
> +
> +SRC_URI[sha256sum] = "6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"
> +
> +#RDEPENDS:${PN} += "python3-profile python3-logging"
> +
> +inherit pypi python_setuptools_build_meta
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#167017): https://lists.openembedded.org/g/openembedded-core/message/167017
> Mute This Topic: https://lists.openembedded.org/mt/91816507/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Alexandre Belloni June 17, 2022, 12:20 p.m. UTC | #2
On 17/06/2022 14:17:06+0200, Alexandre Belloni via lists.openembedded.org wrote:
> Hello,
> 
> This causes the following error:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3713/steps/15/logs/stdio
> 
> 2022-06-17 08:06:44,127 - oe-selftest - INFO - distrodata.Distrodata.test_maintainers (subunit.RemotedTestCase)
> 2022-06-17 08:06:44,128 - oe-selftest - INFO -  ... FAIL
> 2022-06-17 08:06:44,128 - oe-selftest - INFO - 5: 5/11 58/492 (131.79s) (distrodata.Distrodata.test_maintainers)
> 2022-06-17 08:06:44,128 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
>   File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/distrodata.py", line 141, in test_maintainers
>     """ + "\n".join(['%s (%s)' % i for i in no_maintainer_list]))
>   File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail
>     raise self.failureException(msg)
> AssertionError: 
> The following recipes do not have a maintainer assigned to them. Please add an entry to meta/conf/distro/include/maintainers.inc file.
> python3-exceptiongroup (/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb)
> 

And also:

https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/4708/steps/12/logs/stdio

WARNING: Nothing RPROVIDES 'nativesdk-python3-exceptiongroup' (but virtual:nativesdk:/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'nativesdk-python3-exceptiongroup' is unbuildable, removing...

> 
> On 17/06/2022 14:25:08+0800, wangmy wrote:
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> >  .../python/python3-exceptiongroup_1.0.0rc8.bb         | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >  create mode 100644 meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> > 
> > diff --git a/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> > new file mode 100644
> > index 0000000000..adf530a6e5
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> > @@ -0,0 +1,11 @@
> > +DESCRIPTION = "This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11."
> > +HOMEPAGE = "https://pypi.org/project/exceptiongroup"
> > +SECTION = "devel/python"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
> > +
> > +SRC_URI[sha256sum] = "6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"
> > +
> > +#RDEPENDS:${PN} += "python3-profile python3-logging"
> > +
> > +inherit pypi python_setuptools_build_meta
> > -- 
> > 2.25.1
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#167021): https://lists.openembedded.org/g/openembedded-core/message/167021
> Mute This Topic: https://lists.openembedded.org/mt/91816507/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Ross Burton June 17, 2022, 2:08 p.m. UTC | #3
> +#RDEPENDS:${PN} += "python3-profile python3-logging”

Remove the line entirely or remove the comment, but don’t have commented-out lines in recipes.

Ross

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Tim Orling June 17, 2022, 2:30 p.m. UTC | #4
Why should this be added to oe-core? You have an empty git log with no
justification. We also do not typically take pre-release components to
oe-core (the version is a release candidate).

You also need to add a maintainer entry.

On Thu, Jun 16, 2022 at 11:25 PM wangmy <wangmy@fujitsu.com> wrote:

> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../python/python3-exceptiongroup_1.0.0rc8.bb         | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/
> python3-exceptiongroup_1.0.0rc8.bb
>
> diff --git a/meta/recipes-devtools/python/
> python3-exceptiongroup_1.0.0rc8.bb b/meta/recipes-devtools/python/
> python3-exceptiongroup_1.0.0rc8.bb
> new file mode 100644
> index 0000000000..adf530a6e5
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
> @@ -0,0 +1,11 @@
> +DESCRIPTION = "This is a backport of the BaseExceptionGroup and
> ExceptionGroup classes from Python 3.11."
> +HOMEPAGE = "https://pypi.org/project/exceptiongroup"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
> +
> +SRC_URI[sha256sum] =
> "6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"
> +
> +#RDEPENDS:${PN} += "python3-profile python3-logging"
> +
> +inherit pypi python_setuptools_build_meta
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#167017):
> https://lists.openembedded.org/g/openembedded-core/message/167017
> Mute This Topic: https://lists.openembedded.org/mt/91816507/924729
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Mingyu Wang (Fujitsu) June 18, 2022, 11:34 p.m. UTC | #5
Because python3-hypothesis depends on this package, otherwise the runtime test cannot pass.
I will investigate whether this problem can be solved by adding other dependence.
  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com<mailto:wangmy@fujitsu.com>
http://www.fujitsu.com/cn/fnst/

From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Tim Orling
Sent: Friday, June 17, 2022 10:31 PM
To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] python3-exceptiongroup : add recipe

Why should this be added to oe-core? You have an empty git log with no justification. We also do not typically take pre-release components to oe-core (the version is a release candidate).

You also need to add a maintainer entry.

On Thu, Jun 16, 2022 at 11:25 PM wangmy <wangmy@fujitsu.com<mailto:wangmy@fujitsu.com>> wrote:
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com<mailto:wangmy@fujitsu.com>>
---
 .../python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb>         | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb>

diff --git a/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb> b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb>
new file mode 100644
index 0000000000..adf530a6e5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb>
@@ -0,0 +1,11 @@
+DESCRIPTION = "This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11."
+HOMEPAGE = "https://pypi.org/project/exceptiongroup"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
+
+SRC_URI[sha256sum] = "6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"
+
+#RDEPENDS:${PN} += "python3-profile python3-logging"
+
+inherit pypi python_setuptools_build_meta
--
2.25.1

Patch

diff --git a/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
new file mode 100644
index 0000000000..adf530a6e5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb
@@ -0,0 +1,11 @@ 
+DESCRIPTION = "This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11."
+HOMEPAGE = "https://pypi.org/project/exceptiongroup"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
+
+SRC_URI[sha256sum] = "6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"
+
+#RDEPENDS:${PN} += "python3-profile python3-logging"
+
+inherit pypi python_setuptools_build_meta