On Mon, Feb 17, 2020 at 10:26:59AM +0100, Robin Jarry 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.richard...@intel.com>
> Cc: Kevin Traynor <ktray...@redhat.com>
> Cc: Timothy Redaelli <tredae...@redhat.com>
>
> Signed-off-by: Robin Jarry <robin.ja...@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: Neil Horman <nhor...@tuxdriver.com>