Skip to contentSkip to conversation

python3-pydantic-core: add missing RDEPENDS for ptest

PATCH In review Frank de Brabander 2 participants 4 messages Aug 8, 2024 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pydantic-core: add missing RDEPENDS for ptest

---
 .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb +2 -0
index 0ab1873a0..37a4440ca 100644
@@ -37,6 +37,8 @@ RDEPENDS:${PN}-ptest += "\
     python3-pytest-timeout \
     python3-pytest-benchmark \
     python3-unittest-automake-output \
+    python3-zoneinfo \
+    tzdata \
 "
 
 do_install_ptest() {
Signature · 1 line
2.39.2
#1 lore raw

I'm in the middle of an upgrade to python3-pydantic and python3-pydantic-core. I'd prefer we hold of on this one so I can keep my tree clean and get this out the door.

Quoted 34 lines · Frank de Brabander via lists.openembedded.org
---
 .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

python3-pydantic-core_2.18.4.bb b/meta-python/recipes-devtools/python/ python3-pydantic-core_2.18.4.bb
index 0ab1873a0..37a4440ca 100644

meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb +2 -1
@@ -37,6 +37,8 @@ RDEPENDS:${PN}-ptest += "\
     python3-pytest-timeout \
     python3-pytest-benchmark \
     python3-unittest-automake-output \
+    python3-zoneinfo \
+    tzdata \
 "
 
 do_install_ptest() {
--

2.39.2

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

#3 lore raw
In reply to a message not in the archive

Also, I believe this requires python3-tzdata which we do not yet have a recipe for (I have one ready in this staged series).

Quoted 45 lines · Tim Orling via lists.openembedded.org

I'm in the middle of an upgrade to python3-pydantic and python3-pydantic-core. I'd prefer we hold of on this one so I can keep my tree clean and get this out the door.

Quoted 20 lines · Frank de Brabander via lists.openembedded.org
---
 .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

python3-pydantic-core_2.18.4.bb b/meta-python/recipes-devtools/python/ python3-pydantic-core_2.18.4.bb
index 0ab1873a0..37a4440ca 100644

meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb +2 -1
@@ -37,6 +37,8 @@ RDEPENDS:${PN}-ptest += "\
     python3-pytest-timeout \
     python3-pytest-benchmark \
     python3-unittest-automake-output \
+    python3-zoneinfo \
+    tzdata \
 "
 
 do_install_ptest() {
--
Quoted 6 lines

2.39.2

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

#5 lore raw
In reply to a message not in the archive
Quoted 5 lines · Frank de Brabander

Don’t think that python3-tzdata is needed. It will first look for system wide tzdata, python3-tzdata is a fallback option that can be used if tzdata is missing. Running ptest resulted in PASS after this change.

Ah. That will help with my conundrum about fixing scarthgap. I'll add this patch into my scarthgap series, that I am working on next.

Quoted 57 lines · Tim Orling


Also, I believe this requires python3-tzdata which we do not yet have a recipe for (I have one ready in this staged series).

Quoted 47 lines · Tim Orling via lists.openembedded.org

I'm in the middle of an upgrade to python3-pydantic and python3-pydantic-core. I'd prefer we hold of on this one so I can keep my tree clean and get this out the door.

Quoted 22 lines · Frank de Brabander via lists.openembedded.org
---
 .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

python3-pydantic-core_2.18.4.bb b/meta-python/recipes-devtools/python/ python3-pydantic-core_2.18.4.bb
index 0ab1873a0..37a4440ca 100644
--- a/meta-python/recipes-devtools/python/ python3-pydantic-core_2.18.4.bb
+++ b/meta-python/recipes-devtools/python/ python3-pydantic-core_2.18.4.bb

meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb +2 -1
@@ -37,6 +37,8 @@ RDEPENDS:${PN}-ptest += "\
     python3-pytest-timeout \
     python3-pytest-benchmark \
     python3-unittest-automake-output \
+    python3-zoneinfo \
+    tzdata \
 "
 
 do_install_ptest() {
--
Quoted 6 lines

2.39.2

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