From 65afa54bad8c7f6ac7825d1203e14c69de925cc7 Mon Sep 17 00:00:00 2001 From: ObjectNotFound Date: Wed, 24 Dec 2025 16:27:38 +0800 Subject: [PATCH] Change pip path --- 0001-change-pip-path.patch | 53 ++++++++++++++++++++++++++++++++++++ euler-copilot-framework.spec | 6 +++- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 0001-change-pip-path.patch diff --git a/0001-change-pip-path.patch b/0001-change-pip-path.patch new file mode 100644 index 0000000..a6bb039 --- /dev/null +++ b/0001-change-pip-path.patch @@ -0,0 +1,53 @@ +From 8236da802269f8bc4f4ecd7081d69a8a7a6b0f5b Mon Sep 17 00:00:00 2001 +From: root +Date: Wed, 24 Dec 2025 16:22:11 +0800 +Subject: [PATCH] Change pip path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + .../mcp_tools/base_tools/cmd_executor_tool/deps.toml | 3 ++- + .../mcp_tools/base_tools/network_tools/deps.toml | 4 ++-- + .../mcp_tools/base_tools/ssh_fix_tool/deps.toml | 3 ++- + 3 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/cmd_executor_tool/deps.toml b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/cmd_executor_tool/deps.toml +index 430d3e20..cd119353 100644 +--- a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/cmd_executor_tool/deps.toml ++++ b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/cmd_executor_tool/deps.toml +@@ -3,4 +3,5 @@ + [pip] + paramiko="==4.0.0" + +- ++[pip_config] ++index_url="https://mirrors.aliyun.com/pypi/simple/" +diff --git a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/network_tools/deps.toml b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/network_tools/deps.toml +index 1c523dc1..cd119353 100644 +--- a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/network_tools/deps.toml ++++ b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/network_tools/deps.toml +@@ -1,7 +1,7 @@ + [system] + +- + [pip] + paramiko="==4.0.0" + +- ++[pip_config] ++index_url="https://mirrors.aliyun.com/pypi/simple/" +diff --git a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/ssh_fix_tool/deps.toml b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/ssh_fix_tool/deps.toml +index 430d3e20..cd119353 100644 +--- a/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/ssh_fix_tool/deps.toml ++++ b/mcp_center/servers/oe_cli_mcp_server/mcp_tools/base_tools/ssh_fix_tool/deps.toml +@@ -3,4 +3,5 @@ + [pip] + paramiko="==4.0.0" + +- ++[pip_config] ++index_url="https://mirrors.aliyun.com/pypi/simple/" +-- +2.50.1.windows.1 + diff --git a/euler-copilot-framework.spec b/euler-copilot-framework.spec index a8aa91b..a3a61b2 100644 --- a/euler-copilot-framework.spec +++ b/euler-copilot-framework.spec @@ -1,7 +1,7 @@ %define _python_bytecompile_skip 1 Name: euler-copilot-framework Version: 2.0.0 -Release: 5 +Release: 6 Summary: Intelligent framework Engine Based On LLM License: MulanPSL-2.0 URL: https://gitee.com/openeuler/euler-copilot-framework @@ -33,6 +33,7 @@ Requires: python3-xmltodict Requires: python3-virtualenv Patch0000: 0000-cmd-ssh-dependency.patch +Patch0001: 0001-change-pip-path.patch %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. @@ -41,6 +42,7 @@ Intelligent framework engine based on LLM that supports calling traditional serv %prep %setup -b 0 -n %{name}-%{version} -q %patch0000 -p1 +%patch0001 -p1 %build @@ -127,6 +129,8 @@ if [ $1 -eq 0 ]; then fi %changelog +* Wed Dec 24 2025 Weitong Zhou - 2.0.0-6 +- Change pip path * Wed Dec 24 2025 Weitong Zhou - 2.0.0-5 - Use https instead of http * Tue Dec 23 2025 Weitong Zhou - 2.0.0-4 -- Gitee