All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series
@ 2021-02-08 13:24 Peter Korsgaard
  2021-02-08 17:46 ` Peter Seiderer
  2021-02-08 21:11 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-08 13:24 UTC (permalink / raw)
  To: buildroot

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 if about python 2.7 and that it is
deprecated.

Signed-off-by: Peter Korsgaard <peter@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
-- 
2.20.1

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

* [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series
  2021-02-08 13:24 [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series Peter Korsgaard
@ 2021-02-08 17:46 ` Peter Seiderer
  2021-02-08 21:11 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2021-02-08 17:46 UTC (permalink / raw)
  To: buildroot

Hello Peter,

On Mon,  8 Feb 2021 14:24:11 +0100, Peter Korsgaard <peter@korsgaard.com> wrote:

> 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 if about python 2.7 and that it is

s/this if about/this is about/?

Reviewed-by: Peter Seiderer <ps.report@gmx.net>

Regards,
Peter

> deprecated.
>
> Signed-off-by: Peter Korsgaard <peter@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

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

* [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series
  2021-02-08 13:24 [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series Peter Korsgaard
  2021-02-08 17:46 ` Peter Seiderer
@ 2021-02-08 21:11 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-02-08 21:11 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > 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 if about python 2.7 and that it is
 > deprecated.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed after fixing s/if/is/ in the commit message as pointed out by
Peter S., thanks.

 > ---
 >  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
 > -- 
 > 2.20.1


-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2021-02-08 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 13:24 [Buildroot] [PATCH] package/python: clarify that this refers to the deprecated 2.7 series Peter Korsgaard
2021-02-08 17:46 ` Peter Seiderer
2021-02-08 21:11 ` Peter Korsgaard

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.