Skip to content

Commit c556b36

Browse files
authored
build: Pin manylinux version (#938)
Inspired by getsentry/relay#5073. Building the image doesn't work with newer `manylinux` versions because they removed `setuptools`.
1 parent 8dc4d24 commit c556b36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
env:
99
MANYLINUX_VERSION: manylinux_2_28
10+
# Pinned to 2025.08.15-1 since manylinux 2025.08.22 onward removes setuptools
11+
MANYLINUX_PIN: 2025.08.15-1
1012

1113
jobs:
1214
python-wheel-mac:
@@ -64,7 +66,7 @@ jobs:
6466

6567
- if: matrix.build-arch == 'x86_64'
6668
name: Build in Docker (x86_64)
67-
run: make wheel-manylinux IMAGE=quay.io/pypa/"$MANYLINUX_VERSION"_x86_64
69+
run: make wheel-manylinux IMAGE=quay.io/pypa/"$MANYLINUX_VERSION"_x86_64:"$MANYLINUX_PIN"
6870

6971
- uses: actions/upload-artifact@v4
7072
with:

0 commit comments

Comments
 (0)