apache / apache/arrow-java

[CI] JNI jobs fail to install archery due to old Python version on images

未關閉
#875 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Type: bug
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

### Describe the bug, including details regarding any error messages, version, and platform.

Some of the JNI jobs are failing:

Image
Example:

https://github.com/apache/arrow-java/actions/runs/18299702972/job/52105015738

with:

```
Install Archery
Obtaining file:///arrow/dev/archery
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Notice: A new release of pip is available: 24.2 -> 25.2
Notice: To update, run: python -m pip install --upgrade pip
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
```

貢獻指南

開啟貢獻指南

研究方向

先從 JNI 工作與其 GitHub Actions 映像或工作流程設定開始,接著檢查連結的 action 執行記錄,以找出哪個環境會安裝 Archery。確認每個失敗工作所使用的 Python 版本,並更新相關的 CI 設定,使 Archery 能夠成功安裝;當 JNI 工作通過 Archery 安裝步驟時即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, python
領域
ci-cd
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。