Skip to content

Add python3 checks in check-python.sh#143

Open
CatMe0w wants to merge 1 commit into
ps3dev:masterfrom
CatMe0w:check-python-fix
Open

Add python3 checks in check-python.sh#143
CatMe0w wants to merge 1 commit into
ps3dev:masterfrom
CatMe0w:check-python-fix

Conversation

@CatMe0w

@CatMe0w CatMe0w commented Jun 12, 2026

Copy link
Copy Markdown

macOS native python only provides python3 command.
This approach is similar to da6f4e0.

Copilot AI review requested due to automatic review settings June 12, 2026 03:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the dependency check script to accept environments where only python3 is available instead of requiring the python executable.

Changes:

  • Expand the Python presence check to try both python and python3.
  • Keep python-config/python3-config fallback for determining the Python prefix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread depends/check-python.sh
Comment on lines +5 to 8
( python --version || python -V || python3 --version || python3 -V ) 1>/dev/null 2>&1 || { echo "ERROR: Install python before continuing."; exit 1; }

## Check for python-config
pyprefix=$(python-config --prefix || python3-config --prefix)
@clienthax

Copy link
Copy Markdown

Python isn't a requirement currently.

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.

3 participants