fedora-python / fedora-python/Pello

Uppercase project name won't showcase the differences anymore

未关闭
#15 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
5
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

> Thanks to the capital P, Pello differs from the [normalized name](https://www.python.org/dev/peps/pep-0503/#normalized-name) pello, so we can show where each of them is needed.

[PEP 625](https://peps.python.org/pep-0625/#specification) specified the sdist filename to be equivalent to the name normalized according to the wheel specification.

This means following [these rules](https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode):

```
In distribution names, any run of -_. characters (HYPHEN-MINUS, LOW LINE and FULL STOP) should be replaced with _ (LOW LINE), and uppercase characters should be replaced with corresponding lowercase ones.
```

As a result, once a new Pello version is released, there won't be any uppercase Pello in the resulting specfiles.

A better example would be a one with hyphens and undescores, as this is the only difference between the project name and sdist name normalization.

贡献指南

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

调研方向

检查 issue 引用的 project-name 和 sdist 元数据,然后将当前结果与链接的 PEP 503、PEP 625 以及 binary-distribution 命名规则进行比较。当示例使用连字符和下划线,使生成的 sdist 和 specfiles 直观地展示规范化差异时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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