Releases: hynek/build-and-inspect-python-package
Releases · hynek/build-and-inspect-python-package
v2.11.0
Added
- New output:
package_version
is the version of the package that was built. #152
v2.10.0
Changed
- Remove
.gitignore
from the build target directory to avoid silly attestations. #149
v2.9.0
Changed
uv build
is now used instead of the build package. Since the actual build of the packages is done by the packaging backend (the one you define in yourpyproject.toml
underbuild-system.build-backend
-- for example, Setuptools or Hatchling), this should make no difference except for faster runs. #140
v2.8.0
Changed
- We now use uv's new
uv cache prune --ci
to only cache downloaded files. This makes the cache smaller and faster to pack/unpack. #135
Fixed
- Turns out, the default location of uv's cache cannot be cached and actions/cache fails silently with an opaque "Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved." log message. We have moved the cache to
/tmp
. #135
v2.7.0
v2.6.0
v2.5.0
Added
- New input:
attest-build-provenance-github
generates signed build provenance attestations for workflow artifacts.
#122
v2.4.0
Changed
- The action doesn't crash anymore if the user sets globally the
UV_SYSTEM_PYTHON
environment variable. #116
v2.3.0
Added
-
Cache busting for the uv cache. GitHub Actions's caching behavior is a bit idiosyncratic: Once a cache is created, it's immutable. But as long as it's accessed within 7 days, it never goes away.
Therefore, baipp now uses the hash of the requirements file as part of the cache key. Behaviorally, nothing changes, except that the cache doesn't grow useless over time. #115
v2.2.1
Fixed
- The action uses wheel to unpack wheels again (this is a revert of #103) due to incompatibilities with, for example, pytest. To avoid the confusion due to wrong timestamps, the wheel's tree output in the Summary has no timestamps anymore. #114