Skip to content

uv 安装 oss2 错误 #410

@Sun-ZhenXing

Description

@Sun-ZhenXing

setup.py 中有很多陈旧的东西,没有及时删除。

UV 当缓存位置和项目位置不同时,会退化到复制包内容,此时有陈旧的文件已经不存在了,故出错。如果缓存位置和包一致时,会使用硬链接目录,不会检查每个文件。

复现:

uv new test-proj
cd test-proj
uv add oss2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions