fix: 移除python-embedding依赖,只使用标准Polyglot API

- 移除pom.xml中的python-embedding依赖
- 修改PyContextPool使用标准Polyglot API创建Engine和Context
- 更新checkGraalPyAvailability方法使用标准API检查
- 测试验证通过
This commit is contained in:
q
2026-01-11 07:27:10 +08:00
parent d15b1c8b96
commit 8b6f1cc242
2 changed files with 28 additions and 32 deletions

View File

@@ -119,11 +119,6 @@
<version>${graalpy.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.python</groupId>
<artifactId>python-embedding</artifactId>
<version>${graalpy.version}</version>
</dependency>
<!-- Compression (Brotli) -->
<dependency>