Skip to contentSkip to conversation

package/python-future: fix dependency

PATCH New Louis Aussedat 3 participants 4 messages May 11, 2020 – May 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-future: fix dependency

python-future does not depends on python2.
The package work with python 3.x.

---
 package/python-future/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-future/Config.in +0 -1
index 29303f334d..8a3fd38f36 100644
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_FUTURE
 	bool "python-future"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  Easy, clean, reliable Python 2/3 compatibility.
 
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/python-future: fix dependency

Quoted 13 lines · On Mon, 11 May 2020 20:42:53 +0200 Louis Aussedat <[email protected]>…

python-future does not depends on python2.
The package work with python 3.x.

---
 package/python-future/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-future/Config.in +0 -0
index 29303f334d..8a3fd38f36 100644

package/python-future/Config.in line 4

Quoted 5 lines
package/python-future/Config.in +0 -1
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PYTHON_FUTURE
 	bool "python-future"
-	depends on BR2_PACKAGE_PYTHON
 	help
 	  Easy, clean, reliable Python 2/3 compatibility.

But is it useful for Python 3.x ? I thought it was providing Python 3.x features to Python 2.x.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/python-future: fix dependency

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Quoted 8 lines · On Mon, 11 May 2020 20:42:53 +0200 Louis Aussedat <[email protected]>…

python-future does not depends on python2.
The package work with python 3.x.

---
package/python-future/Config.in | 1 -

1 file changed, 1 deletion(-)
Quoted 13 lines
Quoted 10 lines
package/python-future/Config.in +0 -0
index 29303f334d..8a3fd38f36 100644
@@ -1,6 +1,5 @@

config BR2_PACKAGE_PYTHON_FUTURE
bool "python-future"

package/python-future/Config.in +0 -1
-	depends on BR2_PACKAGE_PYTHON

help
Easy, clean, reliable Python 2/3 compatibility.

But is it useful for Python 3.x ? I thought it was providing Python 3.x features to Python 2.x.

True, but if your code uses the module and you want to run it with python 3.x, then you need a python3 version of the module.

Debian also provides both a python-future and a python3-future package.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard