Skip to content

Commit d4a2bae

Browse files
more bullshit
1 parent 0c4502b commit d4a2bae

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

.github/workflows/build-and-package.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,19 @@ jobs:
119119
create_version_info()
120120
"
121121
122-
- name: Build with PyInstaller (Linux, manylinux2014 for older glibc)
122+
- name: Build with PyInstaller (Linux, Debian bullseye container for lower glibc)
123123
if: matrix.platform == 'linux'
124124
run: |
125-
echo "Building inside manylinux2014_x86_64 container for wider glibc compatibility"
126-
docker run --rm -v "$PWD":/work -w /work quay.io/pypa/manylinux2014_x86_64 bash -lc '
125+
echo "Building inside python:3.11-bullseye container (glibc ~2.31)"
126+
docker run --rm -v "$PWD":/work -w /work python:3.11-bullseye bash -lc '
127127
set -euo pipefail
128-
echo "Python versions available:"
129-
ls -1 /opt/python | sed -n "s/^/ - /p"
130-
PY="/opt/python/cp311-cp311/bin/python"
131-
echo "Using Python: $PY"
132-
$PY -m pip install --upgrade pip
133-
$PY -m pip install pyinstaller
128+
python -m pip install --upgrade pip
129+
python -m pip install pyinstaller
134130
# Install project dependencies needed for build/runtime
135-
if [ -f PackagingApps/packagerRequirements.txt ]; then $PY -m pip install -r PackagingApps/packagerRequirements.txt; fi
136-
if [ -f requirements.txt ]; then $PY -m pip install -r requirements.txt; fi
131+
if [ -f PackagingApps/packagerRequirements.txt ]; then python -m pip install -r PackagingApps/packagerRequirements.txt; fi
132+
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
137133
# Build
138-
$PY -m PyInstaller --clean --onefile --console \
134+
python -m PyInstaller --clean --onefile --console \
139135
--name "Jumperless" \
140136
--distpath dist/linux \
141137
--workpath build/linux \

0 commit comments

Comments
 (0)