[build] Install Python 3 scapy version 2.4.4 in host OS (#6799)

As we are currently in the process of removing Python 2 from SONiC, to ensure a seamless transition to Python 3.
This commit is contained in:
Joe LeVeque 2021-02-17 10:37:47 -08:00 committed by GitHub
parent bf83b6ca59
commit 3fe8382826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,6 +432,9 @@ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'wheel
# docker Python API package is needed by Ansible docker module as well as some SONiC applications
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'docker==4.3.1'
# Install scapy
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'scapy==2.4.4'
## Note: keep pip installed for maintainance purpose
# Install GCC, needed for building/installing some Python packages