diff --git a/euler-copilot-shell-0.10.1.tar.gz b/euler-copilot-shell-0.10.2.tar.gz similarity index 82% rename from euler-copilot-shell-0.10.1.tar.gz rename to euler-copilot-shell-0.10.2.tar.gz index 359e711f9760a2f60275ba8efb18570db3be38ec..2ecae7961a67b9c9a469ce5169e1a7cf45daf585 100644 Binary files a/euler-copilot-shell-0.10.1.tar.gz and b/euler-copilot-shell-0.10.2.tar.gz differ diff --git a/euler-copilot-shell.spec b/euler-copilot-shell.spec index fa1d29a05fce2ada3ab194f4795aee349e86b142..260ec803c0441d44bcc366e8e28cbffa6d1d4a10 100644 --- a/euler-copilot-shell.spec +++ b/euler-copilot-shell.spec @@ -3,8 +3,8 @@ %global debug_package %{nil} Name: euler-copilot-shell -Version: 0.10.1 -Release: 5%{?dist} +Version: 0.10.2 +Release: 1%{?dist} Summary: openEuler Intelligence 智能命令行工具集 License: MulanPSL-2.0 URL: https://gitee.com/openeuler/euler-copilot-shell @@ -49,14 +49,18 @@ openEuler Intelligence 部署安装工具包,包含部署脚本和相关资源 python3 -m venv %{_builddir}/venv source %{_builddir}/venv/bin/activate -# 升级 pip 和 setuptools -pip install -i https://mirrors.huaweicloud.com/repository/pypi/simple --upgrade pip setuptools wheel +# 设置 pip 源 +export PIP_INDEX_URL=https://mirrors.huaweicloud.com/repository/pypi/simple -# 安装项目依赖 -pip install -i https://mirrors.huaweicloud.com/repository/pypi/simple -r requirements.txt +# 升级 pip 并安装 uv +pip install --upgrade pip +pip install uv -# 安装 PyInstaller -pip install -i https://mirrors.huaweicloud.com/repository/pypi/simple pyinstaller +# 使用 uv 安装项目依赖(指定 pip 源) +uv pip install --index-url https://mirrors.huaweicloud.com/repository/pypi/simple . + +# 安装 PyInstaller(通过 uv 保证环境一致,指定 pip 源) +uv pip install --index-url https://mirrors.huaweicloud.com/repository/pypi/simple pyinstaller # 使用虚拟环境中的 PyInstaller 创建单一可执行文件 pyinstaller --noconfirm \ @@ -131,6 +135,9 @@ rm -f /usr/lib/openeuler-intelligence/scripts/5-resource/env.* fi %changelog +* Mon Oct 20 2025 openEuler - 0.10.2-1 +- 修复后端可用性校验,优化令牌格式验证 + * Tue Sep 30 2025 openEuler - 0.10.1-5 - 支持通过环境变量 OI_SKIP_SSL_VERIFY / OI_SSL_VERIFY 控制 OpenAI 客户端 SSL 验证