- Fix for hatchling 1.19 (hatch 1.8).
BuilderInterface.build
arguments are now all kw-only. ([hatch/6c252f8])
[hatch/6c252f8]: https://github.com/pypa/hatch/commit/6c252f8b8a65711846a6060c3d54f02936da2aa0)
- Add support for reproducible builds which are now enabled by
default. When enabled, timestamps in the zip archive are set to a
fixed value (configurable via the
SOURCE_DATE_EPOCH
environment variable) and the UNIX access modes of archive members are normalized to either 0644 or 0755 depending on whether the file is executable or not.
- Refactor JSON metadata code. Now we use
hatchling
to generate conventionall RFC 822-formatted distribution metadata, then convert that to JSON, explicitly following the steps outline in PEP 566. Among other things, this allows configuration of the Metadata-Version by settingtool.hatch.build.targets.zipped-directory.core-metadata-version
.
- We now have 100% test coverage.
- The prefixing of file names under a top-level directory in the zip
archive can now be disabled by setting
install-name = ""
. Thank you @gwerbin(#1)
- Use explicit encoding in hatch metadata hook (for Windows).
Initial release.