Skip to content

Commit db0c2d6

Browse files
committed
fix for pre-commit failed job - Error: vllm/executor/ray_distributed_executor.py:531: error: Library stubs not installed for "pkg_resources" (3)
Signed-off-by: Alexandru Badea <george-alexandru.badea@ionos.com>
1 parent 84bc0db commit db0c2d6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/pre-commit.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
12+
- uses: actions/checkout@v4 # Use the latest stable version tag
13+
- uses: actions/setup-python@v5 # Use the latest stable version tag
1414
with:
1515
python-version: "3.12"
1616
- run: echo "::add-matcher::.github/workflows/matchers/actionlint.json"
1717
- run: echo "::add-matcher::.github/workflows/matchers/mypy.json"
18-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
18+
- name: Install vLLM Build Dependencies
19+
run: pip install --requirement requirements/build.txt
20+
- name: Install vLLM Project and Dev Dependencies
21+
run: pip install -e ".[dev]"
22+
- uses: pre-commit/action@v3.0.1 # Use the latest stable version tag
1923
with:
20-
extra_args: --all-files --hook-stage manual
24+
extra_args: --all-files --hook-stage manual

0 commit comments

Comments
 (0)