Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2

2024-06-28 Thread Khem Raj
On Fri, Jun 28, 2024 at 10:06 AM Guðni Már Gilbert via
lists.openembedded.org
 wrote:
>
> I will look into this over the weekend (running ptests is a new area for me). 
> I'm curious what images you usually use / recommend?
>

you might check if the recipe inherits ptest if it does then check its
enabled in recipe based ptest image infrastructure by perhaps trying
bitbake meta-python-image-ptest-
for say meta-python housed recipe once it builds then run bitbake
-ctestimage meta-python-image-ptest- and observe the
results.

> I've usually just used this one core-image-minimal from openembedded-core and 
> used oe-init-build-env for the environment and manually added 
> meta-openembedded/meta-python into bblayers.conf.
>
> I see core-image-ptest exists and looks like a better choice than 
> core-image-minimal
>
> Thanks for the feedback by the way, I really appreciate it.
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55): 
https://lists.openembedded.org/g/openembedded-devel/message/55
Mute This Topic: https://lists.openembedded.org/mt/106918869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2

2024-06-28 Thread Guðni Már Gilbert
I will look into this over the weekend (running ptests is a new area for me). 
I'm curious what images you usually use / recommend?

I've usually just used this one core-image-minimal ( 
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/images/core-image-minimal.bb
 ) from openembedded-core and used oe-init-build-env ( 
https://github.com/openembedded/openembedded-core/blob/master/oe-init-build-env 
) for the environment and manually added meta-openembedded/meta-python into 
bblayers.conf.

I see core-image-ptest ( 
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/images/core-image-ptest.bb
 ) exists and looks like a better choice than core-image-minimal ( 
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/images/core-image-minimal.bb
 )

Thanks for the feedback by the way, I really appreciate it.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53): 
https://lists.openembedded.org/g/openembedded-devel/message/53
Mute This Topic: https://lists.openembedded.org/mt/106918869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2

2024-06-28 Thread Khem Raj
On Fri, Jun 28, 2024 at 6:45 AM Tom Geelen via lists.openembedded.org
 wrote:
>
> This breaks ptest unfortunately as the direct pypi fetch does not include the 
> tests. Only the direct github link as it was previously.
>

Thanks a lot for testing out using ptests. We have made ptests easy to
run with poky default config ( it needs ptest enabled in
DISTRO_FEATURES )
so doing a quick recipe based ptest image on qemux86-64 on local build
machine could be good to do for recipes which have the ptest support
enabled.

> On Fri, Jun 28, 2024 at 12:41 AM Guðni Már Gilbert via lists.openembedded.org 
>  wrote:
>>
>> Changes to the build:
>> - Drop python3-async-timeout which is only required for Python 3.10 and 
>> older.
>>
>> Changelogs:
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.2
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.1
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.0
>>
>> Signed-off-by: Guðni Már Gilbert 
>> ---
>>  .../{python3-bleak_0.21.1.bb => python3-bleak_0.22.2.bb}  | 8 ++--
>>  1 file changed, 2 insertions(+), 6 deletions(-)
>>  rename meta-python/recipes-devtools/python/{python3-bleak_0.21.1.bb => 
>> python3-bleak_0.22.2.bb} (74%)
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb 
>> b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> similarity index 74%
>> rename from meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> rename to meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> index 96f3fcbcf..36a823a9b 100644
>> --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> +++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> @@ -3,13 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
>>  LICENSE = "MIT"
>>  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
>>
>> -SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
>> -PYPI_SRC_URI = 
>> "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
>> +SRC_URI[sha256sum] = 
>> "09010c0f4bd843e7dcaa1652e1bfb2450ce690da08d4c6163f0723aaa986e9fe"
>>
>>  inherit pypi python_poetry_core ptest
>>
>> -S = "${WORKDIR}/git"
>> -
>>  SRC_URI += " \
>> file://run-ptest \
>>  "
>> @@ -26,8 +23,7 @@ do_install_ptest() {
>>  }
>>
>>  RDEPENDS:${PN} += " \
>> -   python3-core (>3.7) \
>> -   python3-async-timeout \
>> +   python3-core (>3.8) \
>> python3-dbus-fast \
>> python3-xml \
>>  "
>> --
>> 2.34.1
>>
>>
>>
>>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52): 
https://lists.openembedded.org/g/openembedded-devel/message/52
Mute This Topic: https://lists.openembedded.org/mt/106918869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2

2024-06-28 Thread Tim Orling
Guðni,
In your updates, make sure you are running with ptest enabled in
DISTRO_FEATURES (default with poky) and then
for any recipe that inherits ptest in meta-python (and probably meta-oe)
you should be able to run:

