[dpdk-dev] Dropping python 2 support

Bruce Richardson bruce.richardson at intel.com
Thu Feb 13 17:44:31 CET 2020


On Thu, Feb 13, 2020 at 11:28:53AM +0100, Robin Jarry wrote:
> 2020-02-13, Kevin Traynor:
> > That is true for the distribution versions, but there may be developers
> > doing some compiling themselves using latest.
> > 
> > I think it would be ok to start the process of removing python2 from
> > DPDK...but...there probably needs to be some deprecation notice and time
> > to allow people upgrade or raise any concerns.
> 
> We could insert DeprecationWarnings in the python scripts when executed
> with python2 but I fear this could break things that rely on these
> scripts output.
> 
>   https://docs.python.org/2/library/warnings.html#warnings.warn
> 
> I'm not sure how to prevent this kind of issues though.
> 
> About official deprecation notices, I figure the decision must be made
> by maintainers and/or the technical board.
> 
Yes. I'd suggest for 20.05 perhaps putting a deprecation notice in the docs
and then later (20.08) putting warnings in the code. Perhaps full removal of
support should be done for 20.11, or do we need one more LTS release with
the support still present?

/Bruce


More information about the dev mailing list