Skip to content

Commit 75c35cb

Browse files
hmellorAkshat-Tripathi
authored andcommitted
Use pre-commit to update requirements-test.txt (vllm-project#13617)
1 parent 13058c7 commit 75c35cb

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ repos:
4444
hooks:
4545
- id: actionlint
4646
exclude: 'vllm/third_party/.*'
47+
repos:
48+
- repo: https://github.com/astral-sh/uv-pre-commit
49+
rev: 0.6.2
50+
hooks:
51+
- id: pip-compile
52+
args: [requirements-test.in, -o, requirements-test.txt]
53+
files: ^requirements-test\.(in|txt)$
4754
- repo: local
4855
hooks:
4956
- id: mypy-local

requirements-test.txt

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.12
3-
# by the following command:
4-
#
5-
# python3.12 -m piptools compile requirements-test.in -o requirements-test.txt
6-
#
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements-test.in -o requirements-test.txt
73
absl-py==2.1.0
84
# via rouge-score
95
accelerate==1.0.1
@@ -141,7 +137,7 @@ frozenlist==1.5.0
141137
# aiohttp
142138
# aiosignal
143139
# ray
144-
fsspec[http]==2024.9.0
140+
fsspec==2024.9.0
145141
# via
146142
# datasets
147143
# evaluate
@@ -221,7 +217,7 @@ librosa==0.10.2.post1
221217
# via -r requirements-test.in
222218
llvmlite==0.43.0
223219
# via numba
224-
lm-eval[api]==0.4.4
220+
lm-eval==0.4.4
225221
# via -r requirements-test.in
226222
lxml==5.3.0
227223
# via sacrebleu
@@ -238,10 +234,8 @@ mbstrdecoder==1.1.3
238234
# typepy
239235
mdurl==0.1.2
240236
# via markdown-it-py
241-
mistral-common[opencv]==1.5.1
242-
# via
243-
# -r requirements-test.in
244-
# mistral-common
237+
mistral-common==1.5.1
238+
# via -r requirements-test.in
245239
more-itertools==10.5.0
246240
# via lm-eval
247241
mpmath==1.3.0
@@ -418,7 +412,7 @@ pybind11==2.13.6
418412
# via lm-eval
419413
pycparser==2.22
420414
# via cffi
421-
pydantic[email]==2.9.2
415+
pydantic==2.9.2
422416
# via
423417
# datamodel-code-generator
424418
# mistral-common
@@ -478,7 +472,7 @@ pyyaml==6.0.2
478472
# vocos
479473
rapidfuzz==3.12.1
480474
# via jiwer
481-
ray[adag]==2.40.0
475+
ray==2.40.0
482476
# via -r requirements-test.in
483477
redis==5.2.0
484478
# via tensorizer
@@ -549,6 +543,10 @@ sentence-transformers==3.2.1
549543
# via -r requirements-test.in
550544
sentencepiece==0.2.0
551545
# via mistral-common
546+
setuptools==75.8.0
547+
# via
548+
# pytablewriter
549+
# torch
552550
six==1.16.0
553551
# via
554552
# python-dateutil
@@ -646,7 +644,7 @@ tritonclient==2.51.0
646644
# via
647645
# -r requirements-test.in
648646
# genai-perf
649-
typepy[datetime]==1.3.2
647+
typepy==1.3.2
650648
# via
651649
# dataproperty
652650
# pytablewriter
@@ -683,6 +681,3 @@ yarl==1.17.1
683681
# via aiohttp
684682
zstandard==0.23.0
685683
# via lm-eval
686-
687-
# The following packages are considered to be unsafe in a requirements file:
688-
# setuptools

0 commit comments

Comments
 (0)