From 967879a607ac676297f4c1656162b4ad306722a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Thu, 9 Jan 2025 18:08:53 -0600 Subject: [PATCH] Fix the bug --- poetry_dynamic_versioning/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry_dynamic_versioning/__init__.py b/poetry_dynamic_versioning/__init__.py index 23a7b1e..ce7e656 100644 --- a/poetry_dynamic_versioning/__init__.py +++ b/poetry_dynamic_versioning/__init__.py @@ -668,7 +668,7 @@ def _get_and_apply_version( elif pep621: name = pyproject["project"]["name"] original = pyproject["tool"]["poetry"]["version"] - dynamic_array = pyproject["project"]["dynamic"].copy() + dynamic_array = pyproject["project"]["dynamic"] else: return None