python / python/typing

Suggest how stub packages can be tied to the appropriate version of their parent package

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

还没有人认领这个 Issue。

topic: documentation
主要语言
Python
星标
1.8k
派生
302
平均合并
23 小时
30 天内合并 PR
8

描述

Over at https://discuss.python.org/t/allow-package-references-as-version-specifiers/19226/ someone asked for a packaging feature to help keep type stub packages set to the same version as their parent package. https://discuss.python.org/t/allow-package-references-as-version-specifiers/19226/17 has a suggestion on how to do that.

Having such info on https://typing.readthedocs.io/en/latest/source/stubs.html#distribution may be helpful.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

调研方向

阅读所链接的 Python 讨论中提出的方法,尤其是第 17 条回复,然后查看 https://typing.readthedocs.io/en/latest/source/stubs.html 的 Distribution 部分。更新该文档,加入将 stub 包与适当的父包版本绑定的指南,并确认说明准确反映了该提案。

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

评估

技术栈
python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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