[RFC,v1,1/5] dts: add scapy dependency

Message ID 20230420093109.594704-2-juraj.linkes@pantheon.tech (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series dts: add tg abstractions and scapy |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation warning apply patch failure

Commit Message

Juraj Linkeš April 20, 2023, 9:31 a.m. UTC
  Required for scapy traffic generator.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 dts/poetry.lock    | 18 +++++++++++++++++-
 dts/pyproject.toml |  1 +
 2 files changed, 18 insertions(+), 1 deletion(-)
  

Patch

diff --git a/dts/poetry.lock b/dts/poetry.lock
index 64d6c18f35..4b6c42e280 100644
--- a/dts/poetry.lock
+++ b/dts/poetry.lock
@@ -425,6 +425,22 @@  files = [
     {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"},
 ]
 
+[[package]]
+name = "scapy"
+version = "2.5.0"
+description = "Scapy: interactive packet manipulation tool"
+category = "main"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
+files = [
+    {file = "scapy-2.5.0.tar.gz", hash = "sha256:5b260c2b754fd8d409ba83ee7aee294ecdbb2c235f9f78fe90bc11cb6e5debc2"},
+]
+
+[package.extras]
+basic = ["ipython"]
+complete = ["cryptography (>=2.0)", "ipython", "matplotlib", "pyx"]
+docs = ["sphinx (>=3.0.0)", "sphinx_rtd_theme (>=0.4.3)", "tox (>=3.0.0)"]
+
 [[package]]
 name = "snowballstemmer"
 version = "2.2.0"
@@ -504,4 +520,4 @@  jsonschema = ">=4,<5"
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.10"
-content-hash = "af71d1ffeb4372d870bd02a8bf101577254e03ddb8b12d02ab174f80069fd853"
+content-hash = "fba5dcbb12d55a9c6b3f59f062d3a40973ff8360edb023b6e4613522654ba7c1"
diff --git a/dts/pyproject.toml b/dts/pyproject.toml
index 72d5b0204d..fc9b6278bb 100644
--- a/dts/pyproject.toml
+++ b/dts/pyproject.toml
@@ -23,6 +23,7 @@  pexpect = "^4.8.0"
 warlock = "^2.0.1"
 PyYAML = "^6.0"
 types-PyYAML = "^6.0.8"
+scapy = "^2.5.0"
 
 [tool.poetry.group.dev.dependencies]
 mypy = "^0.961"