File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2626 run : |
2727 make setup PYTHON_VERSION=${{ matrix.python-version }}
2828
29+ - name : Run minimal installation test
30+ run : |
31+ # 创建一个临时目录用于测试
32+ mkdir -p /tmp/minimal_test
33+ cd /tmp/minimal_test
34+
35+ # 使用 uv 创建一个新环境并只安装项目的默认依赖
36+ uv venv -p 3.10
37+
38+ # 安装项目但不包含任何可选依赖
39+ uv pip install "$GITHUB_WORKSPACE/"
40+
41+ # 测试导入和版本打印
42+ uv run python -c "import agentrun; print(f'Version: {agentrun.__version__}')"
43+
2944 - name : Run type check (mypy)
3045 run : |
3146 make mypy-check
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dependencies = [
1515 " pydash>=8.0.5" ,
1616 " alibabacloud-agentrun20250910>=5.0.1" ,
1717 " alibabacloud_tea_openapi>=0.4.2" ,
18+ " alibabacloud_bailian20231229>=2.6.2" ,
1819]
1920
2021[project .optional-dependencies ]
@@ -53,10 +54,6 @@ mcp = [
5354 " mcp>=1.21.2; python_version >= '3.10'" ,
5455]
5556
56- knowledgebase = [
57- " alibabacloud_bailian20231229>=2.6.2"
58- ]
59-
6057[dependency-groups ]
6158dev = [
6259 " coverage>=7.10.7" ,
You can’t perform that action at this time.
0 commit comments