Skip to content

Commit 17152ab

Browse files
committed
Update AppImage's packager for Conda's latest Python (3.13)
1 parent 1d277ce commit 17152ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ shift
139139
# python3-config --ldflags lacks the python library
140140
# also gdb won't link on GitHub actions without libtinfow, which is not provided by the conda environment
141141
if [[ "$1" == "--ldflags" ]]; then
142-
echo -n "-lpython3.12 -ltinfow "
142+
echo -n "-lpython3.13 -ltinfow "
143143
fi
144144
exec "$CONDA_PREFIX"/bin/python3-config "$@"
145145
EOF
@@ -189,7 +189,7 @@ EOF
189189
chmod +x AppRun.sh
190190

191191
# Patch libqxcb's runpath (not rpath) to point to our packaged libxcb-cursor to fix X11 issues
192-
patchelf --add-rpath "\$ORIGIN/../../../../../../" AppDir/usr/conda/lib/python3.12/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so
192+
patchelf --add-rpath "\$ORIGIN/../../../../../../" AppDir/usr/conda/lib/python3.13/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so
193193

194194
# Package AppDir into AppImage
195195
export LD_LIBRARY_PATH="$(readlink -f ./AppDir/usr/conda/lib)"

0 commit comments

Comments
 (0)