[dpdk-dev] [PATCH] doc: add deprecation notice for python 2 support

David Marchand david.marchand at redhat.com
Tue Feb 25 14:54:32 CET 2020


On Mon, Feb 17, 2020 at 10:27 AM Robin Jarry <robin.jarry at 6wind.com> wrote:
>
> Now that Python 2 is officially not maintained anymore, prepare the
> removal of support in DPDK.
>
> Add a deprecation notice indicating the removal schedule.
>
> Cc: Bruce Richardson <bruce.richardson at intel.com>
> Cc: Kevin Traynor <ktraynor at redhat.com>
> Cc: Timothy Redaelli <tredaelli at redhat.com>
>
> Signed-off-by: Robin Jarry <robin.jarry at 6wind.com>
> ---
>  doc/guides/rel_notes/deprecation.rst | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index dfcca87ab95a..8f476bc5a9e9 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -91,3 +91,9 @@ Deprecation Notices
>    to set new power environment if power environment was already initialized.
>    In this case the function will return -1 unless the environment is unset first
>    (using ``rte_power_unset_env``). Other function usage scenarios will not change.
> +
> +* python: Since the beginning of 2020, Python 2 has officially reached
> +  end-of-support: https://www.python.org/doc/sunset-python-2/.
> +  Python 2 support will be completely removed in 20.11.
> +  In 20.08, explicit deprecation warnings will be displayed when running
> +  scripts with Python 2.
> --
> 2.24.1
>

Acked-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dev mailing list