Skip to content

Commit ac18865

Browse files
authored
[CI] Fix re import error (#29973)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
1 parent 2fc5d6e commit ac18865

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.buildkite/scripts/generate-nightly-index.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77

88
import argparse
99
import json
10-
import re
1110
import sys
1211
from dataclasses import asdict, dataclass
1312
from pathlib import Path
1413
from typing import Any
1514
from urllib.parse import quote
1615

16+
import regex as re
17+
1718
if not sys.version_info >= (3, 12):
1819
raise RuntimeError("This script requires Python 3.12 or higher.")
1920

vllm/entrypoints/serve/instrumentator/metrics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33

44

5-
import re
6-
75
import prometheus_client
6+
import regex as re
87
from fastapi import FastAPI, Response
98
from prometheus_client import make_asgi_app
109
from prometheus_fastapi_instrumentator import Instrumentator

vllm/tokenizers/deepseek_v32_encoding.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
# copy from https://huggingface.co/deepseek-ai/DeepSeek-V3.2/blob/main/encoding/encoding_dsv32.py
66
import copy
77
import json
8-
import re
98
from typing import Any
109

10+
import regex as re
11+
1112
# flake8: noqa: E501
1213
TOOLS_SYSTEM_TEMPLATE = """## Tools
1314
You have access to a set of tools you can use to answer the user's question.

0 commit comments

Comments
 (0)