File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,12 +81,21 @@ jobs:
8181 run : |
8282 pip install maturin
8383 maturin build --release -o dist
84+ echo "=== Built wheels ==="
85+ ls -la dist/
8486 # --no-index ensures we install from local wheel, not PyPI
8587 pip install --no-index --find-links=dist diff-diff
8688
8789 - name : Verify Rust backend is available
8890 run : |
89- python -c "from diff_diff import HAS_RUST_BACKEND; assert HAS_RUST_BACKEND, 'Rust backend not available'"
91+ echo "=== Installed package location ==="
92+ python -c "import diff_diff; print(diff_diff.__file__)"
93+ echo "=== Package contents ==="
94+ python -c "import diff_diff, os; print(os.listdir(os.path.dirname(diff_diff.__file__)))"
95+ echo "=== Try importing rust backend directly ==="
96+ python -c "from diff_diff import _rust_backend; print('Success:', _rust_backend)" || echo "Direct import failed"
97+ echo "=== Check HAS_RUST_BACKEND ==="
98+ python -c "from diff_diff import HAS_RUST_BACKEND; print('HAS_RUST_BACKEND:', HAS_RUST_BACKEND); assert HAS_RUST_BACKEND, 'Rust backend not available'"
9099
91100 - name : Run Rust backend tests
92101 run : pytest tests/test_rust_backend.py -v
You can’t perform that action at this time.
0 commit comments