bitbake meta-python-image-ptest-python3-bleak
bitbake -c testimage meta-python-image-ptest-python3-bleak

Any recipes you see where the pypi defaults have been changed were likely
changed for a very good reason. Don't change them back.

On Fri, Jun 28, 2024 at 6:45 AM Tom Geelen via lists.openembedded.org
 wrote:

> This breaks ptest unfortunately as the direct pypi fetch does not include
> the tests. Only the direct github link as it was previously.
>

> On Fri, Jun 28, 2024 at 12:41 AM Guðni Már Gilbert via
> lists.openembedded.org  wrote:
>
>> Changes to the build:
>> - Drop python3-async-timeout which is only required for Python 3.10 and
>> older.
>>
>> Changelogs:
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.2
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.1
>> * https://github.com/hbldh/bleak/releases/tag/v0.22.0
>>
>> Signed-off-by: Guðni Már Gilbert 
>> ---
>>  .../{python3-bleak_0.21.1.bb => python3-bleak_0.22.2.bb}  | 8 ++--
>>  1 file changed, 2 insertions(+), 6 deletions(-)
>>  rename meta-python/recipes-devtools/python/{python3-bleak_0.21.1.bb =>
>> python3-bleak_0.22.2.bb} (74%)
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> similarity index 74%
>> rename from meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> rename to meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> index 96f3fcbcf..36a823a9b 100644
>> --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
>> +++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
>> @@ -3,13 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
>>  LICENSE = "MIT"
>>  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
>>
>> -SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
>> -PYPI_SRC_URI = "git://
>> github.com/hbldh/bleak.git;protocol=https;branch=develop"
>> +SRC_URI[sha256sum] =
>> "09010c0f4bd843e7dcaa1652e1bfb2450ce690da08d4c6163f0723aaa986e9fe"
>>
>>  inherit pypi python_poetry_core ptest
>>
>> -S = "${WORKDIR}/git"
>> -
>>  SRC_URI += " \
>> file://run-ptest \
>>  "
>> @@ -26,8 +23,7 @@ do_install_ptest() {
>>  }
>>
>>  RDEPENDS:${PN} += " \
>> -   python3-core (>3.7) \
>> -   python3-async-timeout \
>> +   python3-core (>3.8) \
>> python3-dbus-fast \
>> python3-xml \
>>  "
>> --
>> 2.34.1
>>
>>
>>
>>
>>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51): 
https://lists.openembedded.org/g/openembedded-devel/message/51
Mute This Topic: https://lists.openembedded.org/mt/106918869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2

2024-06-28 Thread Tom Geelen
This breaks ptest unfortunately as the direct pypi fetch does not include
the tests. Only the direct github link as it was previously.

On Fri, Jun 28, 2024 at 12:41 AM Guðni Már Gilbert via
lists.openembedded.org  wrote:

> Changes to the build:
> - Drop python3-async-timeout which is only required for Python 3.10 and
> older.
>
> Changelogs:
> * https://github.com/hbldh/bleak/releases/tag/v0.22.2
> * https://github.com/hbldh/bleak/releases/tag/v0.22.1
> * https://github.com/hbldh/bleak/releases/tag/v0.22.0
>
> Signed-off-by: Guðni Már Gilbert 
> ---
>  .../{python3-bleak_0.21.1.bb => python3-bleak_0.22.2.bb}  | 8 ++--
>  1 file changed, 2 insertions(+), 6 deletions(-)
>  rename meta-python/recipes-devtools/python/{python3-bleak_0.21.1.bb =>
> python3-bleak_0.22.2.bb} (74%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
> b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
> similarity index 74%
> rename from meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
> rename to meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
> index 96f3fcbcf..36a823a9b 100644
> --- a/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
> @@ -3,13 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak;
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
>
> -SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
> -PYPI_SRC_URI = "git://
> github.com/hbldh/bleak.git;protocol=https;branch=develop"
> +SRC_URI[sha256sum] =
> "09010c0f4bd843e7dcaa1652e1bfb2450ce690da08d4c6163f0723aaa986e9fe"
>
>  inherit pypi python_poetry_core ptest
>
> -S = "${WORKDIR}/git"
> -
>  SRC_URI += " \
> file://run-ptest \
>  "
> @@ -26,8 +23,7 @@ do_install_ptest() {
>  }
>
>  RDEPENDS:${PN} += " \
> -   python3-core (>3.7) \
> -   python3-async-timeout \
> +   python3-core (>3.8) \
> python3-dbus-fast \
> python3-xml \
>  "
> --
> 2.34.1
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50): 
https://lists.openembedded.org/g/openembedded-devel/message/50
Mute This Topic: https://lists.openembedded.org/mt/106918869/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-