DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Vizzarro <Luca.Vizzarro@arm.com>
To: dev@dpdk.org, Patrick Robb <probb@iol.unh.edu>
Cc: Luca Vizzarro <luca.vizzarro@arm.com>,
	Paul Szczepanek <paul.szczepanek@arm.com>
Subject: [PATCH v2 2/3] dts: add missing type stubs
Date: Tue, 10 Dec 2024 10:47:47 +0000	[thread overview]
Message-ID: <20241210104748.3937246-3-Luca.Vizzarro@arm.com> (raw)
In-Reply-To: <20241210104748.3937246-1-Luca.Vizzarro@arm.com>

From: Luca Vizzarro <luca.vizzarro@arm.com>

The invoke and paramiko libraries were missing the type stubs. These are
added under the dev dependencies as the only scope in which they are
used is through mypy static checking.

For the same reason, move the PyYAML subs under the dev dependencies.

Signed-off-by: Luca Vizzarro <luca.vizzarro@arm.com>
Reviewed-by: Paul Szczepanek <paul.szczepanek@arm.com>
---
 dts/poetry.lock    | 27 ++++++++++++++++++++++++++-
 dts/pyproject.toml |  4 +++-
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/dts/poetry.lock b/dts/poetry.lock
index 1eae7ea2fb..29f9a18cd6 100644
--- a/dts/poetry.lock
+++ b/dts/poetry.lock
@@ -1228,6 +1228,31 @@ files = [
     {file = "tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff"},
 ]
 
+[[package]]
+name = "types-invoke"
+version = "2.0.0.10"
+description = "Typing stubs for invoke"
+optional = false
+python-versions = ">=3.7"
+files = [
+    {file = "types-invoke-2.0.0.10.tar.gz", hash = "sha256:a54d7ecdc19e0c22cd2786ef2e64c2631715c78eba8a1bf40b511d0608f33a88"},
+    {file = "types_invoke-2.0.0.10-py3-none-any.whl", hash = "sha256:2404e4279601fa96e14ef68321fd10a660a828677aabdcaeef6a5189778084ef"},
+]
+
+[[package]]
+name = "types-paramiko"
+version = "3.5.0.20240928"
+description = "Typing stubs for paramiko"
+optional = false
+python-versions = ">=3.8"
+files = [
+    {file = "types-paramiko-3.5.0.20240928.tar.gz", hash = "sha256:79dd9b2ee510b76a3b60d8ac1f3f348c45fcecf01347ca79e14db726bbfc442d"},
+    {file = "types_paramiko-3.5.0.20240928-py3-none-any.whl", hash = "sha256:cda0aff4905fe8efe4b5448331a80e943d42a796bd4beb77a3eed3485bc96a85"},
+]
+
+[package.dependencies]
+cryptography = ">=37.0.0"
+
 [[package]]
 name = "types-pyyaml"
 version = "6.0.12.20240917"
@@ -1270,4 +1295,4 @@ zstd = ["zstandard (>=0.18.0)"]
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.10"
-content-hash = "416cab6effbb2848e872e2ced35bbfb4862722f1e96351ab0694f6fa2d919535"
+content-hash = "ef76008e3c2578b03a4360ca1b7bbf394c4fc7abbbef46ac1d52a6de0ff9ba88"
diff --git a/dts/pyproject.toml b/dts/pyproject.toml
index 778586028e..c425e8c445 100644
--- a/dts/pyproject.toml
+++ b/dts/pyproject.toml
@@ -21,7 +21,6 @@ documentation = "https://doc.dpdk.org/guides/tools/dts.html"
 [tool.poetry.dependencies]
 python = "^3.10"
 PyYAML = "^6.0"
-types-PyYAML = "^6.0.8"
 fabric = "^2.7.1"
 scapy = "^2.6.1"
 typing-extensions = "^4.11.0"
@@ -32,6 +31,9 @@ pydantic = "^2.9.2"
 mypy = "^1.13.0"
 toml = "^0.10.2"
 ruff = "^0.8.1"
+types-paramiko = "^3.5.0.20240928"
+types-invoke = "^2.0.0.10"
+types-pyyaml = "^6.0.12.20240917"
 
 [tool.poetry.group.docs]
 optional = true
-- 
2.43.0


  parent reply	other threads:[~2024-12-10 10:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-10 10:40 [PATCH 0/3] dts: enable types of Scapy Luca Vizzarro
2024-12-10 10:40 ` [PATCH 1/3] dts: update dependencies Luca Vizzarro
2024-12-10 10:40 ` [PATCH 2/3] dts: add missing type stubs Luca Vizzarro
2024-12-10 10:40 ` [PATCH 3/3] dts: resolve mypy type errors Luca Vizzarro
2024-12-10 10:47 ` [PATCH v2 0/3] dts: enable types of Scapy Luca Vizzarro
2024-12-10 10:47   ` [PATCH v2 1/3] dts: update dependencies Luca Vizzarro
2025-01-03 12:55     ` [PATCH v3 " Paul Szczepanek
2025-01-03 12:55       ` [PATCH v3 2/3] dts: add missing type stubs Paul Szczepanek
2025-01-03 12:55       ` [PATCH v3 3/3] dts: resolve mypy type errors Paul Szczepanek
2024-12-10 10:47   ` Luca Vizzarro [this message]
2024-12-10 10:47   ` [PATCH v2 " Luca Vizzarro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241210104748.3937246-3-Luca.Vizzarro@arm.com \
    --to=luca.vizzarro@arm.com \
    --cc=dev@dpdk.org \
    --cc=paul.szczepanek@arm.com \
    --cc=probb@iol.unh.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).