From c8c3c278bbebf28ce747fac94f3da132a891fc5c Mon Sep 17 00:00:00 2001 From: ulucs Date: Fri, 20 Dec 2024 10:27:40 +0100 Subject: [PATCH] Bump twine to support metadata version 2.4 (#292) * bump twine to support metadata version 2.4 * add changelog entry --- .changelog/_unreleased.toml | 5 +++++ kraken-build/src/kraken/std/python/tasks/publish_task.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changelog/_unreleased.toml diff --git a/.changelog/_unreleased.toml b/.changelog/_unreleased.toml new file mode 100644 index 00000000..f7441123 --- /dev/null +++ b/.changelog/_unreleased.toml @@ -0,0 +1,5 @@ +[[entries]] +id = "e3a86670-bb39-4619-ba18-711851919eaf" +type = "fix" +description = "Bump twine version so metadata version 2.4 is supported" +author = "uluc.sengil@helsing.ai" diff --git a/kraken-build/src/kraken/std/python/tasks/publish_task.py b/kraken-build/src/kraken/std/python/tasks/publish_task.py index a847788a..437d196b 100644 --- a/kraken-build/src/kraken/std/python/tasks/publish_task.py +++ b/kraken-build/src/kraken/std/python/tasks/publish_task.py @@ -71,7 +71,7 @@ def publish( group: str | None = "publish", project: Project | None = None, after: list[Task] | None = None, - twine_version: str = ">=5.0.0,<6.0.0", + twine_version: str = ">=6.0.0,<7.0.0", ) -> PublishTask: """Create a publish task for the specified registry."""