diff --git a/euler-copilot-framework-0.9.6.tar.gz b/euler-copilot-framework-0.9.6.tar.gz deleted file mode 100644 index 57b10b6635f4ad3239ed4cdb76d8170bdf20a36d..0000000000000000000000000000000000000000 Binary files a/euler-copilot-framework-0.9.6.tar.gz and /dev/null differ diff --git a/euler-copilot-framework-1.0.0.tar.gz b/euler-copilot-framework-1.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..79939a1f018a35158ab4c3f88548f04308e75e5b Binary files /dev/null and b/euler-copilot-framework-1.0.0.tar.gz differ diff --git a/euler-copilot-framework.spec b/euler-copilot-framework.spec index 00aed4e4bd48e33c9da076ee68f29354be64e69c..4db14fb7643501dcad3d1c349f702fe65258c3f1 100644 --- a/euler-copilot-framework.spec +++ b/euler-copilot-framework.spec @@ -1,6 +1,6 @@ %define _python_bytecompile_skip 1 Name: euler-copilot-framework -Version: 0.9.6 +Version: 1.0.0 Release: 1 Summary: Intelligent framework Engine Based On LLM License: MulanPSL-2.0 @@ -8,32 +8,6 @@ URL: https://gitee.com/openeuler/euler-copilot-framework Source0: %{name}-%{version}.tar.gz Requires: python3 -Requires: python3-aiofiles -Requires: python3-aiohttp -Requires: python3-asyncer -Requires: python3-cryptography -Requires: python3-fastapi -Requires: python3-jinja2 -Requires: python3-jionlp -Requires: python3-jsonschema -Requires: python3-mcp -Requires: python3-minio -Requires: python3-ollama -Requires: python3-openai -Requires: python3-pandas -Requires: python3-pymongo2 -Requires: python3-python-jsonpath -Requires: python3-magic -Requires: python3-python-multipart -Requires: python3-pytz -Requires: python3-pyyaml -Requires: python3-referencing -Requires: python3-rich -Requires: python3-sqids -Requires: python3-toml -Requires: python3-uvicorn -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. @@ -48,8 +22,59 @@ Intelligent framework engine based on LLM that supports calling traditional serv %post -pip install pyarrow paddlepaddle lancedb pymongo -i https://mirrors.huaweicloud.com/repository/pypi/simple &> /dev/null -echo -e "\033[0;32m%{name}-%{version}-%{release} installed successfully.\033[0m" +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" + "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" +) + +# 镜像源 +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 %install @@ -61,9 +86,10 @@ mkdir -p -m 750 %{buildroot}%{_sysconfdir}/%{name} cp -rf %{_builddir}/%{name}-%{version}/apps %{buildroot}%{_prefix}/lib/%{name} cp -rf %{_builddir}/%{name}-%{version}/manual %{buildroot}%{_prefix}/lib/%{name} cp -rf %{_builddir}/%{name}-%{version}/sample %{buildroot}%{_prefix}/lib/%{name} +cp -rf %{_builddir}/%{name}-%{version}/mcp_center %{buildroot}%{_prefix}/lib/%{name} install -m 0440 %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}%{_datadir}/licenses/%{name} install -m 0440 %{_builddir}/%{name}-%{version}/README.md %{buildroot}%{_datadir}/doc/%{name} -install -m 0640 %{_builddir}/%{name}-%{version}/.config.example.toml %{buildroot}%{_sysconfdir}/%{name}/config.toml +install -m 0640 %{_builddir}/%{name}-%{version}/assets/.config.example.toml %{buildroot}%{_sysconfdir}/%{name}/config.toml find %{buildroot}%{_prefix}/lib/%{name} -type d -exec chmod 750 {} \; find %{buildroot}%{_prefix}/lib/%{name} -type f -exec chmod 640 {} \; @@ -83,6 +109,12 @@ find %{buildroot}%{_prefix}/lib/%{name} -type f -exec chmod 640 {} \; %changelog +* Thu Sep 25 2025 zxstty - 1.0.0-1 +- Package Upgradge +* Mon Jul 21 2025 WANG-shine - 0.9.6-3 +- Bug fix +* Wed Jun 18 2025 WANG-shine - 0.9.6-2 +- Bug fix * Mon Jun 09 2025 liujiangbin - 0.9.6-1 - Package Spec generated