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....@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....@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....@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 (#111151): 
https://lists.openembedded.org/g/openembedded-devel/message/111151
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to