From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: Check for occluded packages before testing
Date: Sat, 05 Aug 2023 17:10:17 +0200 [thread overview]
Message-ID: <ffe5b5339f91eb883ae30bf298ac55fc7c1c9f77.camel@gentoo.org> (raw)
In-Reply-To: <20230805123941.21249-1-mgorny@gentoo.org>
On Sat, 2023-08-05 at 14:39 +0200, Michał Górny wrote:
> Add a check for installed packages being occluded by the working
> directory when calling epytest and eunittest. This is primarily meant
> to detect C extensions being missed.
By the way, I've finally figured out which package was when I've noticed
the problem for this first time. It is dev-python/ijson -- if you
remove the 'rm -rf' from test phase, you'd notice that a bunch of tests
are being skipped because of missing C extension -- but that's easy to
miss. With this patch, you get a more verbose QA warning.
That said, I have no clue if we won't see many false positives,
and that's why it's covered by a condition so that only people from
Python team would enable it until we know better.
--
Best regards,
Michał Górny
prev parent reply other threads:[~2023-08-05 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 12:39 [gentoo-dev] [PATCH] python-utils-r1.eclass: Check for occluded packages before testing Michał Górny
2023-08-05 15:10 ` Michał Górny [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=ffe5b5339f91eb883ae30bf298ac55fc7c1c9f77.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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