From d1fd22b5ecda0c5cfec49295400154ffb264c076 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Wed, 27 Mar 2024 11:34:00 +0100 Subject: [PATCH 1/3] Use unzip to unpack wheels I have now gotten an heart attack at least twice because `wheel unpack` doesn't preserve the timestamps from the archive. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c8426c5..6598cd5 100644 --- a/action.yml +++ b/action.yml @@ -139,7 +139,7 @@ runs: if [[ "${{ inputs.skip-wheel }}" != 'true' ]]; then mkdir -p out/wheels - /tmp/baipp/bin/python -m wheel unpack --dest out/wheels *.whl + unzip *.whl -d out/wheels echo -e '\n
Wheel contents\n' >> $GITHUB_STEP_SUMMARY (cd /tmp/baipp/dist/out/wheels && tree -Da --timefmt="%Y-%m-%dT%H:%M:%SZ" * | sed 's/^/ /' | tee -a $GITHUB_STEP_SUMMARY) From 8943a17e93539fb182efeec95cd7449df75704f2 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Wed, 27 Mar 2024 11:39:19 +0100 Subject: [PATCH 2/3] Add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b43fc21..fa89fe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - The action now uses [*uv*](https://github.com/astral-sh/uv) to install its tools to speed up your CI runs. [#86](https://github.com/hynek/build-and-inspect-python-package/pull/86) +- We now use `unzip` to extract wheels, which preserves timestamps in the "Wheel contents" summary. + [#103](https://github.com/hynek/build-and-inspect-python-package/pull/103) + + ## [2.0.2](https://github.com/hynek/build-and-inspect-python-package/compare/v2.0.1...v2.0.2) – 2024-03-16 From 18d6d689353409387628e3d818587fd0349f23cf Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Wed, 27 Mar 2024 11:39:47 +0100 Subject: [PATCH 3/3] whitespace --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa89fe9..01defab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [#103](https://github.com/hynek/build-and-inspect-python-package/pull/103) - ## [2.0.2](https://github.com/hynek/build-and-inspect-python-package/compare/v2.0.1...v2.0.2) – 2024-03-16 ### Changed