* [PATCH] python3: drop old nis module dependencies
@ 2025-06-08 12:22 Guðni Már Gilbert
2025-06-08 12:25 ` Guðni Már Gilbert
2025-06-09 9:54 ` [OE-core] " Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Guðni Már Gilbert @ 2025-06-08 12:22 UTC (permalink / raw)
To: openembedded-core; +Cc: Guðni Már Gilbert
libnsl2 and libtirpc were build dependencies for the nis module.
The nis module was deprecated in Python 3.11 and removed in Python 3.13
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
---
meta/recipes-devtools/python/python3_3.13.3.bb | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/recipes-devtools/python/python3_3.13.3.bb b/meta/recipes-devtools/python/python3_3.13.3.bb
index 6839d28e19..11dd6f4b8f 100644
--- a/meta/recipes-devtools/python/python3_3.13.3.bb
+++ b/meta/recipes-devtools/python/python3_3.13.3.bb
@@ -72,8 +72,6 @@ DEPENDS = "\
bzip2-replacement-native \
expat \
libffi \
- libnsl2 \
- libtirpc \
ncurses \
openssl \
sqlite3 \
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] python3: drop old nis module dependencies
2025-06-08 12:22 [PATCH] python3: drop old nis module dependencies Guðni Már Gilbert
@ 2025-06-08 12:25 ` Guðni Már Gilbert
2025-06-09 9:54 ` [OE-core] " Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Guðni Már Gilbert @ 2025-06-08 12:25 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
I'm 90% sure these build dependencies are not needed anymore, See: https://github.com/python/cpython/pull/104897
Hopefully I didn't missing anything. The build succeeds locally for me. It would be nice to have another set of eyes to review this :) Fewer dependencies is always nice if possible.
[-- Attachment #2: Type: text/html, Size: 429 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [OE-core] [PATCH] python3: drop old nis module dependencies
2025-06-08 12:22 [PATCH] python3: drop old nis module dependencies Guðni Már Gilbert
2025-06-08 12:25 ` Guðni Már Gilbert
@ 2025-06-09 9:54 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2025-06-09 9:54 UTC (permalink / raw)
To: gudni.m.g, openembedded-core
On Sun, 2025-06-08 at 12:22 +0000, Guðni Már Gilbert via lists.openembedded.org wrote:
> libnsl2 and libtirpc were build dependencies for the nis module.
>
> The nis module was deprecated in Python 3.11 and removed in Python 3.13
>
> Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
> ---
> meta/recipes-devtools/python/python3_3.13.3.bb | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python3_3.13.3.bb b/meta/recipes-devtools/python/python3_3.13.3.bb
> index 6839d28e19..11dd6f4b8f 100644
> --- a/meta/recipes-devtools/python/python3_3.13.3.bb
> +++ b/meta/recipes-devtools/python/python3_3.13.3.bb
> @@ -72,8 +72,6 @@ DEPENDS = "\
> bzip2-replacement-native \
> expat \
> libffi \
> - libnsl2 \
> - libtirpc \
> ncurses \
> openssl \
> sqlite3 \
>
Well spotted, removing things like this is definitely desirable!
I think this patch causes xwayland to break as it was seeing libtirpc
through python's dependency but that is a bug in the xwayland recipe we
should find separately, I've sent a patch. I'll retry testing and see
if anything else shows up.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-09 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 12:22 [PATCH] python3: drop old nis module dependencies Guðni Már Gilbert
2025-06-08 12:25 ` Guðni Már Gilbert
2025-06-09 9:54 ` [OE-core] " Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox