Skip to contentSkip to conversation

python3-hypothesis: upgrade 6.46.11 -> 6.47.2

PATCH In review Wang Mingyu 5 participants 9 messages Jun 17, 2022 – Jun 18, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-hypothesis: upgrade 6.46.11 -> 6.47.2

Add dependence exceptiongroup.

---
 ...hon3-hypothesis_6.46.11.bb => python3-hypothesis_6.47.2.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.46.11.bb => python3-hypothesis_6.47.2.bb} (88%)
meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +2 -1
similarity index 88%
rename from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb
index 1d9772d4ff..f56bf3d19e 100644
@@ -13,7 +13,7 @@ SRC_URI += " \
     file://test_rle.py \
     "
 
-SRC_URI[sha256sum] = "f5c1cf61b24b094355577a6b8fbbb8eb54c1b0216fbc0519af97c46bddf43c42"
+SRC_URI[sha256sum] = "9c01a225eada7d74d38430e3e91e659e3a892fbc2b15f7b051779ded6ab73ee7"
 
 RDEPENDS:${PN} += " \
     python3-attrs \
@@ -23,6 +23,7 @@ RDEPENDS:${PN} += " \
     python3-sortedcontainers \
     python3-statistics \
     python3-unittest \
+    ${PYTHON_PN}-exceptiongroup \
     "
 
 RDEPENDS:${PN}-ptest += " \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 python3-exceptiongroup : add recipe

---
 .../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
meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +11 -0
new file mode 100644
index 0000000000..adf530a6e5
@@ -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
Signature · 1 line
2.25.1
#2 lore raw

Re: [OE-core] [PATCH] python3-exceptiongroup : add recipe

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)

Quoted 36 lines · wangmy
---
 .../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
meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +11 -0
new file mode 100644
index 0000000000..adf530a6e5
@@ -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
Signature · 11 lines
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [OE-core] [PATCH] python3-exceptiongroup : add recipe

Quoted 14 lines · Alexandre Belloni via lists.openembedded.org

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)
Quoted 4 lines

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...

Quoted 48 lines · wangmy
Quoted 30 lines
---
 .../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
meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +11 -0
new file mode 100644
index 0000000000..adf530a6e5
@@ -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
Signature · 1 line
2.25.1
Signature · 12 lines
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

Re: [OE-core] [PATCH] python3-exceptiongroup : add recipe

In reply to Wang Mingyu
Quoted 2 lines

+#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.

#6 lore raw

Re: [OE-core] [PATCH] python3-exceptiongroup : add recipe

In reply to Wang Mingyu

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.

Quoted 43 lines · wangmy
---
 .../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

(quoted diff) +0 -0

python3-exceptiongroup_1.0.0rc8.bb b/meta/recipes-devtools/python/ python3-exceptiongroup_1.0.0rc8.bb
new file mode 100644
index 0000000000..adf530a6e5

meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +1 -0
@@ -0,0 +1,11 @@
+DESCRIPTION = "This is a backport of the BaseExceptionGroup and

ExceptionGroup classes from Python 3.11."

meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +6 -0
+HOMEPAGE = "https://pypi.org/project/exceptiongroup"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d5caa317463c433575efff1d2fe206d7"
+
+SRC_URI[sha256sum] =

"6990c24f06b8d33c8065cfe43e5e8a4bfa384e0358be036af9cc60b6321bd11a"

meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb new file +4 -1
+
+#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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

RE: [OE-core] [PATCH] python3-exceptiongroup : add recipe

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: [email protected]<mailto:[email protected]>
http://www.fujitsu.com/cn/fnst/

From: [email protected] <[email protected]> On Behalf Of Tim Orling
Sent: Friday, June 17, 2022 10:31 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>
Cc: [email protected]
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 <[email protected]<mailto:[email protected]>> wrote:

---
 .../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>
meta/recipes-devtools/python/python3-exceptiongroup_1.0.0rc8.bb<http://python3-exceptiongroup_1.0.0rc8.bb> new file +11 -0
new file mode 100644
index 0000000000..adf530a6e5
@@ -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

#8 lore raw
In reply to Wang Mingyu

wangmy <[email protected]> escreveu no dia sexta, 17/06/2022 à(s) 07:25:

Quoted 29 lines

Add dependence exceptiongroup.

---
 ...hon3-hypothesis_6.46.11.bb => python3-hypothesis_6.47.2.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.46.11.bb =>

python3-hypothesis_6.47.2.bb} (88%)

meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +0 -1
similarity index 88%
rename from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb
index 1d9772d4ff..f56bf3d19e 100644
@@ -13,7 +13,7 @@ SRC_URI += " \
     file://test_rle.py \
     "
 
-SRC_URI[sha256sum] =

"f5c1cf61b24b094355577a6b8fbbb8eb54c1b0216fbc0519af97c46bddf43c42" +SRC_URI[sha256sum] = "9c01a225eada7d74d38430e3e91e659e3a892fbc2b15f7b051779ded6ab73ee7"

 RDEPENDS:${PN} += " \
     python3-attrs \

meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb RDEPENDS:${PN} += " \ · line 27

Quoted 5 lines
meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +1 -0
@@ -23,6 +23,7 @@ RDEPENDS:${PN} += " \
     python3-sortedcontainers \
     python3-statistics \
     python3-unittest \
+    ${PYTHON_PN}-exceptiongroup \
 

IMO It's better to have it as python3-exceptiongroup for consistency with the other python in RDEPENDS

Jose

Quoted 18 lines
meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +0 -0
     "
 

RDEPENDS:${PN}-ptest += " \
--
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#167018):
https://lists.openembedded.org/g/openembedded-core/message/167018
Mute This Topic: https://lists.openembedded.org/mt/91816508/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#9 lore raw
Quoted 30 lines · Jose Quaresma

wangmy <[email protected]> escreveu no dia sexta, 17/06/2022 à(s) 07:25:

Quoted 26 lines

Add dependence exceptiongroup.

---
 ...hon3-hypothesis_6.46.11.bb => python3-hypothesis_6.47.2.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.46.11.bb =>

python3-hypothesis_6.47.2.bb} (88%)

meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +0 -1
similarity index 88%
rename from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb
index 1d9772d4ff..f56bf3d19e 100644
@@ -13,7 +13,7 @@ SRC_URI += " \
     file://test_rle.py \
     "
 
-SRC_URI[sha256sum] =

"f5c1cf61b24b094355577a6b8fbbb8eb54c1b0216fbc0519af97c46bddf43c42" +SRC_URI[sha256sum] = "9c01a225eada7d74d38430e3e91e659e3a892fbc2b15f7b051779ded6ab73ee7"

Quoted 12 lines

meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb RDEPENDS:${PN} += " \ · line 27

Quoted 8 lines
 RDEPENDS:${PN} += " \
     python3-attrs \
meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +1 -0
@@ -23,6 +23,7 @@ RDEPENDS:${PN} += " \
     python3-sortedcontainers \
     python3-statistics \
     python3-unittest \
+    ${PYTHON_PN}-exceptiongroup \
 

IMO It's better to have it as python3-exceptiongroup for consistency with the other python in RDEPENDS

Agreed. That syntax is only needed if we have to support two python versions (if python 4 becomes a thing).

Quoted 31 lines

Jose

Quoted 10 lines
meta/recipes-devtools/python/python3-hypothesis_6.47.2.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.46.11.bb +0 -0
     "
 

RDEPENDS:${PN}-ptest += " \
--
2.25.1

--
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#167019):
https://lists.openembedded.org/g/openembedded-core/message/167019
Mute This Topic: https://lists.openembedded.org/mt/91816508/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-