Skip to content

fix reported python location for GraalPy builds - #1393

Open
davidhewitt wants to merge 1 commit into
actions:mainfrom
davidhewitt:fix-graalpy
Open

davidhewitt wants to merge 1 commit into
actions:mainfrom
davidhewitt:fix-graalpy

Conversation

@davidhewitt

Copy link
Copy Markdown

Description:

outputs.python-path was wrong for GraalPy builds on windows; it pointed at a missing Scripts\python.exe.

#880 (comment) explicitly stated the executable is in bin, even on windows.

This PR fixes that location.

Related issue:
Add link to the related issue.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@davidhewitt
davidhewitt requested a review from a team as a code owner November 28, 2026 14:34
Copilot AI balanced review requested due to automatic review settings November 28, 2026 14:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues with the GraalPy executable-path change.

No open issues 🎉

What changed in this PR

Fixes GraalPy’s python-path output on Windows to point to the executable in bin rather than the nonexistent Scripts\python.exe.

Changes:

  • Builds the GraalPy executable path from bin on all platforms.
  • Updates the bundled action with the same fix.
  • Adds a workflow check for the reported python-path.
File Description
src/​find-graalpy.ts Corrects the GraalPy executable path.
dist/​setup/​index.js Includes the fix in the distributed action.
.github/​workflows/​test-graalpy.yml Adds validation of the python-path output.

Review effort: Balanced

This branch has not been deployed

No deployments
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