From patchwork Mon Aug 12 16:35:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dean Marx X-Patchwork-Id: 143100 X-Patchwork-Delegate: juraj.linkes@pantheon.tech Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18940457A3; Mon, 12 Aug 2024 18:35:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A60184028C; Mon, 12 Aug 2024 18:35:26 +0200 (CEST) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by mails.dpdk.org (Postfix) with ESMTP id 0A0C74027B for ; Mon, 12 Aug 2024 18:35:24 +0200 (CEST) Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-7a1d42da3f7so293754185a.2 for ; Mon, 12 Aug 2024 09:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1723480524; x=1724085324; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cLtm7N3uQ7EAHto/vDOf1pV12HSWp/TdY63qD6zOojY=; b=i104SGqGwZeBXW+MAON4tCMcVza8qVvJgXy6xQP+wMymjQjNE3EXp2RJz9ucRoXZE4 SDcYHvU1AbA7Ju+FKGrEoQMgCZRnIQTnpdNf+cos4CS+PaMYzRnZs1Qc5Cj2Xz09MRY3 z+XZrHqakYNQskiInaRfZwOLqGuGMvxJ9tNdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723480524; x=1724085324; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cLtm7N3uQ7EAHto/vDOf1pV12HSWp/TdY63qD6zOojY=; b=DpNVDobjgLLdtq+XR9Br8T2ZE9EIU0EeWbCBnLub3OoSztjQcWidIQvEQReo4GOX9E hxqM815JL1ch9PggM+Oh7JSXA6fE6JscyLODZrr3pGO/wxFyXQv683nwz32RkMQk6Hlx WRcLLLewJCEFyY9VDj25wBCumd4Ku/W82ORwCwJ1/3kC6WBVpSvYDVQe9crWOv0gYc6n Bd7d0a7oBHQRDYQGekHDGzn3LJUt6B6VKLND3a0TuSRiw9HpxXjxd6B1wMpc5RA1FuHL lHQA6RiZJibDxgMV7JdMy9UCng+gdnm28kfxlVoSK9LDzJ0ty3RqW0ez1QDIGLT9Su9k aoZw== X-Gm-Message-State: AOJu0YyiGF67XQQi5nbOUuNoE+NRHDCSjA6K/eNl/fv3UbtJFkVn3rrC rrenoByQMmEHqSoLv0BcZt0x0QWXpm6T00CUWUNj3l9gmRZ6KE0SFvMsjczbi2I= X-Google-Smtp-Source: AGHT+IEQtA+5y+6hLApBQZ3bcGr0tVCMrX9fB+cdXPjgGRgbKBeAjxAiyfhLg4beJ91FbbESf+bG8Q== X-Received: by 2002:a05:620a:394e:b0:79f:ea6:6ca3 with SMTP id af79cd13be357-7a4e16192a9mr85598685a.69.1723480524148; Mon, 12 Aug 2024 09:35:24 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a4c7e043bbsm259783585a.108.2024.08.12.09.35.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 09:35:23 -0700 (PDT) From: Dean Marx To: probb@iol.unh.edu, npratte@iol.unh.edu, jspewock@iol.unh.edu, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com, juraj.linkes@pantheon.tech Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v1] dts: add package mode config and updated README Date: Mon, 12 Aug 2024 12:35:38 -0400 Message-ID: <20240812163538.29904-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 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 In the current DTS setup description, the user installs poetry with the --no-root option. However, adding 'package-mode = false' to the pyproject.toml sets the same configuration, and running poetry install --no-root will become an error in a future poetry version. Signed-off-by: Dean Marx Reviewed-by: Nicholas Pratte Reviewed-by: Luca Vizzarro --- dts/README.md | 4 ++-- dts/pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dts/README.md b/dts/README.md index ee3fa1c968..2b3a7f89c5 100644 --- a/dts/README.md +++ b/dts/README.md @@ -37,7 +37,7 @@ to allow you to connect to hosts without specifying a password. ```shell docker build --target dev -t dpdk-dts . docker run -v $(pwd)/..:/dpdk -v /home/dtsuser/.ssh:/root/.ssh:ro -it dpdk-dts bash -$ poetry install --no-root +$ poetry install $ poetry shell ``` @@ -46,7 +46,7 @@ $ poetry shell ```shell docker build --target dev -t dpdk-dts . docker run -v $(pwd)/..:/dpdk -it dpdk-dts bash -$ poetry install --no-root +$ poetry install $ poetry shell ``` diff --git a/dts/pyproject.toml b/dts/pyproject.toml index 0b9b09805a..712af2f01d 100644 --- a/dts/pyproject.toml +++ b/dts/pyproject.toml @@ -3,6 +3,7 @@ # Copyright(c) 2023 PANTHEON.tech s.r.o. [tool.poetry] +package-mode = false name = "dts" version = "0.1.0" description = "DPDK Test Suite."