[v3,1/6] dts: add scapy dependency

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

Checks

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

Commit Message

Juraj Linkeš July 19, 2023, 2:12 p.m. UTC
  Required for scapy traffic generator.

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

Patch

diff --git a/dts/poetry.lock b/dts/poetry.lock
index 2438f337cd..8cb9920ec7 100644
--- a/dts/poetry.lock
+++ b/dts/poetry.lock
@@ -346,6 +346,19 @@  category = "main"
 optional = false
 python-versions = ">=3.6"
 
+[[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"
+
+[package.extras]
+basic = ["ipython"]
+complete = ["ipython", "pyx", "cryptography (>=2.0)", "matplotlib"]
+docs = ["sphinx (>=3.0.0)", "sphinx_rtd_theme (>=0.4.3)", "tox (>=3.0.0)"]
+
 [[package]]
 name = "six"
 version = "1.16.0"
@@ -409,7 +422,7 @@  jsonschema = ">=4,<5"
 [metadata]
 lock-version = "1.1"
 python-versions = "^3.10"
-content-hash = "719c43bcaa5d181921debda884f8f714063df0b2336d61e9f64ecab034e8b139"
+content-hash = "907bf4ae92b05bbdb7cf2f37fc63e530702f1fff9990afa1f8e6c369b97ba592"
 
 [metadata.files]
 attrs = []
@@ -431,10 +444,7 @@  mypy-extensions = []
 paramiko = []
 pathlib2 = []
 pathspec = []
-platformdirs = [
-    {file = "platformdirs-2.5.2-py3-none-any.whl", hash = "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788"},
-    {file = "platformdirs-2.5.2.tar.gz", hash = "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19"},
-]
+platformdirs = []
 pycodestyle = []
 pycparser = []
 pydocstyle = []
@@ -443,6 +453,7 @@  pylama = []
 pynacl = []
 pyrsistent = []
 pyyaml = []
+scapy = []
 six = []
 snowballstemmer = []
 toml = []
diff --git a/dts/pyproject.toml b/dts/pyproject.toml
index 50bcdb327a..bd7591f7fb 100644
--- a/dts/pyproject.toml
+++ b/dts/pyproject.toml
@@ -13,6 +13,7 @@  warlock = "^2.0.1"
 PyYAML = "^6.0"
 types-PyYAML = "^6.0.8"
 fabric = "^2.7.1"
+scapy = "^2.5.0"
 
 [tool.poetry.dev-dependencies]
 mypy = "^0.961"