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 <r...@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-l...@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

Reply via email to