Remove install of obsolete ipaddr (#516)

* Support negative-valued action parameters
by converting them in the Python helper code into a positive value
whose bit pattern is the 2's complement representation of the negative
value.

* Python ipaddr package is superseded by ipaddress
This commit is contained in:
Andy Fingerhut 2023-06-24 12:05:33 -04:00 committed by GitHub
parent fc8e21a67a
commit 30d6b4599d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

View File

@ -121,16 +121,6 @@ sudo pip3 install protobuf==3.6.1
# p4c/build ; make check` to succeed.
# ply package is needed for ebpf and ubpf backend tests to pass
sudo pip3 install scapy ply
# Earlier versions of this script installed the Ubuntu package
# python-ipaddr. However, that no longer exists in Ubuntu 20.04. PIP
# for Python3 can install the ipaddr module, which is good enough to
# enable two of p4c's many tests to pass, tests that failed if the
# ipaddr Python3 module is not installed, in my testing on
# 2020-Oct-17. From the Python stack trace that appears when running
# those failing tests, the code that requires this module is in
# behavioral-model's runtime_CLI.py source file, in a function named
# ipv6Addr_to_bytes.
sudo pip3 install ipaddr
# Things needed for PTF
sudo pip3 install pypcap

View File

@ -42,4 +42,4 @@ apt-get install -qq -y --no-install-recommends --fix-missing\
p4lang-bmv2 \
p4lang-pi
sudo pip3 install -U scapy ipaddr ptf psutil grpcio
sudo pip3 install -U scapy ptf psutil grpcio