All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Leon Anavi" <leon.anavi@konsulko.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [[PATCHv2] python3-pyzstd: Upgrade 0.17.0 -> 0.19.1
Date: Sat, 31 Jan 2026 10:09:35 +0100	[thread overview]
Message-ID: <DG2NO21MCM0Z.1O2COT6XY25OU@bootlin.com> (raw)
In-Reply-To: <CALtQ3O3yqQrStH+99WU04rah6d-pOBGP2nONOW=mPK5d+DkKSw@mail.gmail.com>

On Thu Jan 29, 2026 at 12:22 PM CET, Leon Anavi wrote:
> Hi Mathieu,
>
> On Wed, Jan 28, 2026 at 7:03 PM Mathieu Dubois-Briand <
> mathieu.dubois-briand@bootlin.com> wrote:
>
>> On Tue Jan 27, 2026 at 10:18 AM CET, Leon Anavi via lists.openembedded.org
>> wrote:
>> > Upgrade to release 0.19.1:
>> >
>> > - Fix SeekableZstdFile write table entries on 32-bits architectures
>> >   when there is a huge number of entries
>> >
>> > From release 0.19.0:
>> >
>> > - The project has been completely refactored to use the Zstandard
>> >   implementation from the standard library (PEP-784)
>> > - The refactor has some minor impact on public APIs, such as
>> >   changing the exception raised on invalid input
>> > - Add backports.zstd dependency for Python before 3.14
>> > - Changes in build dependency: remove setuptools and C build
>> >   toolchain, add hatchling and hatch-vcs
>> > - Remove git submodule usage
>> > - Drop support for Python 3.9 and below
>> > - Use ruff as formatter and linter
>> > - Embed type hints in Python code, and check with mypy
>> >
>> > All ptests pass following python3 upgrade from 3.13.11 to 3.14.0.
>> >
>> > Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>> > ---
>>
>> Hi Leon,
>>
>> Thanks for the new version.
>>
>> It looks like this is breaking some ptest:
>>
>> Failed ptests:
>> {'python3-pyzstd': 'START: ptest-runner\n'
>>                    '2026-01-28T16:27\n'
>>                    '\n'
>> ...
>>                    "E   ImportError: cannot import name 'zstd' from "
>>                    "'compression' (unknown location)\n"
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/2996
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1005
>>
>> Test results can be found here:
>>
>>
>> https://valkyrie.yocto.io/pub/non-release/20260128-86/testresults/qemux86-64-ptest/core-image-ptest-python3-pyzstd/
>> Test results for riscv64 and arm64 are not published at this time, as
>> some tests are still running. They will all end-up in
>> https://valkyrie.yocto.io/pub/non-release/20260128-86/testresults/
>>
>> Can you have a look at these failures?
>>
>
> Hm, I am not exactly sure what's going on. On my Raspberry Pi 5 test
> setup ptest-runner python3-pyzstd doesn't report any issues:
>
> Testsuite summary
> # TOTAL: 209
> # PASS: 209
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 0
> # XPASS: 0
> # ERROR: 0
> DURATION: 4
> END: /usr/lib/python3-pyzstd/ptest
> 2026-01-29T11:17
> STOP: ptest-runner
> TOTAL: 1 FAIL: 0
>
> I will take another look after FOSDEM. I will likely need to reproduce your
> exact test environment. In the meantime, do you have any hints about what
> might be causing the test failures on your side?
>
> Best regards, Leon
>
>

Hi Leon,

I'm not really sure about what is the issue here, but maybe a different
configuration or a missing dependency.

If you need any data about how to reproduce it in qemu, all data should
be in the build, particularly in the "Write config" step:
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/5139973/raw_inline

So basically:

SDKMACHINE = "x86_64"
TEST_SUITES = 'ping ssh ptest'
SANITY_TESTED_DISTROS = ''
EXTRA_IMAGE_FEATURES ?= 'allow-empty-password empty-root-password allow-root-login'

bitbake-config-build enable-fragment machine/qemux86-64
bitbake-config-build enable-fragment distro/poky

bitbake core-image-ptest-python3-pyzstd
bitbake -c do_testimage core-image-ptest-python3-pyzstd

Please tell me if you have any issue reproducing the failure.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



      reply	other threads:[~2026-01-31  9:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-27  9:18 [[PATCHv2] python3-pyzstd: Upgrade 0.17.0 -> 0.19.1 Leon Anavi
2026-01-28 17:03 ` [OE-core] " Mathieu Dubois-Briand
2026-01-29 11:22   ` Leon Anavi
2026-01-31  9:09     ` Mathieu Dubois-Briand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DG2NO21MCM0Z.1O2COT6XY25OU@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=leon.anavi@konsulko.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.