Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Minimal version of setuptools supporting license-files

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

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

首先比较 setuptools 指南中的“Configuring setuptools using pyproject.toml files”部分与 packaging 指南中的“license”和“license-files”部分,然后检查提交 faf4c7d882ef2be310d5dc46d54ca666aa18821c。确认 setuptools 77.0.0、77.0.1 或 77.0.3 中哪个是合适的最低版本,并一致地更新相关文档,解释版本选择的原因。

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

描述

Issue Description

According to section Configuring setuptools using pyproject.toml files of the setuptools documentation, the minimal version is 77.0.3:

Support for project.license-files and SPDX license expressions in project.license (PEP 639) were introduced in version 77.0.0.

According to license and license-files in this guide, the minimal version is 77.0.3:

build backend versions that introduced PEP 639 support

hatchling setuptools flit-core [2] pdm-backend poetry-core
1.27.0 77.0.3 3.12 2.4.0 not yet

I understand that patch version 3 might simply fix early bugs, but I would prefer consistency. Should we modify the setuptools guide or the packaging guide? Commit https://github.com/pypa/packaging.python.org/commit/faf4c7d882ef2be310d5dc46d54ca666aa18821c doesn't explain why 77.0.3 should be preferred over 77.0.0 (or 77.0.1 since 77.0.0 appears to have been yanked).

Code of Conduct
  • I am aware that participants in this repository must follow the PSF Code of Conduct.
主要语言
Python
星标
1.7k
派生
1.7k
平均合并
8 天 3 小时
30 天内合并 PR
5

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

pypa/packaging.python.org 的其他 Issue

查看 pypa/packaging.python.org 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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