* [ptxdist] [PATCH] python: move to staging
@ 2019-09-25 13:08 Roland Hieber
2019-10-25 7:28 ` Michael Olbrich
0 siblings, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2019-09-25 13:08 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Use of Python 2 has been widely discouraged [citation needed], and
remaining users should start migrating to Python 3 [1]. Prepare for
Python 2 End-of-Life, which is in about three months from now [2].
[1]: https://www.python.org/dev/peps/pep-0404/#id13
[2]: https://pythonclock.org/
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/python-imaging.in | 7 ++++++-
rules/python-protobuf.in | 6 +++++-
rules/python-pyro.in | 7 ++++++-
rules/python-routing.in | 7 ++++++-
rules/python-rplicmp.in | 7 ++++++-
rules/python.in | 7 ++++++-
6 files changed, 35 insertions(+), 6 deletions(-)
diff --git a/rules/python-imaging.in b/rules/python-imaging.in
index c64d79e74438..1f5bf963866d 100644
--- a/rules/python-imaging.in
+++ b/rules/python-imaging.in
@@ -1,4 +1,6 @@
-## SECTION=python
+## SECTION=staging
+## old section:
+### SECTION=python
menuconfig PYTHON_IMAGING
tristate
@@ -10,6 +12,9 @@ menuconfig PYTHON_IMAGING
help
FIXME
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
+
if PYTHON_IMAGING
config PYTHON_IMAGING_FREETYPE
diff --git a/rules/python-protobuf.in b/rules/python-protobuf.in
index b22bc715c8e2..bc41cf9a192c 100644
--- a/rules/python-protobuf.in
+++ b/rules/python-protobuf.in
@@ -1,4 +1,6 @@
-## SECTION=python
+## SECTION=staging
+## old section:
+### SECTION=python
config PYTHON_PROTOBUF
tristate
@@ -11,3 +13,5 @@ config PYTHON_PROTOBUF
efficient yet extensible format.
This package contains the Python bindings for protobuf.
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
diff --git a/rules/python-pyro.in b/rules/python-pyro.in
index 83e6ab94785e..a14565ee77fb 100644
--- a/rules/python-pyro.in
+++ b/rules/python-pyro.in
@@ -1,4 +1,6 @@
-## SECTION=python
+## SECTION=staging
+## old section:
+### SECTION=python
config PYTHON_PYRO
tristate
@@ -18,3 +20,6 @@ config PYTHON_PYRO
that enables you to build distributed applications rapidly and
effortlessly. Pyro is written in 100% pure Python and therefore
runs on many platforms and Python versions, including Python 3.x
+
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
diff --git a/rules/python-routing.in b/rules/python-routing.in
index 5a2c62aaadc4..a59cab8a793d 100644
--- a/rules/python-routing.in
+++ b/rules/python-routing.in
@@ -1,4 +1,6 @@
-## SECTION=python
+## SECTION=staging
+## old section:
+### SECTION=python
config PYTHON_ROUTING
tristate
@@ -12,3 +14,6 @@ config PYTHON_ROUTING
was written to encompass the "route" module which isn't encompassed
by any other libnl3 python binding. The special route module is
necessary for the simpleRPL implementation.
+
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
diff --git a/rules/python-rplicmp.in b/rules/python-rplicmp.in
index 75fedc5098b4..dbf556d372a0 100644
--- a/rules/python-rplicmp.in
+++ b/rules/python-rplicmp.in
@@ -1,4 +1,6 @@
-## SECTION=python
+## SECTION=staging
+## old section:
+### SECTION=python
config PYTHON_RPLICMP
tristate
@@ -9,3 +11,6 @@ config PYTHON_RPLICMP
help
This module allows easy creation of ICMPv6 socket in Python tailored to
send RPL messages.
+
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
diff --git a/rules/python.in b/rules/python.in
index 75390188876e..d0fbc69be43b 100644
--- a/rules/python.in
+++ b/rules/python.in
@@ -1,4 +1,6 @@
-## SECTION=scripting_languages
+## SECTION=staging
+## old section:
+### SECTION=scripting_languages
menuconfig PYTHON
tristate "python "
@@ -25,6 +27,9 @@ menuconfig PYTHON
comes with extensive standard libraries, and
can be learned in a few days.
+ STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
+ <https://www.python.org/dev/peps/pep-0373/>.
+
if PYTHON
config PYTHON_NCURSES
--
2.23.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH] python: move to staging
2019-09-25 13:08 [ptxdist] [PATCH] python: move to staging Roland Hieber
@ 2019-10-25 7:28 ` Michael Olbrich
2020-04-29 16:23 ` [ptxdist] [PATCH v2] " Roland Hieber
0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2019-10-25 7:28 UTC (permalink / raw)
To: ptxdist
On Wed, Sep 25, 2019 at 03:08:25PM +0200, Roland Hieber wrote:
> Use of Python 2 has been widely discouraged [citation needed], and
> remaining users should start migrating to Python 3 [1]. Prepare for
> Python 2 End-of-Life, which is in about three months from now [2].
>
> [1]: https://www.python.org/dev/peps/pep-0404/#id13
> [2]: https://pythonclock.org/
I don't think that we're quite there yet. But it is something to keep in
mind.
Also, there are several more packages that select python.
Michael
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> rules/python-imaging.in | 7 ++++++-
> rules/python-protobuf.in | 6 +++++-
> rules/python-pyro.in | 7 ++++++-
> rules/python-routing.in | 7 ++++++-
> rules/python-rplicmp.in | 7 ++++++-
> rules/python.in | 7 ++++++-
> 6 files changed, 35 insertions(+), 6 deletions(-)
>
> diff --git a/rules/python-imaging.in b/rules/python-imaging.in
> index c64d79e74438..1f5bf963866d 100644
> --- a/rules/python-imaging.in
> +++ b/rules/python-imaging.in
> @@ -1,4 +1,6 @@
> -## SECTION=python
> +## SECTION=staging
> +## old section:
> +### SECTION=python
>
> menuconfig PYTHON_IMAGING
> tristate
> @@ -10,6 +12,9 @@ menuconfig PYTHON_IMAGING
> help
> FIXME
>
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> +
> if PYTHON_IMAGING
>
> config PYTHON_IMAGING_FREETYPE
> diff --git a/rules/python-protobuf.in b/rules/python-protobuf.in
> index b22bc715c8e2..bc41cf9a192c 100644
> --- a/rules/python-protobuf.in
> +++ b/rules/python-protobuf.in
> @@ -1,4 +1,6 @@
> -## SECTION=python
> +## SECTION=staging
> +## old section:
> +### SECTION=python
>
> config PYTHON_PROTOBUF
> tristate
> @@ -11,3 +13,5 @@ config PYTHON_PROTOBUF
> efficient yet extensible format.
> This package contains the Python bindings for protobuf.
>
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> diff --git a/rules/python-pyro.in b/rules/python-pyro.in
> index 83e6ab94785e..a14565ee77fb 100644
> --- a/rules/python-pyro.in
> +++ b/rules/python-pyro.in
> @@ -1,4 +1,6 @@
> -## SECTION=python
> +## SECTION=staging
> +## old section:
> +### SECTION=python
>
> config PYTHON_PYRO
> tristate
> @@ -18,3 +20,6 @@ config PYTHON_PYRO
> that enables you to build distributed applications rapidly and
> effortlessly. Pyro is written in 100% pure Python and therefore
> runs on many platforms and Python versions, including Python 3.x
> +
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> diff --git a/rules/python-routing.in b/rules/python-routing.in
> index 5a2c62aaadc4..a59cab8a793d 100644
> --- a/rules/python-routing.in
> +++ b/rules/python-routing.in
> @@ -1,4 +1,6 @@
> -## SECTION=python
> +## SECTION=staging
> +## old section:
> +### SECTION=python
>
> config PYTHON_ROUTING
> tristate
> @@ -12,3 +14,6 @@ config PYTHON_ROUTING
> was written to encompass the "route" module which isn't encompassed
> by any other libnl3 python binding. The special route module is
> necessary for the simpleRPL implementation.
> +
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> diff --git a/rules/python-rplicmp.in b/rules/python-rplicmp.in
> index 75fedc5098b4..dbf556d372a0 100644
> --- a/rules/python-rplicmp.in
> +++ b/rules/python-rplicmp.in
> @@ -1,4 +1,6 @@
> -## SECTION=python
> +## SECTION=staging
> +## old section:
> +### SECTION=python
>
> config PYTHON_RPLICMP
> tristate
> @@ -9,3 +11,6 @@ config PYTHON_RPLICMP
> help
> This module allows easy creation of ICMPv6 socket in Python tailored to
> send RPL messages.
> +
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> diff --git a/rules/python.in b/rules/python.in
> index 75390188876e..d0fbc69be43b 100644
> --- a/rules/python.in
> +++ b/rules/python.in
> @@ -1,4 +1,6 @@
> -## SECTION=scripting_languages
> +## SECTION=staging
> +## old section:
> +### SECTION=scripting_languages
>
> menuconfig PYTHON
> tristate "python "
> @@ -25,6 +27,9 @@ menuconfig PYTHON
> comes with extensive standard libraries, and
> can be learned in a few days.
>
> + STAGING: remove in PTXdist 2020.10.0 due to Python 2 End-of-Life:
> + <https://www.python.org/dev/peps/pep-0373/>.
> +
> if PYTHON
>
> config PYTHON_NCURSES
> --
> 2.23.0
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH v2] python: move to staging
2019-10-25 7:28 ` Michael Olbrich
@ 2020-04-29 16:23 ` Roland Hieber
2020-05-07 8:12 ` Michael Olbrich
0 siblings, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2020-04-29 16:23 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Use of Python 2 has been widely discouraged for some years [citation
needed], and remaining users should start migrating to Python 3 [1].
Move Python 2 to staging to reflect that.
[1]: https://www.python.org/dev/peps/pep-0404/#id13
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
--
v2:
- adapt removal date after final python v2.7.18 release
- only move the python package for now. all reverse dependencies will
depend on STAGING for now; we can find out later whether they build
with python3 too.
---
rules/python.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/rules/python.in b/rules/python.in
index 75390188876e..7afc622b9786 100644
--- a/rules/python.in
+++ b/rules/python.in
@@ -1,4 +1,6 @@
-## SECTION=scripting_languages
+## SECTION=staging
+## old section:
+### SECTION=scripting_languages
menuconfig PYTHON
tristate "python "
@@ -25,6 +27,9 @@ menuconfig PYTHON
comes with extensive standard libraries, and
can be learned in a few days.
+ STAGING: remove in PTXdist 2021.05.0 due to Python 2 End-of-Life:
+ <https://mail.python.org/archives/list/python-announce-list@python.org/thread/OFCIETIXLX34X7FVK5B5WPZH22HXV342/>.
+
if PYTHON
config PYTHON_NCURSES
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH v2] python: move to staging
2020-04-29 16:23 ` [ptxdist] [PATCH v2] " Roland Hieber
@ 2020-05-07 8:12 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2020-05-07 8:12 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
On Wed, Apr 29, 2020 at 06:23:38PM +0200, Roland Hieber wrote:
> Use of Python 2 has been widely discouraged for some years [citation
> needed], and remaining users should start migrating to Python 3 [1].
> Move Python 2 to staging to reflect that.
>
> [1]: https://www.python.org/dev/peps/pep-0404/#id13
I'd like to keep the around a little bit longer. We have alot of other
stuff that is dead or eol for much longer. Also:
1. removing the dependencies on system python2 are a lot more important
because old ptxdist versions are often used for a long time. So if
removing Python2 is your goal, then you should start there.
2. You need to move all python2 packages to staging as well and add
dependencies to all suboptions. There must be no dependency conflicts
when STAGING is disabled.
Regards,
Michael
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
>
> --
> v2:
> - adapt removal date after final python v2.7.18 release
> - only move the python package for now. all reverse dependencies will
> depend on STAGING for now; we can find out later whether they build
> with python3 too.
> ---
> rules/python.in | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/rules/python.in b/rules/python.in
> index 75390188876e..7afc622b9786 100644
> --- a/rules/python.in
> +++ b/rules/python.in
> @@ -1,4 +1,6 @@
> -## SECTION=scripting_languages
> +## SECTION=staging
> +## old section:
> +### SECTION=scripting_languages
>
> menuconfig PYTHON
> tristate "python "
> @@ -25,6 +27,9 @@ menuconfig PYTHON
> comes with extensive standard libraries, and
> can be learned in a few days.
>
> + STAGING: remove in PTXdist 2021.05.0 due to Python 2 End-of-Life:
> + <https://mail.python.org/archives/list/python-announce-list@python.org/thread/OFCIETIXLX34X7FVK5B5WPZH22HXV342/>.
> +
> if PYTHON
>
> config PYTHON_NCURSES
> --
> 2.20.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-07 8:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 13:08 [ptxdist] [PATCH] python: move to staging Roland Hieber
2019-10-25 7:28 ` Michael Olbrich
2020-04-29 16:23 ` [ptxdist] [PATCH v2] " Roland Hieber
2020-05-07 8:12 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox