Skip to content

Commit f5f109d

Browse files
committed
Merge branch 'release/v1.3.6'
2 parents e995aef + df8dee3 commit f5f109d

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

packaging/appimage/build-appimage.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ sudo apt-get install -y --no-install-recommends \
1212
# Install build tooling
1313
pip install --quiet python-appimage
1414

15+
# Download appimagetool upfront so python-appimage finds it in PATH
16+
# (avoids its internal download from AppImage/appimagetool which lacks continuous releases)
17+
wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH}.AppImage" \
18+
-O /usr/local/bin/appimagetool
19+
chmod +x /usr/local/bin/appimagetool
20+
21+
# Run AppImages without FUSE (not available on GitHub-hosted runners)
22+
export APPIMAGE_EXTRACT_AND_RUN=1
23+
1524
# Build base Python AppImage and install tempren into it
1625
# python-appimage looks for .desktop and icon alongside the entrypoint script
1726
python -m python_appimage build app \
@@ -43,10 +52,6 @@ SYSTEM_MAGIC_DB="/usr/share/misc/magic.mgc"
4352
sed -i '2i export LD_LIBRARY_PATH="${APPDIR}/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"' \
4453
"${APPDIR}/AppRun"
4554

46-
# Download appimagetool and squash into final AppImage
47-
wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${ARCH}.AppImage" \
48-
-O appimagetool
49-
chmod +x appimagetool
50-
ARCH="${ARCH}" ./appimagetool "${APPDIR}" "tempren-${VERSION}-${ARCH}.AppImage"
55+
ARCH="${ARCH}" appimagetool "${APPDIR}" "tempren-${VERSION}-${ARCH}.AppImage"
5156

5257
echo "Built: tempren-${VERSION}-${ARCH}.AppImage"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tempren"
3-
version = "1.3.5"
3+
version = "1.3.6"
44
description = "Template-based renaming utility"
55
readme = "README.md"
66
license = "GPL-3.0-or-later"
@@ -38,13 +38,13 @@ geopy = "^2.4.1"
3838
fastkml = "^1.1.0"
3939

4040
[tool.poetry.group.dev.dependencies]
41-
pytest = "^8.3.5"
41+
pytest = "^9.0.3"
4242
pytest-cov = "^4.1"
4343
coverage = "^7.2.7"
4444
pre-commit = "^3.5"
4545
mypy = "^1.4.1"
4646
pylint = "^3.0.2"
47-
black = "^24.4.0"
47+
black = "^26.3.1"
4848

4949
[tool.poetry.extras]
5050
video = ["pymediainfo"]

0 commit comments

Comments
 (0)