[dpdk-dev] [PATCH] doc: add deprecation notice for python 2 support
nhorman at tuxdriver.com
Mon Feb 17 13:11:04 CET 2020
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.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.
Acked-by: Neil Horman <nhorman at tuxdriver.com>
More information about the dev