Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@ jobs:
with:
python-version: "3.12"

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

- name: Download linux wheel artifacts
uses: actions/download-artifact@v4
with:
Expand All @@ -275,11 +280,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y apt-file dpkg-dev fakeroot build-essential devscripts debhelper

- name: Install wheel2deb
run: |
python -m pip install --upgrade pip
pip install wheel2deb

- name: Update apt-file cache
run: sudo apt-file update

Expand All @@ -303,7 +303,9 @@ jobs:
rm -rf "$work"
mkdir -p "$work"
cp "$wheel" "$work/"
(cd "$work" && wheel2deb)
# wheel2deb 0.9.5 imports click but doesn't declare it as a
# dependency, so we inject it via uvx --with.
(cd "$work" && uvx --with click wheel2deb)
if compgen -G "$work/output/*.deb" > /dev/null; then
for deb in "$work"/output/*.deb; do
base="$(basename "$deb")"
Expand Down
Loading