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

未关闭
#875 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
github-actions, python
领域
ci-cd

调研方向

从 JNI 作业及其 GitHub Actions 镜像或工作流配置入手,然后检查关联的 action 运行记录,以确定哪个环境会安装 Archery。确认每个失败作业所使用的 Python 版本,并更新相关的 CI 配置,使 Archery 能够成功安装;当 JNI 作业通过 Archery 安装步骤时即表示完成。

由索引模型根据 Issue 内容生成。

描述

Type: bug
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.
主要语言
Java
星标
95
派生
154
平均合并
2 天 10 小时
30 天内合并 PR
11

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/arrow-java 的其他 Issue

查看 apache/arrow-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。