已关闭
[Bug]:安装 runtime包,报错Failed to resolve dependencies for `openjiuwen-runtime-management #33
wangchang711创建于  5月9日关闭于  5月14日
wangchang711
wangchang711成员
5月9日 创建

Checklist

🐞 问题详细描述

【测试环境】:
版本openJiuwen-AgentRuntime 0.1.1b1

【测试用例名称】:
安装runtime sdk包
【预置条件】:
部署九问开源studio前后端环境

【测试步骤】:
uv pip install agent-runtime-server==0.1.1b1 --trusted-host devrepo.devcloud.cn-north-4.huaweicloud.com -i "https://cn-north-4_a8fea7d0bff7453bab6394a0842d727c_84d9b87cefd54c1da5245bb1da370dd8:C6=bzA=3rI@devrepo.devcloud.cn-north-4.huaweicloud.com/artgalaxy/api/pypi/cn-north-4_a8fea7d0bff7453bab6394a0842d727c_pypi_5_2/simple" --prerelease=allow
【预期结果】:
安装成功

【实际结果】:
安装失败
× Failed to resolve dependencies for openjiuwen-runtime-management (v0.1.1b1)
╰─▶ Package openjiuwen-runtime-foundation was included as a URL dependency. URL dependencies must be expressed as direct requirements or constraints. Consider adding
openjiuwen-runtime-foundation @ git+https://gitcode.com/openJiuwen/agent-runtime.git@develop#subdirectory=foundation to your dependencies or constraints file.
help: openjiuwen-runtime-management (v0.1.1b1) was included because agent-runtime-server (v0.1.1b1) depends on openjiuwen-runtime-management==0.1.1b1

【出现概率】
100%

【开发确认人】
陈卉
【日志&截图*】
× Failed to resolve dependencies for openjiuwen-runtime-management (v0.1.1b1)
╰─▶ Package openjiuwen-runtime-foundation was included as a URL dependency. URL dependencies must be expressed as direct requirements or constraints. Consider adding
openjiuwen-runtime-foundation @ git+https://gitcode.com/openJiuwen/agent-runtime.git@develop#subdirectory=foundation to your dependencies or constraints file.
help: openjiuwen-runtime-management (v0.1.1b1) was included because agent-runtime-server (v0.1.1b1) depends on openjiuwen-runtime-management==0.1.1b1

失败原因:
uv pip install不允许间接依赖里有url
ScreenShot_20260509160731.JPG

详细的环境信息描述

linux

其他辅助信息

版本信息

感谢您的贡献 🎉!

likedislike
wangchang711wangchang711成员
5月9日 添加了label:bug
openJiuwen-bot成员
5月9日 评论:

欢迎来到 openJiuwen 社区

Hey @wangchang711 , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 此处 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。

联系指引

如果您有任何疑问,请联系仓库维护者: @ZYQ5333, @zhuxushen, @iamcandiceguo, @Fancy1234567, @huguangzheng, @openLiBing-bot .

likedislike
zhangdanyang成员
5月13日 评论:

在一个空的uv venv环境下执行:
uv pip install agent-runtime-server==0.1.1b1 --trusted-host devrepo.devcloud.cn-north-4.huaweicloud.com -i "https://cn-north-4_a8fea7d0bff7453bab6394a0842d727c_84d9b87cefd54c1da5245bb1da370dd8:C6=bzA=3rI@devrepo.devcloud.cn-north-4.huaweicloud.com/artgalaxy/api/pypi/cn-north-4_a8fea7d0bff7453bab6394a0842d727c_pypi_5_2/simple" --prerelease=allow

安装成功:

drwxr-xr-x  4 root root 4096 May 13 15:03 .venv/
root@k8s-master:/home/zdy/tmp# uv pip install agent-runtime-server==0.1.1b1 --trusted-host devrepo.devcloud.cn-north-4.huaweicloud.com -i "https://cn-north-4_a8fea7d0bff7453bab6394a0842d727c_84d9b87cefd54c1da5245bb1da370dd8:C6=bzA=3rI@devrepo.devcloud.cn-north-4.huaweicloud.com/artgalaxy/api/pypi/cn-north-4_a8fea7d0bff7453bab6394a0842d727c_pypi_5_2/simple" --prerelease=allow
Resolved 60 packages in 6.26s
Prepared 60 packages in 642ms
Installed 60 packages in 123ms
+ agent-runtime-server==0.1.1b1
+ aio-pika==9.6.2
+ aiohappyeyeballs==2.6.1
+ aiohttp==3.13.5
+ aiomysql==0.2.0
+ aiormq==6.9.4
+ aiosignal==1.4.0
+ aiosqlite==0.22.1
+ annotated-types==0.7.0
+ anyio==4.13.0
+ attrs==26.1.0
+ build==1.5.0
+ certifi==2026.4.22
+ cffi==2.0.0
+ charset-normalizer==3.4.7
+ click==8.3.3
+ cryptography==48.0.0
+ durationpy==0.10
+ fastapi==0.115.11
+ frozenlist==1.8.0
+ greenlet==3.5.0
+ h11==0.16.0
+ httptools==0.7.1
+ httpx==1.0.dev3
+ idna==3.15
+ kubernetes==36.0.0a3
+ kubernetes-asyncio==35.0.1
+ multidict==6.7.1
+ oauthlib==3.3.1
+ openjiuwen-runtime-foundation==0.1.1b1
+ openjiuwen-runtime-management==0.1.1b1
+ packaging==26.2
+ pamqp==3.3.0
+ propcache==0.5.2
+ pycparser==3.0
+ pydantic==2.13.4
+ pydantic-core==2.46.4
+ pydantic-settings==2.14.1
+ pymysql==1.1.1
+ pyproject-hooks==1.2.0
+ python-dateutil==2.9.0.post0
+ python-dotenv==1.2.2
+ python-multipart==0.0.28
+ pyyaml==6.0.3
+ redis==7.1.0
+ requests==2.34.0
+ requests-oauthlib==2.0.0
+ ruff==0.9.10
+ six==1.17.0
+ sqlalchemy==2.0.41
+ starlette==0.46.2
+ typing-extensions==4.15.0
+ typing-inspection==0.4.2
+ urllib3==2.7.0
+ uvicorn==0.42.0
+ uvloop==0.22.1
+ watchfiles==1.1.1
+ websocket-client==1.9.0
+ websockets==16.0
+ yarl==1.23.0
root@k8s-master:/home/zdy/tmp#

likedislike
王欣王欣成员
5月13日 issue状态由 TODO 改变为 VALIDATION
wangchang711
wangchang711成员
5月14日 评论:

002版本已解决
ScreenShot_20260514142042.JPG

likedislike
wangchang711wangchang711成员
5月14日 issue状态由 VALIDATION 改变为 DONE
wangchang711wangchang711成员
5月14日 关闭了 issue