From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5253145E68; Tue, 10 Dec 2024 11:42:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B53B04060A; Tue, 10 Dec 2024 11:42:27 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 472C240291 for ; Tue, 10 Dec 2024 11:42:25 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C6894113E; Tue, 10 Dec 2024 02:42:52 -0800 (PST) Received: from localhost.localdomain (JR4XG4HTQC.cambridge.arm.com [10.1.31.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1A0E43F58B; Tue, 10 Dec 2024 02:42:23 -0800 (PST) From: Luca Vizzarro To: dev@dpdk.org, Patrick Robb Cc: Luca Vizzarro , Paul Szczepanek Subject: [PATCH 2/3] dts: add missing type stubs Date: Tue, 10 Dec 2024 10:40:50 +0000 Message-ID: <20241210104051.3933809-3-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241210104051.3933809-1-luca.vizzarro@arm.com> References: <20241210104051.3933809-1-luca.vizzarro@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Reviewed-by: Paul Szczepanek --- 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