mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #1376] [MERGED] [setup.py] Use PEP625-compliant lowercase 'brotli' package name #1982
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/1376
Author: @anthrotype
Created: 11/6/2025
Status: ✅ Merged
Merged: 11/6/2025
Merged by: @copybara-service[bot]
Base:
master← Head:normalize-py-name📝 Commits (1)
808e2b9[setup.py] Use PEP625-compliant lowercase 'brotli' package name📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
setup.py(+1 -1)📄 Description
PyPI now requires that wheel filenames and metadata use normalized package names following PEP 625. Modern build tooling automatically normalize this, however this does not happen for old python versions (e.g. 2.7, 3.6, 3.7) which makes their upload fail. I had to apply the same patch to the v1.2.0 release be able to upload all the python wheels to PyPI, see:
https://github.com/google/brotli/issues/1327#issuecomment-3491479583
ca4fed169bIt makes more sense to have this in here and get rid of the patch, regardless of when we drop support for those EOL pythons.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.