Let’s just deprecate any use of Python 2.7 with VPP and use Paul’s fix and/or 
any other changes where Python 2.7 is present in the code base.

 

Thanks,

 

Hemant

 

From: Paul Vinciguerra <pvi...@vinciconsulting.com> 
Sent: Friday, April 30, 2021 6:16 PM
To: hem...@mnkcg.com
Cc: Govindarajan Mohandoss <govindarajan.mohand...@arm.com>; vpp-dev 
<vpp-dev@lists.fd.io>; zachary.l...@arm.com; nd <n...@arm.com>
Subject: Re: [vpp-dev] vpp_papi.py error

 

Please see [0] from Dec.

 

This proposed change has a breaking impact further down the line.

It has been a more reliable fix for me at least to instead modify the makefile 
to do `python3 -m pip install cmake`, which is a proven technique and has been 
used with older distros in the CI for a good while now. 

 

Paul

 

https://gerrit.fd.io/r/c/vpp/+/30401/6/src/vpp-api/python/CMakeLists.txt

 

 

On Fri, Apr 30, 2021 at 5:45 PM hemant via lists.fd.io <http://lists.fd.io>  
<hemant=mnkcg....@lists.fd.io <mailto:mnkcg....@lists.fd.io> > wrote:

Govind,

 

Thanks!

 

Hemant

 

From: Govindarajan Mohandoss <govindarajan.mohand...@arm.com 
<mailto:govindarajan.mohand...@arm.com> > 
Sent: Friday, April 30, 2021 5:43 PM
To: hem...@mnkcg.com <mailto:hem...@mnkcg.com> ; vpp-dev@lists.fd.io 
<mailto:vpp-dev@lists.fd.io> 
Cc: Zachary Leaf <zachary.l...@arm.com <mailto:zachary.l...@arm.com> >; nd 
<n...@arm.com <mailto:n...@arm.com> >
Subject: RE: [vpp-dev] vpp_papi.py error

 

Hi Hemant,

  We saw this issue and submitted a patch.

   https://gerrit.fd.io/r/c/vpp/+/32172

 

Thanks

Govind

 

From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io 
<mailto:vpp-dev@lists.fd.io> > On Behalf Of hemant via lists.fd.io 
<http://lists.fd.io> 
Sent: Friday, April 30, 2021 3:12 PM
To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> 
Subject: [vpp-dev] vpp_papi.py error

 

I git cloned vpp gerrit repo yesterday and during using “sudo make 
build-release” I run into this error.  Is a bug filed for this issue?  Python 
2.7 doesn’t like a “*” for an arg.

 

make[3]: Entering directory '/home/hemant/vpp/build-root/build-vpp-native/vpp'

  File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 389

    def __init__(self, *, apifiles=None, testmode=False, async_thread=True,

                        ^

SyntaxError: invalid syntax

 

Regards,

 

Hemant




Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19310): https://lists.fd.io/g/vpp-dev/message/19310
Mute This Topic: https://lists.fd.io/mt/82490885/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to