Fix some misc build issues (#1948)
## Motivation <!-- Why is this change needed? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here --> ## Changes <!-- Describe what you changed in detail --> ## Why It Works <!-- Explain why your approach solves the problem --> ## Test Plan ### Manual Testing <!-- Hardware: (e.g., MacBook Pro M1 Max 32GB, Mac Mini M2 16GB, connected via Thunderbolt 4) --> <!-- What you did: --> <!-- - --> ### Automated Testing <!-- Describe changes to automated tests, or how existing tests cover this change --> <!-- - -->
Files touched
M justfileM packaging/pyinstaller/exo.spec
Diff
commit 8ccfd7fcb694c2cc4570c1c09a4c034412a04f29
Author: rltakashige <rl.takashige@gmail.com>
Date: Tue Apr 21 07:41:07 2026 +0100
Fix some misc build issues (#1948)
## Motivation
<!-- Why is this change needed? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here -->
## Changes
<!-- Describe what you changed in detail -->
## Why It Works
<!-- Explain why your approach solves the problem -->
## Test Plan
### Manual Testing
<!-- Hardware: (e.g., MacBook Pro M1 Max 32GB, Mac Mini M2 16GB,
connected via Thunderbolt 4) -->
<!-- What you did: -->
<!-- - -->
### Automated Testing
<!-- Describe changes to automated tests, or how existing tests cover
this change -->
<!-- - -->
---
justfile | 2 +-
packaging/pyinstaller/exo.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/justfile b/justfile
index d025f28f..96e26c84 100644
--- a/justfile
+++ b/justfile
@@ -22,7 +22,7 @@ sync-clean:
uv sync --all-packages --force-reinstall --no-cache
rust-rebuild:
- cargo run --bin stub_gen
+ PYO3_PYTHON="$(uv run python -c 'import sys; print(sys.executable)')" cargo run --bin stub_gen
uv sync --reinstall-package exo_pyo3_bindings
build-dashboard:
diff --git a/packaging/pyinstaller/exo.spec b/packaging/pyinstaller/exo.spec
index c633b2f4..f4d89d4b 100644
--- a/packaging/pyinstaller/exo.spec
+++ b/packaging/pyinstaller/exo.spec
@@ -70,7 +70,7 @@ DATAS: list[tuple[str, str]] = [
]
if sys.platform == "darwin":
-MACMON_PATH = shutil.which("macmon")
+ MACMON_PATH = shutil.which("macmon")
if MACMON_PATH is None:
raise SystemExit(
"macmon binary not found in PATH. "