From f82d0d3ec49943bb902d936e03df8b6d99670d5b Mon Sep 17 00:00:00 2001 From: zhangyale <1194926515@qq.com> Date: Mon, 1 Dec 2025 08:25:45 +0000 Subject: [PATCH] update euler-copilot-framework.spec. Signed-off-by: zhangyale <1194926515@qq.com> --- euler-copilot-framework.spec | 101 +++++++++++++++-------------------- 1 file changed, 43 insertions(+), 58 deletions(-) diff --git a/euler-copilot-framework.spec b/euler-copilot-framework.spec index b356869..5cefec1 100644 --- a/euler-copilot-framework.spec +++ b/euler-copilot-framework.spec @@ -1,12 +1,50 @@ %define _python_bytecompile_skip 1 Name: euler-copilot-framework Version: 0.10.1 -Release: 11 +Release: 12 Summary: Intelligent framework Engine Based On LLM License: MulanPSL-2.0 URL: https://gitee.com/openeuler/euler-copilot-framework Source0: %{name}-%{version}.tar.gz +Requires: python3 +Requires: python3-pip +Requires: python3-aiofiles +Requires: python3-asyncer +Requires: python3-asyncpg +Requires: python3-cryptography +Requires: python3-fastapi +Requires: python3-httpx +Requires: python3-httpx-sse +Requires: python3-jinja2 +Requires: python-jionlp +Requires: python3-jsonschema +Requires: python3-mcp +Requires: python3-minio +Requires: python3-ollama +Requires: python3-openai +Requires: python3-pandas +Requires: python3-pgvector +Requires: python3-pillow +Requires: python3-pydantic +Requires: python3-pymongo +Requires: python3-python-jsonpath +Requires: python3-magic +Requires: python3-python-multipart +Requires: python3-pytz +Requires: python3-pyyaml +Requires: python3-rich +Requires: python3-sqids +Requires: python3-sqlalchemy +Requires: python3-tiktoken +Requires: python3-toml +Requires: python3-uvicorn +Requires: python3-paramiko +Requires: python3-langchain +Requires: python3-langchain-openai +Requires: python3-psutil +Requires: python3 + %description Intelligent framework engine based on LLM that supports calling traditional services using both low-level func_call and higher-order protocols such as MCP. @@ -20,61 +58,7 @@ Intelligent framework engine based on LLM that supports calling traditional serv %post -packages=( - "aiofiles==24.1.0" - "asyncer==0.0.8" - "asyncpg==0.30.0" - "cryptography==44.0.2" - "fastapi==0.115.12" - "httpx==0.28.1" - "httpx-sse==0.4.0" - "jinja2==3.1.6" - "jionlp==1.5.20" - "jsonschema==4.23.0" - "lancedb==0.21.2" - "mcp==1.9.4" - "minio==7.2.15" - "ollama==0.5.1" - "openai==1.91.0" - "pandas==2.2.3" - "pgvector==0.4.1" - "pillow==10.3.0" - "pydantic==2.11.7" - "pymongo==4.12.1" - "python-jsonpath==1.3.0" - "python-magic==0.4.27" - "python-multipart==0.0.20" - "pytz==2025.2" - "pyyaml==6.0.2" - "rich==13.9.4" - "sqids==0.5.1" - "sqlalchemy==2.0.41" - "tiktoken==0.9.0" - "toml==0.10.2" - "uvicorn==0.34.0" - "paramiko==4.0.0" - "langchain==0.3.7" - "langchain-openai==0.2.5" - "psutil==7.0.0" -) - -# 镜像源 -mirror="https://mirrors.huaweicloud.com/repository/pypi/simple" - -# 记录安装失败的包 -failed_packages=() - -# 逐个安装包 -for package in "${packages[@]}"; do - echo "正在安装: $package" - if pip install "$package" -i "$mirror"; then - echo -e "\033[0;32m$package 安装成功\033[0m" - else - echo -e "\033[0;31m$package 安装失败\033[0m" - failed_packages+=("$package") - fi - echo "----------------------------------------" -done +echo -e "\033[0;32m%{name}-%{version}-%{release} installed successfully.\033[0m" %install @@ -109,6 +93,8 @@ find %{buildroot}%{_prefix}/lib/%{name} -type f -exec chmod 640 {} \; %changelog +* Mon Dec 1 2025 ylzhangah - 0.10.0-12 +- Resolving RPM package dependencies * Sat Oct 25 2025 houxu - 0.10.1-11 - Upgradge source code * Fri Oct 24 2025 houxu - 0.10.1-10 @@ -142,7 +128,7 @@ find %{buildroot}%{_prefix}/lib/%{name} -type f -exec chmod 640 {} \; * Tue Sep 9 2025 zxstty - 0.10.0-4 - Upgradge version * Mon Sep 8 2025 zxstty - 0.10.0-3 -- Package Upgradge and update pip requirements +- Package Upgradge and update pip requirements * Fri Sep 5 2025 zxstty - 0.10.0-2 - Update source code * Thu Sep 4 2025 zxstty - 0.10.0-1 @@ -153,4 +139,3 @@ find %{buildroot}%{_prefix}/lib/%{name} -type f -exec chmod 640 {} \; - Bug fix * Mon Jun 09 2025 liujiangbin - 0.9.6-1 - Package Spec generated - -- Gitee