* [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules
@ 2026-03-04 7:42 Shubham Chakraborty
2026-03-07 15:57 ` Julien Olivain via buildroot
2026-03-14 7:53 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Shubham Chakraborty @ 2026-03-04 7:42 UTC (permalink / raw)
To: buildroot
Cc: james.hilliard1, thomas.petazzoni, Shubham Chakraborty,
maxime.ripard, Pablogsal
These modules were dropped in Python 3.13 as per PEP 594.
The current version in Buildroot is 3.14.3.
- Remove the TODO and related config overrides in python3.mk.
- Remove BR2_PACKAGE_PYTHON3_OSSAUDIODEV from Config.in.
- Add BR2_PACKAGE_PYTHON3_OSSAUDIODEV to Config.in.legacy.
Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
---
Config.in.legacy | 6 ++++++
package/python3/Config.in | 5 -----
package/python3/python3.mk | 12 ++----------
3 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index a2a7b06a6d..9a9f83eb36 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2026.02"
+config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
+ bool "python3 ossaudiodev module removed"
+ select BR2_LEGACY
+ help
+ The ossaudiodev module was removed in Python 3.13.
+
config BR2_PACKAGE_QEMU_TARGET_CRIS
bool "qemu cris support has been removed"
select BR2_LEGACY
diff --git a/package/python3/Config.in b/package/python3/Config.in
index 423e5daabb..f9d3d3aaa2 100644
--- a/package/python3/Config.in
+++ b/package/python3/Config.in
@@ -76,11 +76,6 @@ config BR2_PACKAGE_PYTHON3_DECIMAL
help
decimal module for Python3.
-config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
- bool "ossaudiodev module"
- help
- ossaudiodev module for Python3.
-
config BR2_PACKAGE_PYTHON3_READLINE
bool "readline"
select BR2_PACKAGE_READLINE
diff --git a/package/python3/python3.mk b/package/python3/python3.mk
index a240349d3e..07cba7c02d 100644
--- a/package/python3/python3.mk
+++ b/package/python3/python3.mk
@@ -28,7 +28,6 @@ HOST_PYTHON3_CONF_OPTS += \
# Make sure that LD_LIBRARY_PATH overrides -rpath.
# This is needed because libpython may be installed at the same time that
# python is called.
-# TODO: nis and ossaudiodev modules will be dropped in 3.13: https://peps.python.org/pep-0594/
HOST_PYTHON3_CONF_ENV += \
LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \
py_cv_module_unicodedata=yes \
@@ -38,9 +37,7 @@ HOST_PYTHON3_CONF_ENV += \
py_cv_module__codecs_jp=n/a \
py_cv_module__codecs_kr=n/a \
py_cv_module__codecs_tw=n/a \
- py_cv_module__uuid=n/a \
- py_cv_module_nis=n/a \
- py_cv_module_ossaudiodev=n/a
+ py_cv_module__uuid=n/a
PYTHON3_DEPENDENCIES = host-python3 libffi
@@ -176,17 +173,12 @@ else
PYTHON3_CONF_ENV += py_cv_module__zstd=n/a
endif
-ifneq ($(BR2_PACKAGE_PYTHON3_OSSAUDIODEV),y)
-PYTHON3_CONF_ENV += py_cv_module_ossaudiodev=n/a
-endif
-
PYTHON3_CONF_ENV += \
ac_cv_have_long_long_format=yes \
ac_cv_buggy_getaddrinfo=no \
ac_cv_file__dev_ptmx=yes \
ac_cv_file__dev_ptc=yes \
- ac_cv_working_tzset=yes \
- py_cv_module_nis=n/a
+ ac_cv_working_tzset=yes
# GCC is always compliant with IEEE754
ifeq ($(BR2_ENDIAN),"LITTLE")
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules
2026-03-04 7:42 [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules Shubham Chakraborty
@ 2026-03-07 15:57 ` Julien Olivain via buildroot
2026-03-14 7:53 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-07 15:57 UTC (permalink / raw)
To: Shubham Chakraborty
Cc: buildroot, james.hilliard1, thomas.petazzoni, maxime.ripard,
Pablogsal
On 04/03/2026 08:42, Shubham Chakraborty wrote:
> These modules were dropped in Python 3.13 as per PEP 594.
> The current version in Buildroot is 3.14.3.
>
> - Remove the TODO and related config overrides in python3.mk.
> - Remove BR2_PACKAGE_PYTHON3_OSSAUDIODEV from Config.in.
> - Add BR2_PACKAGE_PYTHON3_OSSAUDIODEV to Config.in.legacy.
>
> Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules
2026-03-04 7:42 [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules Shubham Chakraborty
2026-03-07 15:57 ` Julien Olivain via buildroot
@ 2026-03-14 7:53 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-14 7:53 UTC (permalink / raw)
To: Shubham Chakraborty; +Cc: Thomas Perale, buildroot
In reply of:
> These modules were dropped in Python 3.13 as per PEP 594.
> The current version in Buildroot is 3.14.3.
>
> - Remove the TODO and related config overrides in python3.mk.
> - Remove BR2_PACKAGE_PYTHON3_OSSAUDIODEV from Config.in.
> - Add BR2_PACKAGE_PYTHON3_OSSAUDIODEV to Config.in.legacy.
>
> Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
Applied to 2025.11.x & 2026.02.x. Thanks
> ---
> Config.in.legacy | 6 ++++++
> package/python3/Config.in | 5 -----
> package/python3/python3.mk | 12 ++----------
> 3 files changed, 8 insertions(+), 15 deletions(-)
>
> diff --git a/Config.in.legacy b/Config.in.legacy
> index a2a7b06a6d..9a9f83eb36 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,12 @@ endif
>
> comment "Legacy options removed in 2026.02"
>
> +config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
> + bool "python3 ossaudiodev module removed"
> + select BR2_LEGACY
> + help
> + The ossaudiodev module was removed in Python 3.13.
> +
> config BR2_PACKAGE_QEMU_TARGET_CRIS
> bool "qemu cris support has been removed"
> select BR2_LEGACY
> diff --git a/package/python3/Config.in b/package/python3/Config.in
> index 423e5daabb..f9d3d3aaa2 100644
> --- a/package/python3/Config.in
> +++ b/package/python3/Config.in
> @@ -76,11 +76,6 @@ config BR2_PACKAGE_PYTHON3_DECIMAL
> help
> decimal module for Python3.
>
> -config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
> - bool "ossaudiodev module"
> - help
> - ossaudiodev module for Python3.
> -
> config BR2_PACKAGE_PYTHON3_READLINE
> bool "readline"
> select BR2_PACKAGE_READLINE
> diff --git a/package/python3/python3.mk b/package/python3/python3.mk
> index a240349d3e..07cba7c02d 100644
> --- a/package/python3/python3.mk
> +++ b/package/python3/python3.mk
> @@ -28,7 +28,6 @@ HOST_PYTHON3_CONF_OPTS += \
> # Make sure that LD_LIBRARY_PATH overrides -rpath.
> # This is needed because libpython may be installed at the same time that
> # python is called.
> -# TODO: nis and ossaudiodev modules will be dropped in 3.13: https://peps.python.org/pep-0594/
> HOST_PYTHON3_CONF_ENV += \
> LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \
> py_cv_module_unicodedata=yes \
> @@ -38,9 +37,7 @@ HOST_PYTHON3_CONF_ENV += \
> py_cv_module__codecs_jp=n/a \
> py_cv_module__codecs_kr=n/a \
> py_cv_module__codecs_tw=n/a \
> - py_cv_module__uuid=n/a \
> - py_cv_module_nis=n/a \
> - py_cv_module_ossaudiodev=n/a
> + py_cv_module__uuid=n/a
>
> PYTHON3_DEPENDENCIES = host-python3 libffi
>
> @@ -176,17 +173,12 @@ else
> PYTHON3_CONF_ENV += py_cv_module__zstd=n/a
> endif
>
> -ifneq ($(BR2_PACKAGE_PYTHON3_OSSAUDIODEV),y)
> -PYTHON3_CONF_ENV += py_cv_module_ossaudiodev=n/a
> -endif
> -
> PYTHON3_CONF_ENV += \
> ac_cv_have_long_long_format=yes \
> ac_cv_buggy_getaddrinfo=no \
> ac_cv_file__dev_ptmx=yes \
> ac_cv_file__dev_ptc=yes \
> - ac_cv_working_tzset=yes \
> - py_cv_module_nis=n/a
> + ac_cv_working_tzset=yes
>
> # GCC is always compliant with IEEE754
> ifeq ($(BR2_ENDIAN),"LITTLE")
> --
> 2.53.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-14 7:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04 7:42 [Buildroot] [PATCH] package/python3: remove nis and ossaudiodev modules Shubham Chakraborty
2026-03-07 15:57 ` Julien Olivain via buildroot
2026-03-14 7:53 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox