Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ asimage="ON"
opengl="OFF"
runtime_cxxmodules="OFF"
fail-on-missing="ON"
CMAKE_CXX_STANDARD="20"

# Prevent CMake from producing its own .dist-info metadata
_wheel_build="ON"
Expand Down Expand Up @@ -114,3 +115,7 @@ manylinux-aarch64-image = "manylinux_2_28"
repair-wheel-command = "auditwheel repair --disable-isa-ext-check -w {dest_dir} {wheel}"
before-all = "dnf install -y epel-release && /usr/bin/crb enable && dnf install -y openssl-devel libX11-devel libXpm-devel libXft-devel libXext-devel libuuid-devel libjpeg-devel giflib-devel libtiff-devel"

[tool.cibuildwheel.macos]
# The macOS runner images now ship OpenSSL 4, which the builtin XRootD 5.9.x does not
# compile against, see https://github.com/actions/runner-images/issues/14856
environment = "OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)"
4 changes: 4 additions & 0 deletions test/wheels/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def test_tutorial(tutorial):
pytest.skip(f"Tutorial {tutorial} timed out")

except subprocess.CalledProcessError as e:
print("Test stdout:", e.stdout)
print("Test stderr:", e.stderr)
# read stderr to see if EOFError occurred
if "EOFError" in e.stderr:
pytest.skip(f"Skipping {tutorial.name} (requires user input)")
Expand Down Expand Up @@ -118,6 +120,8 @@ def test_cpp_tutorial(tutorial):
pytest.skip(f"Tutorial {tutorial} timed out")

except subprocess.CalledProcessError as e:
print("Test stdout:", e.stdout)
print("Test stderr:", e.stderr)
if e.returncode == -signal.SIGILL or e.returncode == 132:
pytest.fail(f"Failing {tutorial.name} (illegal instruction on this platform)")
elif "EOFError" in e.stderr:
Expand Down
Loading