Skip to content

Commit 365be73

Browse files
authored
Bump some old dependency locks (#496)
## Summary <!-- Include a short paragraph of the changes introduced in this PR. If this PR requires additional context or rationale, explain why the changes are necessary. --> Loosen `tochcodec` version requirement and update `click` to latest minor. ## Details <!-- Provide a detailed list of all changes introduced in this pull request. --> - `torchcodec` has a bugfix release that we are not picking up due to strict locking in pyproject - `click` was locked to the last release that supported python 3.9. `click` does breaking changes on every minor so bump to the latest one and lock. ## Test Plan <!-- List the steps needed to test this PR. --> - Check various custom CLI functions (`--help`, comma-separated rate, etc) ## Related Issues <!-- Link any relevant issues that this PR addresses. --> - Related #200 --- - [X] "I certify that all code in this PR is my own, except as noted below." ## Use of AI - [ ] Includes AI-assisted code completion - [ ] Includes code generated by an AI application - [ ] Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes `## WRITTEN BY AI ##`)
2 parents a3b1b23 + f37947f commit 365be73

File tree

4 files changed

+40
-40
lines changed

4 files changed

+40
-40
lines changed

pylock.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ wheels = [
326326

327327
[[packages]]
328328
name = "click"
329-
version = "8.1.8"
329+
version = "8.3.1"
330330
index = "https://pypi.org/simple"
331-
sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", upload-time = 2024-12-21T18:38:44Z, size = 226593, hashes = { sha256 = "ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a" } }
332-
wheels = [{ url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", upload-time = 2024-12-21T18:38:41Z, size = 98188, hashes = { sha256 = "63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2" } }]
331+
sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", upload-time = 2025-11-15T20:45:42Z, size = 295065, hashes = { sha256 = "12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a" } }
332+
wheels = [{ url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", upload-time = 2025-11-15T20:45:41Z, size = 108274, hashes = { sha256 = "981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6" } }]
333333

334334
[[packages]]
335335
name = "colorama"
@@ -3017,21 +3017,21 @@ wheels = [
30173017

30183018
[[packages]]
30193019
name = "torchcodec"
3020-
version = "0.8.0"
3020+
version = "0.8.1"
30213021
index = "https://pypi.org/simple"
30223022
wheels = [
3023-
{ url = "https://files.pythonhosted.org/packages/73/2c/136b9fa9e5c5f2c48a3b0872cbd4b751a8a4f25265d9f549af9708ad603a/torchcodec-0.8.0-cp310-cp310-macosx_11_0_arm64.whl", upload-time = 2025-10-16T14:42:49Z, size = 3232949, hashes = { sha256 = "952dbb809dc5c9520e1674cd4815b7e6838006737bd159b90c012f36e91ca3df" } },
3024-
{ url = "https://files.pythonhosted.org/packages/e5/7a/04796762482d1efbbe1f9bb1b31de2c974059adb3d18cec565450f306db2/torchcodec-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl", upload-time = 2025-10-16T14:43:34Z, size = 1878976, hashes = { sha256 = "5899f1b54bb6a4a50178a354575e27d94e8f6074da6e1ebb1fed2008ad9e781c" } },
3025-
{ url = "https://files.pythonhosted.org/packages/0b/df/0a588fb2f2a8ffe1b77bae941fe96686b54739e1f2d00c5310a6e6ede0eb/torchcodec-0.8.0-cp310-cp310-win_amd64.whl", upload-time = 2025-10-16T14:43:19Z, size = 2055673, hashes = { sha256 = "c77a9f5ac9e658e9a731ea48ae05ab7e768a77d1bb0ab7d04871b7290e8b1ace" } },
3026-
{ url = "https://files.pythonhosted.org/packages/4d/27/33cec4b4cf23832244989553b729c761d1a0f09294ff6beb30424527e07a/torchcodec-0.8.0-cp311-cp311-macosx_11_0_arm64.whl", upload-time = 2025-10-16T14:42:51Z, size = 3731067, hashes = { sha256 = "36e261367eee07db787a191dd0cd73a08df426c49730466b497cb12390e5d514" } },
3027-
{ url = "https://files.pythonhosted.org/packages/b5/0b/19a8ae47b5b89b815e104941e9becef197328fab51caec8591eee69f9bd4/torchcodec-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl", upload-time = 2025-10-16T14:43:36Z, size = 1885653, hashes = { sha256 = "fed2e085cd12d6d87c05d3a24085ddacb8b786d3005b7dff35c29683c8bda21d" } },
3028-
{ url = "https://files.pythonhosted.org/packages/1f/a7/304deb5c8004eb80a68929cb919246912e2fb52349444f6182aa3e498478/torchcodec-0.8.0-cp311-cp311-win_amd64.whl", upload-time = 2025-10-16T14:43:20Z, size = 2065643, hashes = { sha256 = "aeea99b2518d3ac1fbafcb84eb22d202faeac8b61581d14d3fdd14357ac4f560" } },
3029-
{ url = "https://files.pythonhosted.org/packages/17/ae/8b1d69e653894243fa66e2fec511cf203107dd146d161c9f095893c13bbc/torchcodec-0.8.0-cp312-cp312-macosx_11_0_arm64.whl", upload-time = 2025-10-16T14:42:53Z, size = 3903714, hashes = { sha256 = "af82d1fac3667335e089dc958b5e8eef5458e37d65cb3a94ebf81f45f00f7805" } },
3030-
{ url = "https://files.pythonhosted.org/packages/f6/fd/eec92c82545038a90ffd24e3626bb3a85f7d51577b04819c1c753d380a9b/torchcodec-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl", upload-time = 2025-10-16T14:43:37Z, size = 1898382, hashes = { sha256 = "2ec2e874dfb6fbf9bbeb792bea56317529636e78db175f56aad1e4efd6e12502" } },
3031-
{ url = "https://files.pythonhosted.org/packages/fe/09/ce7436151a3825f27c00263d722b0cf093609921da6cf24b0fa8133cc415/torchcodec-0.8.0-cp312-cp312-win_amd64.whl", upload-time = 2025-10-16T14:43:21Z, size = 2070488, hashes = { sha256 = "318da9af9179d156be0a84296e909d51e4cd758598eaaea08c828790c80bf977" } },
3032-
{ url = "https://files.pythonhosted.org/packages/9b/1c/40fd9358e5dd958775b8d0a01c962a022884810f441ac28229ed0e811599/torchcodec-0.8.0-cp313-cp313-macosx_12_0_arm64.whl", upload-time = 2025-10-16T14:42:54Z, size = 3873235, hashes = { sha256 = "1f3309252d035c888e6ae4518f5aca24f1c38f163124792d8a29a6872bf457f2" } },
3033-
{ url = "https://files.pythonhosted.org/packages/27/81/2e8f8657aed983f20f9ce842b19016d4aff05dd608ac0def94e013602814/torchcodec-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl", upload-time = 2025-10-16T14:43:39Z, size = 1902114, hashes = { sha256 = "253cc3c7a17c7be26abfcf2470e8eab3803ff3108f70be060a7efdcb49d917bc" } },
3034-
{ url = "https://files.pythonhosted.org/packages/09/1f/b09f028822991241eb1a31931749d034aee2c654d00f1930f4cecce595bc/torchcodec-0.8.0-cp313-cp313-win_amd64.whl", upload-time = 2025-10-16T14:43:22Z, size = 2070381, hashes = { sha256 = "c69285cb393c3b36c7bcc4e59e304076ea22b350ff6adca4a2a09b5f3f81f15c" } },
3023+
{ url = "https://files.pythonhosted.org/packages/2e/88/1a3e98d1872de445b1c38f93c40a55688f3a7538f32d74c5b038bc927473/torchcodec-0.8.1-cp310-cp310-macosx_11_0_arm64.whl", upload-time = 2025-10-28T09:46:46Z, size = 3311832, hashes = { sha256 = "79c7f53c18168f1929c4161152c689c43da62da340e9a688aed039647dd0ff3b" } },
3024+
{ url = "https://files.pythonhosted.org/packages/86/d1/75f7303cc4d84e0deac6751470632002950de122aded42fdbd9b89463a97/torchcodec-0.8.1-cp310-cp310-manylinux_2_28_x86_64.whl", upload-time = 2025-10-28T09:46:32Z, size = 1933613, hashes = { sha256 = "de167b5a25357483ea89d54211c33ba3212e3ba426c91b6e41a9f0c51c63a946" } },
3025+
{ url = "https://files.pythonhosted.org/packages/64/69/f859ee135931f0e424dcc70f3b61a8aa6ac109ef66b3a728a1573fb9b259/torchcodec-0.8.1-cp310-cp310-win_amd64.whl", upload-time = 2025-10-28T09:46:59Z, size = 2093503, hashes = { sha256 = "8fc2830205fa8f0969605196c3e60ca39097ade982ae4bb3bb5a620af8044521" } },
3026+
{ url = "https://files.pythonhosted.org/packages/c3/59/600c8f9e7450705ae05c57ce08e94b09b9734a063f12e140a0b9ea33f5f4/torchcodec-0.8.1-cp311-cp311-macosx_11_0_arm64.whl", upload-time = 2025-10-28T09:46:49Z, size = 3813521, hashes = { sha256 = "2b8c8c32cb8f258b350baf566dfc2fe87e3fbbbe7805acf7195226d67a92d985" } },
3027+
{ url = "https://files.pythonhosted.org/packages/c4/3f/2ced02dcfc2ce0f697c34922737abda6576f070d9d596f0722110d7f5aa4/torchcodec-0.8.1-cp311-cp311-manylinux_2_28_x86_64.whl", upload-time = 2025-10-28T09:46:36Z, size = 1938537, hashes = { sha256 = "585d198f5b092e6f4aed7f1a438a6f68ee3d4ab35816a0cce9d289271d8e6fb4" } },
3028+
{ url = "https://files.pythonhosted.org/packages/2b/87/469a639cca0c0742db82be3fb80c132540b430ea152079f942bd32f03282/torchcodec-0.8.1-cp311-cp311-win_amd64.whl", upload-time = 2025-10-28T09:47:02Z, size = 2102948, hashes = { sha256 = "1ba7dda2acd3bcd8f3a8f59b2a0faf77042456d98304f2f7d5b7d4f521ee8a53" } },
3029+
{ url = "https://files.pythonhosted.org/packages/57/ca/59dddea7f1010c96007098ca9b8609ffeea5147ec56a9bb492a888ee9aa1/torchcodec-0.8.1-cp312-cp312-macosx_11_0_arm64.whl", upload-time = 2025-10-28T09:46:54Z, size = 3978762, hashes = { sha256 = "fc6f352d97eab82527d2fbf49f18f679946803d3269d6adb822859cc0bf4dd9e" } },
3030+
{ url = "https://files.pythonhosted.org/packages/5c/0f/dd3cf870e7ed0c62ce8ace92e862455d25f611ac8590730bd7918d3d0e6d/torchcodec-0.8.1-cp312-cp312-manylinux_2_28_x86_64.whl", upload-time = 2025-10-28T09:46:40Z, size = 1953119, hashes = { sha256 = "8fc189dcb71739b89230bd56abbc721188f65d9a8c40afcc751b8d2809bbdd4d" } },
3031+
{ url = "https://files.pythonhosted.org/packages/db/8b/3d29464ebb6a85629af21f93b3f2e54223987d5d5bf1f5d0e57ee2e69b2a/torchcodec-0.8.1-cp312-cp312-win_amd64.whl", upload-time = 2025-10-28T09:47:04Z, size = 2107841, hashes = { sha256 = "d9b93e08e59f842861de1e0ce7b5a4e2ad2a069ec65041dfed6978f0e6cda30c" } },
3032+
{ url = "https://files.pythonhosted.org/packages/2d/15/7422582654bd9697ea224a24a78899af280eaeb25cf01b7b414fb3fe7877/torchcodec-0.8.1-cp313-cp313-macosx_12_0_arm64.whl", upload-time = 2025-10-28T09:46:57Z, size = 3945258, hashes = { sha256 = "7cbf4bf484cd86f57cdcec70f4ccd478a59e8ed5808482d42216b68313d1a485" } },
3033+
{ url = "https://files.pythonhosted.org/packages/0a/49/f92dbcde288823f7478afe707d6194ba52d149025760a4c86bbc2886eeff/torchcodec-0.8.1-cp313-cp313-manylinux_2_28_x86_64.whl", upload-time = 2025-10-28T09:46:43Z, size = 1958891, hashes = { sha256 = "7c3a4694387be17f9bc4a031443f734a44ebba2f889d6379e3503ab49bc4c2af" } },
3034+
{ url = "https://files.pythonhosted.org/packages/fc/7c/01634d181910ef904c806b1c409e0632695885340ef79e60afd3eede91af/torchcodec-0.8.1-cp313-cp313-win_amd64.whl", upload-time = 2025-10-28T09:47:07Z, size = 2107715, hashes = { sha256 = "eceacd3246aff417f484194c796b569dffef6f1156347418c51b0d8b9f94e31d" } },
30353035
]
30363036

30373037
[[packages]]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ keywords = [
5050
"vllm",
5151
]
5252
dependencies = [
53-
"click>=8.0.0,<8.2.0",
53+
"click~=8.3.0",
5454
"culsans~=0.10.0",
5555
"datasets",
5656
"eval_type_backport",
@@ -84,7 +84,7 @@ audio = [
8484
"datasets[audio]>=4.1.0",
8585
# Torchcodec needs specific torch version
8686
"torch==2.9.*",
87-
"torchcodec==0.8",
87+
"torchcodec==0.8.*",
8888
]
8989
vision = [
9090
"datasets[vision]",

src/guidellm/utils/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ def convert(self, value, param, ctx):
166166

167167
self.fail("; ".join(fails) or f"Invalid value: {value}") # noqa: RET503
168168

169-
def get_metavar(self, param: click.Parameter) -> str:
169+
def get_metavar(self, param: click.Parameter, ctx: click.Context) -> str:
170170
def get_choices(t: click.ParamType) -> str:
171-
meta = t.get_metavar(param)
171+
meta = t.get_metavar(param, ctx)
172172
return meta if meta is not None else t.name
173173

174174
# Get the choices for each type in the union.

uv.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)