* [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
@ 2024-06-19 17:03 Guðni Már Gilbert
2024-06-19 17:06 ` Guðni Már Gilbert
0 siblings, 1 reply; 12+ messages in thread
From: Guðni Már Gilbert @ 2024-06-19 17:03 UTC (permalink / raw)
To: openembedded-core; +Cc: Guðni Már Gilbert
2to3 module was dropped as a dependency in setuptools 58.0
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
---
meta/recipes-devtools/python/python3-setuptools_69.5.1.bb | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
index 8261b09d16..cc6256db80 100644
--- a/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
@@ -16,7 +16,6 @@ SRC_URI[sha256sum] = "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611
DEPENDS += "python3"
RDEPENDS:${PN} = "\
- python3-2to3 \
python3-compile \
python3-compression \
python3-ctypes \
--
2.34.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-19 17:03 [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS Guðni Már Gilbert
@ 2024-06-19 17:06 ` Guðni Már Gilbert
2024-06-20 9:57 ` [OE-core] " Ross Burton
0 siblings, 1 reply; 12+ messages in thread
From: Guðni Már Gilbert @ 2024-06-19 17:06 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
Noticed this when trying to optimize my minimal image. I would love to see this in Scarthgap as well if the patch is accepted.
This change saves ~600KiB according to buildhistory output (given no other recipe is asking for python3-2to3).
[-- Attachment #2: Type: text/html, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [OE-core] [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-19 17:06 ` Guðni Már Gilbert
@ 2024-06-20 9:57 ` Ross Burton
2024-06-20 11:19 ` Guðni Már Gilbert
0 siblings, 1 reply; 12+ messages in thread
From: Ross Burton @ 2024-06-20 9:57 UTC (permalink / raw)
To: gudnimar@noxmedical.com; +Cc: openembedded-core@lists.openembedded.org
> On 19 Jun 2024, at 18:06, Guðni Már Gilbert via lists.openembedded.org <gudnimar=noxmedical.com@lists.openembedded.org> wrote:
>
> Noticed this when trying to optimize my minimal image. I would love to see this in Scarthgap as well if the patch is accepted.
>
> This change saves ~600KiB according to buildhistory output (given no other recipe is asking for python3-2to3).
That does beg the question of why setuptools was part of a minimal image in the first place? Was that a requirement of yours, or is something pulling setuptools into all images?
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-20 9:57 ` [OE-core] " Ross Burton
@ 2024-06-20 11:19 ` Guðni Már Gilbert
2024-06-20 11:30 ` Guðni Már Gilbert
0 siblings, 1 reply; 12+ messages in thread
From: Guðni Már Gilbert @ 2024-06-20 11:19 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
On Thu, Jun 20, 2024 at 09:57 AM, Ross Burton wrote:
>
> That does beg the question of why setuptools was part of a minimal image
> in the first place? Was that a requirement of yours, or is something
> pulling setuptools into all images?
>
> Ross
Hi Ross,
My minimal image requires gobject-introspection which for some reason is requiring setuptools at runtime. This was not a requirement in Kirkstone, and only appeared when I migrated my project to Scarthgap.
See: https://git.openembedded.org/openembedded-core/tree/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.78.1.bb?h=scarthgap#n192
I haven't looked into if this is correct or what part of gobject-introspection requires setuptools at runtime. On Kirkstone, my image ran fine without both distutils and setuptools at runtime.
[-- Attachment #2: Type: text/html, Size: 1056 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-20 11:19 ` Guðni Már Gilbert
@ 2024-06-20 11:30 ` Guðni Már Gilbert
2024-06-20 12:46 ` [OE-core] " Ross Burton
0 siblings, 1 reply; 12+ messages in thread
From: Guðni Már Gilbert @ 2024-06-20 11:30 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
To add to this topic, I found https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/395
I wonder if setuptools is a build-time dependency only.
[-- Attachment #2: Type: text/html, Size: 275 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [OE-core] [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-20 11:30 ` Guðni Már Gilbert
@ 2024-06-20 12:46 ` Ross Burton
2024-06-21 7:47 ` Alexander Kanavin
0 siblings, 1 reply; 12+ messages in thread
From: Ross Burton @ 2024-06-20 12:46 UTC (permalink / raw)
To: gudnimar@noxmedical.com; +Cc: openembedded-core@lists.openembedded.org
> On 20 Jun 2024, at 12:30, Guðni Már Gilbert via lists.openembedded.org <gudnimar=noxmedical.com@lists.openembedded.org> wrote:
>
> To add to this topic, I found https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/395
>
> I wonder if setuptools is a build-time dependency only.
Yes, quite possibly.
Ross
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [OE-core] [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS
2024-06-20 12:46 ` [OE-core] " Ross Burton
@ 2024-06-21 7:47 ` Alexander Kanavin
2024-06-21 11:14 ` Guðni Már Gilbert
0 siblings, 1 reply; 12+ messages in thread
From: Alexander Kanavin @ 2024-06-21 7:47 UTC (permalink / raw)
To: ross.burton
Cc: gudnimar@noxmedical.com, openembedded-core@lists.openembedded.org
On Thu, 20 Jun 2024 at 14:47, Ross Burton via lists.openembedded.org
<ross.burton=arm.com@lists.openembedded.org> wrote:
> > On 20 Jun 2024, at 12:30, Guðni Már Gilbert via lists.openembedded.org <gudnimar=noxmedical.com@lists.openembedded.org> wrote:
> >
> > To add to this topic, I found https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/395
> >
> > I wonder if setuptools is a build-time dependency only.
>
> Yes, quite possibly.
I think the real issue is that we place *.typelib data,
libgirepository library and g-i tools into the same target package.
The tools are what requires setuptools, but almost everyone would not
need them on the target. No idea why this wasn't raised or noticed
until now.
I guess the tools could be split into ${PN}-tools?
Alex
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-06-27 8:23 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 17:03 [PATCH] python3-setuptools: drop python3-2to3 from RDEPENDS Guðni Már Gilbert
2024-06-19 17:06 ` Guðni Már Gilbert
2024-06-20 9:57 ` [OE-core] " Ross Burton
2024-06-20 11:19 ` Guðni Már Gilbert
2024-06-20 11:30 ` Guðni Már Gilbert
2024-06-20 12:46 ` [OE-core] " Ross Burton
2024-06-21 7:47 ` Alexander Kanavin
2024-06-21 11:14 ` Guðni Már Gilbert
2024-06-24 10:58 ` [OE-core] " Ross Burton
2024-06-24 13:15 ` Guðni Már Gilbert
2024-06-27 8:17 ` Guðni Már Gilbert
2024-06-27 8:22 ` [OE-core] " Alexander Kanavin
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.