doc: add deprecation notice for python 2 support

Message ID 20200217092659.10468-1-robin.jarry@6wind.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series doc: add deprecation notice for python 2 support |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/travis-robot warning Travis build: failed
ci/Intel-compilation success Compilation OK

Commit Message

Robin Jarry Feb. 17, 2020, 9:26 a.m. UTC
  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@intel.com>
Cc: Kevin Traynor <ktraynor@redhat.com>
Cc: Timothy Redaelli <tredaelli@redhat.com>

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Bruce Richardson Feb. 17, 2020, 10:42 a.m. UTC | #1
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@intel.com>
> Cc: Kevin Traynor <ktraynor@redhat.com>
> Cc: Timothy Redaelli <tredaelli@redhat.com>
> 
> Signed-off-by: Robin Jarry <robin.jarry@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: Bruce Richardson <bruce.richardson@intel.com>
  
Neil Horman Feb. 17, 2020, 12:11 p.m. UTC | #2
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@intel.com>
> Cc: Kevin Traynor <ktraynor@redhat.com>
> Cc: Timothy Redaelli <tredaelli@redhat.com>
> 
> Signed-off-by: Robin Jarry <robin.jarry@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 <nhorman@tuxdriver.com>
  
Thomas Monjalon Feb. 25, 2020, 11:06 a.m. UTC | #3
17/02/2020 11:42, Bruce Richardson:
> 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@intel.com>
> > Cc: Kevin Traynor <ktraynor@redhat.com>
> > Cc: Timothy Redaelli <tredaelli@redhat.com>
> > 
> > Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
> > ---
> > +* 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: Bruce Richardson <bruce.richardson@intel.com>

Acked-by: Thomas Monjalon <thomas@monjalon.net>
  
Kevin Traynor Feb. 25, 2020, 1:11 p.m. UTC | #4
On 17/02/2020 09:26, 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@intel.com>
> Cc: Kevin Traynor <ktraynor@redhat.com>
> Cc: Timothy Redaelli <tredaelli@redhat.com>
> 
> Signed-off-by: Robin Jarry <robin.jarry@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: Kevin Traynor <ktraynor@redhat.com>
  
David Marchand Feb. 25, 2020, 1:54 p.m. UTC | #5
On Mon, Feb 17, 2020 at 10:27 AM Robin Jarry <robin.jarry@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@intel.com>
> Cc: Kevin Traynor <ktraynor@redhat.com>
> Cc: Timothy Redaelli <tredaelli@redhat.com>
>
> Signed-off-by: Robin Jarry <robin.jarry@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@redhat.com>
  
David Marchand Feb. 25, 2020, 2:55 p.m. UTC | #6
On Mon, Feb 17, 2020 at 10:27 AM Robin Jarry <robin.jarry@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@intel.com>
> Cc: Kevin Traynor <ktraynor@redhat.com>
> Cc: Timothy Redaelli <tredaelli@redhat.com>
>
> Signed-off-by: Robin Jarry <robin.jarry@6wind.com>

Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: David Marchand <david.marchand@redhat.com>


Applied, thanks.
  

Patch

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.