[dpdk-dev] [PATCH v10 11/11] doc: support python3 only

Kevin Laatz kevin.laatz at intel.com
Fri Oct 2 13:07:35 CEST 2020


On 02/10/2020 12:01, David Marchand wrote:
> On Wed, Sep 30, 2020 at 1:45 PM Kevin Laatz <kevin.laatz at intel.com> wrote:
>
[...]
>>   try:
>>       import sphinx_rtd_theme
>> diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst
>> index 0be9546a6a..4fc010ca49 100644
>> --- a/doc/guides/contributing/coding_style.rst
>> +++ b/doc/guides/contributing/coding_style.rst
>> @@ -765,7 +765,7 @@ specializations, run the ``app/test`` binary, and use the ``dump_log_types``
>>   Python Code
>>   -----------
>>
>> -All Python code should work with Python 2.7+ and 3.2+ and be compliant with
>> +All Python code should work with 3.2+ and be compliant with
>>   `PEP8 (Style Guide for Python Code) <https://www.python.org/dev/peps/pep-0008/>`_.
> I am for dropping any mention of a version here.
> On current HEAD of the main branch, the requirements already ask for a
> 3.5 version.
> I would simply ask for PEP8 compliance in this doc.
>
> Opinion?
>
+1 That was something i concidered while making the patch - saves 
someone maitaining the versions here in future.

- Kevin


More information about the dev mailing list