[1/7] Replace Pcapy with Pcapyplus

Message ID 20230414125255.67812-2-akihiko.odaki@daynix.com (mailing list archive)
State Accepted
Headers
Series Fix for Fedora 37 |

Commit Message

Akihiko Odaki April 14, 2023, 12:52 p.m. UTC
  Pcapy is no longer maintained and incompatible with the latest
distutils as described at:
https://github.com/helpsystems/pcapy/issues/73

Replace it with Pcapyplus, a maintained fork.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 ci/dts_requirements.txt            | 2 +-
 doc/dts_gsg/usr_guide/sys_reqs.rst | 4 ++--
 requirements.txt                   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
  

Patch

diff --git a/ci/dts_requirements.txt b/ci/dts_requirements.txt
index 4fcbcc60..0ffeb152 100644
--- a/ci/dts_requirements.txt
+++ b/ci/dts_requirements.txt
@@ -6,7 +6,7 @@  xlwt==1.3.0
 pexpect==4.7.0
 numpy==1.18.5
 docutils
-pcapy
+pcapyplus
 xlrd
 scapy==2.4.4
 threadpool
diff --git a/doc/dts_gsg/usr_guide/sys_reqs.rst b/doc/dts_gsg/usr_guide/sys_reqs.rst
index b91eef9d..e4682894 100644
--- a/doc/dts_gsg/usr_guide/sys_reqs.rst
+++ b/doc/dts_gsg/usr_guide/sys_reqs.rst
@@ -42,7 +42,7 @@  To run DTS, `Python3` must be installed, and it uses the following packages:
 * numpy: it provides method to deal with array-processing test results.
 * pexpect: it provides API to automate interactive SSH sessions.
 * docutils:it is a modular system for processing documentation into useful formats, such as HTML, XML, and LaTeX
-* pcapy: it is a Python extension module that interfaces with the libpcap packet capture library. Pcapy enables python scripts to capture packets on the network.
+* pcapyplus: it is a Python extension module that interfaces with the libpcap packet capture library. Pcapyplus enables python scripts to capture packets on the network.
 * xlrd: it is a Python module that extracts data from Excel spreadsheets.
 * threadpool: it is a Python module that maintains a pool of worker threads to perform time consuming operations in parallel.
 * scapy: it is a Python program that enables the user to send, sniff and dissect and forge network packets.
@@ -57,7 +57,7 @@  They are recorded in `requirements.txt`.
     pexpect==4.7.0
     numpy==1.18.5
     docutils
-    pcapy
+    pcapyplus
     xlrd
     scapy==2.4.4
     threadpool
diff --git a/requirements.txt b/requirements.txt
index 7f1a2f6c..9668a385 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@  xlwt==1.3.0
 pexpect==4.7.0
 numpy==1.18.5
 docutils
-pcapy
+pcapyplus
 xlrd
 scapy==2.4.4
 threadpool