From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Quentin Schulz" <quentin.schulz@cherry.de>,
<docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [yocto-docs PATCH 07/14] ref-manual/classes: document the cython class
Date: Fri, 20 Dec 2024 10:06:40 +0100 [thread overview]
Message-ID: <D6GEQ3K5UI34.3K7Z40GYRTXDN@bootlin.com> (raw)
In-Reply-To: <d7746edb-c7b9-47ee-a793-43c15fbc00c4@cherry.de>
Hi Quentin,
On Tue Dec 17, 2024 at 11:48 AM CET, Quentin Schulz wrote:
> Hi Antonin,
>
> On 12/17/24 10:27 AM, Antonin Godard via lists.yoctoproject.org wrote:
>> Small class added in oecore by commit
>> 64b6e8580842949be58f97f4dff91d1f097c4020 ("classes-recipe: add cython
>> class").
>>
>> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
>> ---
>> documentation/ref-manual/classes.rst | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
>> index 3d61d8d7a00b21fcff82a771f9718013fae36694..47f049c7435a989f30c033b7b12d86482686ac77 100644
>> --- a/documentation/ref-manual/classes.rst
>> +++ b/documentation/ref-manual/classes.rst
>> @@ -614,6 +614,17 @@ You will find some more details in the
>> ":ref:`dev-manual/vulnerabilities:checking for vulnerabilities`"
>> section in the Development Tasks Manual.
>>
>> +.. _ref-classes-cython:
>> +
>> +``cython``
>> +==========
>> +
>> +The :ref:`ref-classes-cython` class can be used by Python recipes that require
>> +:oe_git:`Cython </openembedded-core/tree/meta/recipes-devtools/python/python3-cython_3.0.11.bb>`
>
> I'm not entirely sure this is a good idea. This will eventually change
> during a version upgrade and the recipe at that version disappear and
> this link be useless. Two options: no link or a link from a specific
> commit so it is always there.
>
> I am not entirely sure pointing to the Cython recipe provides anything
> meaningful here so I would vote for removing the link (could be a link
> to the Cython project instead?).
Of course, I forgot about this.
I will link the Cython project instead.
>> +as part of their build dependencies (:term:`DEPENDS`). It also improves
>> +reproducibility for these recipes by stripping potential leftovers build paths
>> +in compilation outputs.
>> +
>
> I'm not sure the reproducibility improvement need to be mentioned here.
> It seems to me like this could be interpreted as "if you want improved
> reproducibility you can include this class even if the recipe doesn't
> need Cython". If it needs Cython, I assume the leftover issues for
> reproducibility are coming from Cython so it's expected we fix those?
> Not sure it's very clear what I'm trying to convey here?
Yes, and there must other places where reproducibility is improved and the docs
doesn't mention it. I'll remove this.
Thanks!
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-12-20 9:06 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 9:26 [yocto-docs PATCH 00/14] Updates from recent core changes Antonin Godard
2024-12-17 9:27 ` [yocto-docs PATCH 01/14] ref-manual/variables: document the KERNEL_CONSOLE variable Antonin Godard
2024-12-17 10:05 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 02/14] ref-manual/classes: drop the migrate_localcount class Antonin Godard
2024-12-17 10:14 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 03/14] ref-manual/variables: document the FIRMWARE_COMPRESSION variable Antonin Godard
2024-12-17 10:28 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 04/14] ref-manual/variables: add missing entries to SDK_ARCHIVE_TYPE Antonin Godard
2024-12-17 10:34 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 05/14] ref-manual/variables: document the WIC_SECTOR_SIZE variable Antonin Godard
2024-12-17 10:37 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 06/14] ref-manual/variable: remove obsolete SETUPTOOLS_INSTALL_ARGS Antonin Godard
2024-12-17 10:39 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 07/14] ref-manual/classes: document the cython class Antonin Godard
2024-12-17 10:48 ` [docs] " Quentin Schulz
2024-12-20 9:06 ` Antonin Godard [this message]
2024-12-17 9:27 ` [yocto-docs PATCH 08/14] Remove debug-tweaks references Antonin Godard
2024-12-17 9:27 ` [yocto-docs PATCH 09/14] Drop support for BB_DANGLINGAPPENDS_WARNONLY Antonin Godard
2024-12-17 14:08 ` [docs] " Quentin Schulz
2024-12-20 9:17 ` Antonin Godard
2024-12-17 9:27 ` [yocto-docs PATCH 10/14] ref-manual/variables: document the CHECKLAYER_REQUIRED_TESTS variable Antonin Godard
2024-12-17 14:14 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 11/14] ref-manual/classes: document the yocto-check-layer class Antonin Godard
2024-12-17 14:15 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 12/14] ref-manual/variables: document the CARGO_INSTALL_LIBRARIES variable Antonin Godard
2024-12-17 14:32 ` [docs] " Quentin Schulz
2024-12-17 9:27 ` [yocto-docs PATCH 13/14] ref-manual/variables: document the PREFERRED_RPROVIDER variable Antonin Godard
2024-12-17 14:43 ` [docs] " Quentin Schulz
2024-12-20 10:31 ` Antonin Godard
2024-12-17 9:27 ` [yocto-docs PATCH 14/14] migration-guides: update the release notes for 5.2 Antonin Godard
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=D6GEQ3K5UI34.3K7Z40GYRTXDN@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=quentin.schulz@cherry.de \
--cc=thomas.petazzoni@bootlin.com \
/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