Hatch-zipped-directory

Latest version: v0.1.0

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0

Bitrot

- 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)

0.1.0b4

Features

- 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][mode-normalization] depending on
whether the file is executable or not.

[reproducible builds]: https://hatch.pypa.io/latest/config/build/#reproducible-builds
[mode-normalization]: https://github.com/pypa/flit/pull/66

0.1.0b3

Features

- 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](https://peps.python.org/pep-0566/#json-compatible-metadata).
Among other things, this allows configuration of the
*Metadata-Version* by setting
`tool.hatch.build.targets.zipped-directory.core-metadata-version`.

Tests

- We now have 100% test coverage.

0.1.0b2

Features

- 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][])

Bugs

- Use explicit encoding in hatch metadata hook (for Windows).

[1]: https://github.com/dairiki/hatch-zipped-directory/issues/1

0.1.0b1

Initial release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.