diff mbox series

[meta-python,master] python3-pydantic-core: add missing RDEPENDS for ptest

Message ID 20240808094358.1236-1-debrabander@gmail.com
State New
Headers show
Series [meta-python,master] python3-pydantic-core: add missing RDEPENDS for ptest | expand

Commit Message

Frank de Brabander Aug. 8, 2024, 9:43 a.m. UTC
---
 .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tim Orling Aug. 8, 2024, 1:39 p.m. UTC | #1
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.

On Thu, Aug 8, 2024 at 2:44 AM Frank de Brabander via lists.openembedded.org
<debrabander=gmail.com@lists.openembedded.org> wrote:

> ---
>  .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git 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
> 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
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Tim Orling Aug. 8, 2024, 1:44 p.m. UTC | #2
Also, I believe this requires python3-tzdata which we do not yet have a
recipe for (I have one ready in this staged series).

On Thu, Aug 8, 2024 at 6:40 AM Tim Orling via lists.openembedded.org
<ticotimo=gmail.com@lists.openembedded.org> wrote:

> 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.
>
> On Thu, Aug 8, 2024 at 2:44 AM Frank de Brabander via
> lists.openembedded.org <debrabander=gmail.com@lists.openembedded.org>
> wrote:
>
>> ---
>>  .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git 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
>> 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
>> @@ -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 (#111662):
> https://lists.openembedded.org/g/openembedded-devel/message/111662
> Mute This Topic: https://lists.openembedded.org/mt/107786709/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Tim Orling Aug. 8, 2024, 4:43 p.m. UTC | #3
On Thu, Aug 8, 2024 at 7:16 AM Frank de Brabander <debrabander@gmail.com>
wrote:

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


>
> On 8 Aug 2024, at 15:45, Tim Orling <ticotimo@gmail.com> wrote:
>
> 
> Also, I believe this requires python3-tzdata which we do not yet have a
> recipe for (I have one ready in this staged series).
>
> On Thu, Aug 8, 2024 at 6:40 AM Tim Orling via lists.openembedded.org
> <ticotimo=gmail.com@lists.openembedded.org> wrote:
>
>> 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.
>>
>> On Thu, Aug 8, 2024 at 2:44 AM Frank de Brabander via
>> lists.openembedded.org <debrabander=gmail.com@lists.openembedded.org>
>> wrote:
>>
>>> ---
>>>  .../recipes-devtools/python/python3-pydantic-core_2.18.4.bb     | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git 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
>>> 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
>>> @@ -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 (#111662):
>> https://lists.openembedded.org/g/openembedded-devel/message/111662
>> Mute This Topic: https://lists.openembedded.org/mt/107786709/924729
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
>> ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>
diff mbox series

Patch

diff --git 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
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
@@ -37,6 +37,8 @@  RDEPENDS:${PN}-ptest += "\
     python3-pytest-timeout \
     python3-pytest-benchmark \
     python3-unittest-automake-output \
+    python3-zoneinfo \
+    tzdata \
 "
 
 do_install_ptest() {