[Buildroot] [git commit] package/python: clarify that this refers to the deprecated 2.7 series

Peter Korsgaard peter at korsgaard.com
Mon Feb 8 21:10:41 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=c699ad14744423011793a62d9401da4a48ce7c0d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Python 2.7 is EOL, so people should use the python3 package instead if
possible.  Make it a bit more obvious that 'python' is not the right package
to use by explicitly mentioning that this is about python 2.7 and that it is
deprecated.

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Reviewed-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/python/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/python/Config.in b/package/python/Config.in
index bded00c9e8..ab6950cae8 100644
--- a/package/python/Config.in
+++ b/package/python/Config.in
@@ -3,7 +3,7 @@ comment "python needs a toolchain w/ wchar, threads, dynamic library"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_PYTHON
-	bool "python"
+	bool "python2.7 (deprecated)"
 	depends on BR2_USE_WCHAR
 	# uses fork()
 	depends on BR2_USE_MMU


More information about the buildroot mailing list