zig-pypi
zig-pypi copied to clipboard
Support PEP 794
This PR updates the wheel builder to support Metadata-Version: 2.5 (https://peps.python.org/pep-0794/). The specification is available here: https://packaging.python.org/specifications/core-metadata/. We don't need to add the Import-Namespace field since ziglang is not a namespace package shared with other projects.
[!IMPORTANT] This isn't ready to be merged yet – we need a new release of
pypa/twine, which itself needs a newpypa/packagingrelease: https://github.com/pypa/packaging/issues/950. PyPI itself needs support to ingest such wheels: https://github.com/pypi/warehouse/issues/19083.