mirror of
https://github.com/google/brotli.git
synced 2026-09-22 14:45:51 +00:00
[PR #1206] python - build abi3 wheels in cibuildwheel #1769
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/1206
Author: @K0lb3
Created: 10/5/2024
Status: 🔄 Open
Base:
master← Head:add-python-abi3📝 Commits (9)
ed80eafrefractor(python): move bro and brotli from python to python/brotlif27ffccrefractor(python): rename brotli.py to init.py0aba39crefractor(python): rename bro to main.py1eb0693feat(python): _brotli.c - implement optional abi3 wheel build874a045feat(python): add type stubs8c5c5acchore(python): update MANIFEST.in4f9217ffeat(python): make setup.py conditional abi3 compatible, and python2 compatible again8a33569chore(python): add comments to conditional preprocessor branches, use Py_LIMITED_API_PRE_11f582691chore(python): change copyright year to 2025📊 Changes
9 files changed (+426 additions, -161 deletions)
View changed files
📝
MANIFEST.in(+5 -3)📝
python/_brotli.c(+144 -29)➖
python/brotli.py(+0 -57)➕
python/brotli/__init__.py(+32 -0)➕
python/brotli/__init__.pyi(+201 -0)📝
python/brotli/__main__.py(+0 -0)➕
python/brotli/py.typed(+0 -0)📝
python/tests/_test_utils.py(+1 -1)📝
setup.py(+43 -71)📄 Description
This PR makes it possible to build abi3 wheels within a cibuildwheel environment.
To not effect the performance of version specific builds the C code changes are all guarded within preprocessor conditions.
This PR also modifies the setup.py, making it:
TODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.