Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

slowest_tests.py: skip when Python's XML parser can't load (Rocky 8's system Python 3.12; ci_slowest_tests failed the VFX CY2026 job on main)

islandmed430ab9c6fa58
diff --git a/tools/ci/slowest_tests.py b/tools/ci/slowest_tests.py
index eae961ea..b5c376b6 100755
--- a/tools/ci/slowest_tests.py
+++ b/tools/ci/slowest_tests.py
@@ -9,10 +9,18 @@ becomes the long pole.
"""
import re
import sys
-import xml.etree.ElementTree as ET
+
+try:
+ import xml.etree.ElementTree as ET
+ ET.fromstring("<a/>")
+except ImportError: # some system Pythons (Rocky 8's 3.12) ship a pyexpat that doesn't load
+ ET = None
def main(argv):
+ if ET is None:
+ print("no XML parser in this Python: slowest-tests table skipped")
+ return 0
if not argv or argv[0] == "--self-test":
return self_test()
try: