From 00c82d68a680424b4a2f782e7b2bf07638358d8c Mon Sep 17 00:00:00 2001 From: Bram Neijt Date: Thu, 22 Jul 2021 14:05:24 +0200 Subject: [PATCH] Fix issue #20: drop packages When using the root project as a template, drop the package entry to make sure we don't use that. --- poetry_lock_package/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poetry_lock_package/app.py b/poetry_lock_package/app.py index ea5ed0c..28dfdd4 100644 --- a/poetry_lock_package/app.py +++ b/poetry_lock_package/app.py @@ -217,7 +217,8 @@ def run( project["tool"]["poetry"]["dependencies"] = dependencies del_keys( - project["tool"]["poetry"], ["scripts", "readme", "include", "extras", "plugins"] + project["tool"]["poetry"], + ["scripts", "readme", "include", "extras", "plugins", "packages"], ) lock_project_path = create_or_update(project, should_create_tests)