4141 - {platform: 'ubuntu-24.04', python_version: '3.12', mgversion: 'latest', arch: 'x86_64'}
4242 - {platform: 'ubuntu-24.04', python_version: '3.13', mgversion: 'latest', arch: 'x86_64'}
4343 - {platform: 'ubuntu-24.04', python_version: '3.14', mgversion: 'latest', arch: 'x86_64'}
44- - {platform: 'fedora-41 ', python_version: '3.14', mgversion: 'latest', arch: 'x86_64'}
44+ - {platform: 'fedora-42 ', python_version: '3.14', mgversion: 'latest', arch: 'x86_64'}
4545 - {platform: 'ubuntu-24.04', python_version: '3.10', mgversion: 'latest', arch: 'aarch64'}
4646 - {platform: 'ubuntu-24.04', python_version: '3.11', mgversion: 'latest', arch: 'aarch64'}
4747 - {platform: 'ubuntu-24.04', python_version: '3.12', mgversion: 'latest', arch: 'aarch64'}
6666
6767 - name : Download Memgraph
6868 run : |
69- if [[ "${{ matrix.platform }}" == "fedora-41 " ]]; then
69+ if [[ "${{ matrix.platform }}" == "fedora-42 " ]]; then
7070 MEMGRAPH_PACKAGE_NAME="memgraph-${{ env.MGVERSION }}_1-1.${{ matrix.arch }}.rpm"
7171 LOCAL_PACKAGE_NAME=memgraph.rpm
7272 else
@@ -106,12 +106,8 @@ jobs:
106106 if [[ "${{ matrix.platform }}" == "ubuntu-24.04" ]]; then
107107 # this option is specific to ubuntu, not fedora
108108 break_packages="--break-system-packages"
109- elif [[ "${{ matrix.platform }}" == fedora* ]]; then
110- # rpm distros do not ship with static lib for openssl
111- static_ssl="-C--build-option=build_ext --C--build-option=--static-openssl=False"
112109 fi
113110 echo "BREAK_PACKAGES=$break_packages" >> $GITHUB_ENV
114- echo "STATIC_SSL=$static_ssl" >> $GITHUB_ENV
115111
116112 - name : Copy Repo Into Container
117113 run : |
@@ -130,7 +126,7 @@ jobs:
130126 bash -c "cd /pymgclient && ./tools/install_linux_deps.sh ${{ matrix.platform }} --python-version ${{ matrix.python_version }} --force-update"
131127
132128 # Install Memgraph package
133- if [[ "${{ matrix.platform }}" == "fedora-41 " ]]; then
129+ if [[ "${{ matrix.platform }}" == "fedora-42 " ]]; then
134130 docker exec -i testcontainer \
135131 bash -c "dnf install -y /$LOCAL_PACKAGE_NAME"
136132 else
@@ -142,15 +138,12 @@ jobs:
142138
143139 - name : Build Python Wheel
144140 run : |
141+ build_cmd="./tools/build-wheel.sh --python-version ${{ matrix.python_version }}"
142+ if [[ ${{ matrix.platform }} == "ubuntu-24.04" ]]; then
143+ build_cmd+=" --static-ssl --run-auditwheel"
144+ fi
145145 docker exec -i testcontainer \
146- bash -c "cd /pymgclient && python${{ matrix.python_version }} setup.py ${{ env.STATIC_SSL }} bdist_wheel"
147-
148- - name : Audit Wheel
149- if : ${{ matrix.platform == 'ubuntu-24.04' }}
150- run : |
151- docker exec -i testcontainer \
152- bash -c "cd /pymgclient && auditwheel repair dist/*.whl --plat manylinux_2_39_${{ matrix.arch == 'x86_64' && 'x86_64' || 'aarch64' }} -w dist/ && rm dist/*linux_${{ matrix.arch == 'x86_64' && 'x86_64' || 'aarch64' }}.whl"
153-
146+ bash -c "cd /pymgclient && $build_cmd"
154147
155148 - name : Install pymgclient
156149 run : |
0 commit comments