* [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
@ 2024-06-27 22:38 Guðni Már Gilbert
0 siblings, 0 replies; 7+ messages in thread
From: Guðni Már Gilbert @ 2024-06-27 22:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Guðni Már Gilbert
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 <gudni.m.g@gmail.com>
---
.../{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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
@ 2024-06-27 22:41 Guðni Már Gilbert
2024-06-28 13:45 ` [oe] " Tom Geelen
0 siblings, 1 reply; 7+ messages in thread
From: Guðni Már Gilbert @ 2024-06-27 22:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Guðni Már Gilbert
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 <gudni.m.g@gmail.com>
---
.../{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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
2024-06-27 22:41 [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2 Guðni Már Gilbert
@ 2024-06-28 13:45 ` Tom Geelen
2024-06-28 14:09 ` Tim Orling
2024-06-28 15:47 ` Khem Raj
0 siblings, 2 replies; 7+ messages in thread
From: Tom Geelen @ 2024-06-28 13:45 UTC (permalink / raw)
To: gudni.m.g; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2628 bytes --]
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 <gudni.m.g=gmail.com@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 <gudni.m.g@gmail.com>
> ---
> .../{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 (#111131):
> https://lists.openembedded.org/g/openembedded-devel/message/111131
> Mute This Topic: https://lists.openembedded.org/mt/106918869/7396403
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> t.f.g.geelen@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 4991 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
2024-06-28 13:45 ` [oe] " Tom Geelen
@ 2024-06-28 14:09 ` Tim Orling
2024-06-28 15:47 ` Khem Raj
1 sibling, 0 replies; 7+ messages in thread
From: Tim Orling @ 2024-06-28 14:09 UTC (permalink / raw)
To: t.f.g.geelen; +Cc: gudni.m.g, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3301 bytes --]
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
<t.f.g.geelen=gmail.com@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 <gudni.m.g=gmail.com@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 <gudni.m.g@gmail.com>
>> ---
>> .../{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 (#111150):
> https://lists.openembedded.org/g/openembedded-devel/message/111150
> Mute This Topic: https://lists.openembedded.org/mt/106918869/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 6185 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
2024-06-28 13:45 ` [oe] " Tom Geelen
2024-06-28 14:09 ` Tim Orling
@ 2024-06-28 15:47 ` Khem Raj
2024-06-28 17:06 ` Guðni Már Gilbert
1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2024-06-28 15:47 UTC (permalink / raw)
To: t.f.g.geelen; +Cc: gudni.m.g, openembedded-devel
On Fri, Jun 28, 2024 at 6:45 AM Tom Geelen via lists.openembedded.org
<t.f.g.geelen=gmail.com@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 <gudni.m.g=gmail.com@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 <gudni.m.g@gmail.com>
>> ---
>> .../{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 (#111150): https://lists.openembedded.org/g/openembedded-devel/message/111150
> Mute This Topic: https://lists.openembedded.org/mt/106918869/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
2024-06-28 15:47 ` Khem Raj
@ 2024-06-28 17:06 ` Guðni Már Gilbert
2024-06-28 18:32 ` [oe] " Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Guðni Már Gilbert @ 2024-06-28 17:06 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1085 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2
2024-06-28 17:06 ` Guðni Már Gilbert
@ 2024-06-28 18:32 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2024-06-28 18:32 UTC (permalink / raw)
To: gudnimar; +Cc: openembedded-devel
On Fri, Jun 28, 2024 at 10:06 AM Guðni Már Gilbert via
lists.openembedded.org
<gudnimar=noxmedical.com@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-<recipename>
for say meta-python housed recipe once it builds then run bitbake
-ctestimage meta-python-image-ptest-<recipename> 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 (#111153): https://lists.openembedded.org/g/openembedded-devel/message/111153
> Mute This Topic: https://lists.openembedded.org/mt/106918869/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-28 18:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 22:41 [meta-python][PATCH] python3-bleak: upgrade 0.21.1 -> 0.22.2 Guðni Már Gilbert
2024-06-28 13:45 ` [oe] " Tom Geelen
2024-06-28 14:09 ` Tim Orling
2024-06-28 15:47 ` Khem Raj
2024-06-28 17:06 ` Guðni Már Gilbert
2024-06-28 18:32 ` [oe] " Khem Raj
-- strict thread matches above, loose matches on Subject: below --
2024-06-27 22:38 Guðni Már Gilbert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.