All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-incremental: cleanup RDEPENDS
@ 2024-04-18  9:29 Guðni Már Gilbert
  2024-04-19 14:08 ` [oe] " Tim Orling
  2024-04-19 18:22 ` Alper Ak
  0 siblings, 2 replies; 3+ messages in thread
From: Guðni Már Gilbert @ 2024-04-18  9:29 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Guðni Már Gilbert

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

incremental package does not need all twisted packages. Only the core package is required.
The goal with this change is to minimize dependency memory requirements.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
---
 .../recipes-devtools/python/python3-incremental_22.10.0.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
index 3d93cc05e..79fa15311 100644
--- a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c2
 inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
-    python3-twisted \
+    python3-twisted-core \
     python3-click \
 "
 
-- 
2.34.1

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.

[-- Attachment #2: Type: text/html, Size: 1750 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-incremental: cleanup RDEPENDS
  2024-04-18  9:29 [meta-python][PATCH] python3-incremental: cleanup RDEPENDS Guðni Már Gilbert
@ 2024-04-19 14:08 ` Tim Orling
  2024-04-19 18:22 ` Alper Ak
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Orling @ 2024-04-19 14:08 UTC (permalink / raw)
  To: gudnimar; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2271 bytes --]

On Thu, Apr 18, 2024 at 2:29 AM Guðni Már Gilbert via lists.openembedded.org
<gudnimar=noxmedical.com@lists.openembedded.org> wrote:

> incremental package does not need all twisted packages. Only the core
> package is required.
> The goal with this change is to minimize dependency memory requirements.
>
> Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
> ---
> .../recipes-devtools/python/python3-incremental_22.10.0.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-incremental_22.10.0.bb b/meta-python/recipes-devtools/python/
> python3-incremental_22.10.0.bb
> index 3d93cc05e..79fa15311 100644
> --- a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb
> @@ -8,7 +8,7 @@ SRC_URI[sha256sum] =
> "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c2
> inherit pypi setuptools3
>

This package defines a proper build-backend, so we should also consider
“inherit python_setuptools_build_meta” instead of setuptools.
https://github.com/twisted/incremental/blob/19a308d70d72d0aa95380125988d60abb23b64e3/pyproject.toml#L7


>
> RDEPENDS:${PN} += " \
> - python3-twisted \
> + python3-twisted-core \
> python3-click \
> "
>
> --
> 2.34.1
>
>
> Warning: Copyright Nox Health. This communication is confidential and may
> contain privileged information. By the use of email over the Internet or
> other communication systems, Nox Health is not waiving either
> confidentiality of, or legal privilege in, the content of the email and of
> any attachments. If the recipient of this message is not the intended
> addressee, please call Nox Health immediately by calling (+1) 888.505.0280
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#110052):
> https://lists.openembedded.org/g/openembedded-devel/message/110052
> Mute This Topic: https://lists.openembedded.org/mt/105594757/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 4143 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-python][PATCH] python3-incremental: cleanup RDEPENDS
  2024-04-18  9:29 [meta-python][PATCH] python3-incremental: cleanup RDEPENDS Guðni Már Gilbert
  2024-04-19 14:08 ` [oe] " Tim Orling
@ 2024-04-19 18:22 ` Alper Ak
  1 sibling, 0 replies; 3+ messages in thread
From: Alper Ak @ 2024-04-19 18:22 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Hi Gilbert,

First of all, thank you for your patch. But I'm getting error while building the recipe. Output:

ERROR: Nothing RPROVIDES 'python3-twisted-core-native' (but virtual:native:/opt/yocto_co/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'python3-twisted-core-native' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-twisted-core-native']

NOTE: Runtime target 'python3-twisted-core' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-twisted-core', 'python3-incremental-native', 'python3-twisted-core-native']

ERROR: Required build target 'python3-incremental' has no buildable providers.
Missing or unbuildable dependency chain was: ['python3-incremental', 'python3-twisted-core', 'python3-incremental-native', 'python3-twisted-core-native']

It would be nice if you could take a look at your free time.

Best Regards

[-- Attachment #2: Type: text/html, Size: 1083 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-19 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18  9:29 [meta-python][PATCH] python3-incremental: cleanup RDEPENDS Guðni Már Gilbert
2024-04-19 14:08 ` [oe] " Tim Orling
2024-04-19 18:22 ` Alper Ak

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.