Skip to content

Commit c288f55

Browse files
committed
Debug CI
1 parent c42b201 commit c288f55

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ jobs:
5151
environment-file: environment.yaml
5252
auto-activate-base: false
5353

54+
- name: Fix libint2 soname (horton compiled against libint2.so.2 / libint2.2.dylib)
55+
run: |
56+
if [ -f "$CONDA_PREFIX/lib/libint2.so" ] && [ ! -f "$CONDA_PREFIX/lib/libint2.so.2" ]; then
57+
ln -sf "$CONDA_PREFIX/lib/libint2.so" "$CONDA_PREFIX/lib/libint2.so.2"
58+
fi
59+
if [ -f "$CONDA_PREFIX/lib/libint2.dylib" ] && [ ! -f "$CONDA_PREFIX/lib/libint2.2.dylib" ]; then
60+
ln -sf "$CONDA_PREFIX/lib/libint2.dylib" "$CONDA_PREFIX/lib/libint2.2.dylib"
61+
fi
62+
5463
- name: Install package + test dependencies
5564
run: pip install -e ".[test]"
5665

pyxdm/core/session.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
try:
1515
import horton as ht
1616
except ImportError as e:
17-
import traceback
18-
print("=" * 60, flush=True)
19-
print("ERROR: failed to import horton", flush=True)
20-
print(f"ImportError: {e}", flush=True)
21-
print("Full traceback:", flush=True)
22-
traceback.print_exc()
23-
print("=" * 60, flush=True)
2417
sys.exit(1)
2518

2619

0 commit comments

Comments
 (0)