From 723591a650eacb0fc2a94cd239e694fdd0ddba1a Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 5 Sep 2024 08:09:35 +0200 Subject: [PATCH] Add docs and changelog for #140 --- CHANGELOG.md | 6 ++++++ README.md | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f63c0d..6263fad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [UNRELEASED](https://github.com/hynek/build-and-inspect-python-package/compare/v2.8.0...main) +### Changed + +- `uv build` is now used instead of the [*build*](https://pypi.org/project/build/) package. + Since the actual build of the packages is done by the packaging backend (the one you define in your `pyproject.toml` under `build-system.build-backend` -- for example, Setuptools or Hatchling), this should make no difference except for faster runs. + [#140](https://github.com/hynek/build-and-inspect-python-package/pull/140) + ## [2.8.0](https://github.com/hynek/build-and-inspect-python-package/compare/v2.7.0...v2.8.0) - 2024-07-25 diff --git a/README.md b/README.md index 4aa2157..a42e452 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,11 @@ *build-and-inspect-python-package* is a GitHub Action that provides the following functionality to Python package maintainers: -**Builds your package** using PyPA’s [*build*](https://pypi.org/project/build/) (this works with any [PEP 517](https://peps.python.org/pep-0517/)-compatible build backend, including Hatch, Flit, Setuptools, PDM, or Poetry). +**Builds your package**[^backend]. [`SOURCE_DATE_EPOCH`](https://reproducible-builds.org/specs/source-date-epoch/) is set to the timestamp of the last commit, giving you reproducible builds with meaningful file timestamps. +[^backend]: Works with any [PEP 517](https://peps.python.org/pep-0517/)-compatible build backend. This includies Hatchling, Flit, Setuptools, PDM, and Poetry. + Uploads the **built *wheel* and the source distribution (*SDist*) as GitHub Actions artifacts**, so you can download and inspect them from the Summary view of a run, or [**upload them to PyPI automatically**][automated] once the verification succeeds. Lints the **wheel contents** using [*check-wheel-contents*](https://pypi.org/project/check-wheel-contents/).