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 20C2845FD5; Fri, 3 Jan 2025 13:55:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCDC9402D6; Fri, 3 Jan 2025 13:55:44 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 1DA2640278 for ; Fri, 3 Jan 2025 13:55:42 +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 93378150C; Fri, 3 Jan 2025 04:56:09 -0800 (PST) Received: from localhost.localdomain (unknown [10.57.72.200]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B0FE23F673; Fri, 3 Jan 2025 04:55:40 -0800 (PST) From: Paul Szczepanek To: dev@dpdk.org Cc: Luca Vizzarro , Paul Szczepanek Subject: [PATCH v3 2/3] dts: add missing type stubs Date: Fri, 3 Jan 2025 12:55:16 +0000 Message-Id: <20250103125517.1554850-2-paul.szczepanek@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20250103125517.1554850-1-paul.szczepanek@arm.com> References: <20241210104748.3937246-2-Luca.Vizzarro@arm.com> <20250103125517.1554850-1-paul.szczepanek@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 From: Luca Vizzarro 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.39.2