Create conda packages from sdist rather than git archives

未关闭
#2,715 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
python
领域
build-system

调研方向

首先跟踪 conda 软件包工作流,以及创建或使用 git archives 和 sdists 的代码或配置。检查 cuda-bindings、cuda-core 和 cuda-pathfinder 的版本元数据如何生成,以及依赖项如何组装。确定受支持的源格式和所需的工作流更改,并从一个 sdist 验证 conda 路径后,即视为完成。

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

描述

triage

As cuda-python is a metapackage that combines multiple packages in a monorepo, it is fundamentally incompatible with releasing from a git archive, which may have only one version. Ideally, it would have access to all three versions (cuda-bindings, cuda-core and cuda-pathfinder) and be able to set up its dependencies automatically.

It should be possible to do this from an sdist (where we can inject whatever metadata we want based on tags at sdist-build-time). It is not possible from a git archive, where there is no way to inject metadata beyond what git allows into the tarball.

We should investigate where it is possible to stop supporting git archive. This is currently used for our conda package workflow, but that could probably be modified to expect an sdist instead.

主要语言
Cython
星标
3.4k
派生
329
平均合并
1 天 21 小时
30 天内合并 PR
113

贡献指南

打开贡献指南

从这里开始

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

NVIDIA/cuda-python 的其他 Issue

查看 NVIDIA/cuda-python 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

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