Skip to content

numba库依赖问题 #1

@xiajingge

Description

@xiajingge

问题描述

当项目依赖 unstructured==0.18.31 时,依赖解析会拉取 numba==0.53.1。但 numba==0.53.1 在 Python 3.12 上构建/安装会失败,因为该版本只支持 Python <3.10。这导致在该环境下 unstructured==0.18.31 无法在 Python 3.12 上正常使用。

复现步骤

  1. 使用 Python 3.12.12
  2. 安装/运行包含 unstructured==0.18.31 的依赖
  3. 完整代码流程
uv venv --python 3.12
uv init
uv add -r .\requirements.txt

环境信息

操作系统:Windows 11
Python:3.12.12
工具:uv
unstructured:0.18.31
numba:0.53.1(解析得到的依赖)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions