From: "Tim Orling" <tim.orling@konsulko.com>
To: "Ross Burton" <Ross.Burton@arm.com>,
"tim.orling@konsulko.com" <tim.orling@konsulko.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2 4/5] python3-websockets: enable ptest; use git fetcher
Date: Sun, 08 Nov 2026 22:16:10 -0800 [thread overview]
Message-ID: <DMQGKWEKQD80.3AGDOFXBSG08H@konsulko.com> (raw)
In-Reply-To: <93C8C258-4D9A-46A2-9164-D177A681F6DC@arm.com>
On Thu Nov 5, 2026 at 6:41 AM PST, Ross Burton wrote:
> On 3 Nov 2026, at 19:38, Tim Orling via openembedded-core <tim.orling=konsulko.com@lists.openembedded.org> wrote:
>> The PyPI sdist prunes tests/, so fetch the 17.1 tag from git. This
>> re-enables ptest, reverted in a0488f2e1d when the sdist dropped the tests.
>>
>> Upstream advises packagers against running the suite because timeout
>> tests can flake on slow build farms; under ptest it runs on the target,
>> and it passed repeatedly on qemux86-64.
>
> Whilst I approve of ptests in general, I think this one will be a cause of pain.
>
> Tests are not shipped in the sdists on purpose[1], and upstream is very clear that the tests are not for packagers[2]:
>
> “”"
> If you’re packaging websockets for a distribution, you must use releases published on PyPI as input. You may check SLSA attestations on GitHub.
> You mustn’t rely on the git repository as input. Specifically, you mustn’t attempt to run the main test suite. It isn’t treated as a deliverable of the project. It doesn’t do what you think it does. It’s designed for the needs of developers, not packagers.
> On a typical build farm for a distribution, tests that exercise timeouts will fail randomly. Indeed, the test suite is optimized for running very fast, with a tolerable level of flakiness, on a high-end laptop without noisy neighbors. This isn’t your context.
> “””
>
> This feels like it will be too flaky for the autobuilder, even if we remove tests which have tight timeouts.
As much as I want ptest to feel comfortable with updates, I cannot deny your conclusions.
I am abandoning this series.
--Tim
>
> Ross
>
> [1] https://github.com/python-websockets/websockets/issues/1739#issuecomment-5016084799
> [2] https://websockets.readthedocs.io/en/stable/project/contributing.html#packaging
next prev parent reply other threads:[~2026-11-09 6:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 1:18 [PATCH 1/5] python3-uvloop: import 0.22.1 from meta-homeassistant tim.orling
2026-11-02 1:18 ` [PATCH 2/5] python3-uvloop: enable ptest tim.orling
2026-11-02 1:33 ` Patchtest results for " patchtest
2026-11-02 14:10 ` [OE-core] " Mathieu Dubois-Briand
2026-11-02 21:46 ` Tim Orling
2026-11-05 16:54 ` Joao Marcos Costa
2026-11-09 6:25 ` Tim Orling
2026-11-02 1:18 ` [PATCH 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-02 1:18 ` [PATCH 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-02 1:18 ` [PATCH 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling
2026-11-03 19:38 ` [PATCH v2 1/5] python3-uvloop: import 0.22.1 from meta-homeassistant tim.orling
2026-11-04 0:06 ` [PATCH v3 " tim.orling
2026-11-04 0:06 ` [PATCH v3 2/5] python3-uvloop: enable ptest tim.orling
2026-11-04 0:06 ` [PATCH v3 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-04 0:06 ` [PATCH v3 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-04 0:06 ` [PATCH v3 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling
2026-11-03 19:38 ` [PATCH v2 2/5] python3-uvloop: enable ptest tim.orling
2026-11-03 20:50 ` Trevor Gamblin
2026-11-03 21:18 ` [OE-core] " Tim Orling
2026-11-03 19:38 ` [PATCH v2 3/5] python3-uvloop: upgrade 0.22.1 -> 0.23.0 tim.orling
2026-11-03 19:38 ` [PATCH v2 4/5] python3-websockets: enable ptest; use git fetcher tim.orling
2026-11-05 14:41 ` [OE-core] " Ross Burton
2026-11-09 6:16 ` Tim Orling [this message]
2026-11-03 19:38 ` [PATCH v2 5/5] python3-websockets: upgrade 17.1 -> 17.4 tim.orling
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=DMQGKWEKQD80.3AGDOFXBSG08H@konsulko.com \
--to=tim.orling@konsulko.com \
--cc=Ross.Burton@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox