Skip to content

fix: hermes test hardcoding python3 (fails on Windows) - #697

Closed
dhedhialy wants to merge 1 commit into
DietrichGebert:mainfrom
dhedhialy:fix/498-python3-fallback
Closed

fix: hermes test hardcoding python3 (fails on Windows)#697
dhedhialy wants to merge 1 commit into
DietrichGebert:mainfrom
dhedhialy:fix/498-python3-fallback

Conversation

@dhedhialy

Copy link
Copy Markdown
Contributor

Fixes the Python-3 lookup in the hermes test so it passes on Windows (where 'python3' is not always on PATH).

tests/hermes-plugin.test.js spawned python3 with no fallback. On Windows
python3 is the Store app-execution-alias stub that exits non-zero even when
Python is installed. Reuse the probe/fallback pattern from
benchmarks/correctness.js: try python3, fall back to python, cache the result.

Fixes DietrichGebert#498
@DietrichGebert

Copy link
Copy Markdown
Owner

Thanks! This exact fix already went in via #513, so main has the python3 probe. Closing as already done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants