Compare commits

..
Author SHA1 Message Date
DeeJanuzandClaude Opus 5.5 e6dd58c406 spotwatch test: skip ft-spotwatch when "gi" isn't PyGObject
The release image's test stage imports a "gi" without require_version,
which failed the v0.3.0-exp.8 build instead of skipping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 22:00:27 -06:00
+2 -1
View File
@@ -70,7 +70,8 @@ try:
import gi
gi.require_version("GdkPixbuf", "2.0")
from gi.repository import Gio # noqa: F401
except (ImportError, ValueError):
# AttributeError: a "gi" that isn't PyGObject (the release image's test stage has one).
except (ImportError, ValueError, AttributeError):
print("skip ft-spotwatch itself: no PyGObject here")
sys.exit(1 if failed else 0)