Skip to content

Commit 24fd01c

Browse files
committed
Fix deb build: use Ubuntu 22.04 for deb build to avoid Python 3.12 compatibility issues
1 parent 6adbd3f commit 24fd01c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
platforms: linux/amd64,linux/arm64
7070

7171
build-and-publish-deb:
72-
runs-on: ubuntu-latest
72+
runs-on: ubuntu-22.04
7373
needs: test
7474
if: startsWith(github.ref, 'refs/tags/v')
7575
steps:
@@ -84,8 +84,8 @@ jobs:
8484
- name: Install build dependencies
8585
run: |
8686
sudo apt-get update -qq
87-
sudo apt-get install -y dh-python python3-all debhelper build-essential fakeroot python3.11-venv
88-
pip install 'setuptools<70'
87+
sudo apt-get install -y dh-python python3-all debhelper build-essential fakeroot
88+
pip install setuptools
8989
9090
- name: Build deb
9191
run: python3 setup.py --command-packages=stdeb.command bdist_deb

0 commit comments

Comments
 (0)