From 6205de9050f2d3d70d6cf3b19e538bdd944c17cc Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Fri, 20 Jun 2025 09:13:38 -0700 Subject: [PATCH 1/2] Update pyproject.toml There is a bug in tyro v0.9.23 which prevents parsing a large list of files with the mode:selected --mode.files command. It errors out after parsing more than 530 files - but this is not an issue pre-v0.9.23. At this time, we just pin to that older version --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1bc72cf0..32cd41b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "contentctl" -version = "5.5.5" +version = "5.5.6" description = "Splunk Content Control Tool" authors = ["STRT "] @@ -28,7 +28,7 @@ semantic-version = "^2.10.0" bottle = ">=0.12.25,<0.14.0" tqdm = "^4.66.5" pygit2 = "^1.15.1" -tyro = "^0.9.2" +tyro = "^0.9.2,<0.9.23" gitpython = "^3.1.43" setuptools = ">=69.5.1,<81.0.0" rich = "^14.0.0" From 1ac4c60457616d8d49f36fde1866d1b26dd902b8 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Fri, 20 Jun 2025 09:18:36 -0700 Subject: [PATCH 2/2] more context as to why we are pinned on an older version of tyro at this time --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 32cd41b9..511fe327 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,10 @@ semantic-version = "^2.10.0" bottle = ">=0.12.25,<0.14.0" tqdm = "^4.66.5" pygit2 = "^1.15.1" +#We are pinned to this version of tyro because 0.9.23 and above +#have an issue when parsing an extremely large number of files +#(in our testing great than 130) when using the mode:selected +#--mode.files command. tyro = "^0.9.2,<0.9.23" gitpython = "^3.1.43" setuptools = ">=69.5.1,<81.0.0"