Skip to contentSkip to conversation

package/python: clarify that this refers to the deprecated 2.7 series

PATCH New Peter Korsgaard 2 participants 3 messages Feb 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python: clarify that this refers to the deprecated 2.7 series

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.

---
 package/python/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/Config.in +1 -1
index bded00c9e8..ab6950cae8 100644
@@ -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
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/python: clarify that this refers to the deprecated 2.7 series

Hello Peter,

Quoted 3 lines · Peter Korsgaard

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/?

Regards,
Peter

Quoted 20 lines

deprecated.

---
 package/python/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/Config.in +1 -1
index bded00c9e8..ab6950cae8 100644
@@ -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 lore raw

PATCH 1/1 package/python: clarify that this refers to the deprecated 2.7 series

In reply to Peter Korsgaard
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> 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.

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

Quoted 19 lines
---
 package/python/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/Config.in +1 -1
index bded00c9e8..ab6950cae8 100644
@@ -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
Signature · 1 line
2.20.1
Signature · 1 line
Bye, Peter Korsgaard