Skip to content

macOS: Fix test_pythoninfo.GetInfoTests, stop marking as experimental - #424

Open
maurycy wants to merge 6 commits into
python:mainfrom
maurycy:422
Open

macOS: Fix test_pythoninfo.GetInfoTests, stop marking as experimental#424
maurycy wants to merge 6 commits into
python:mainfrom
maurycy:422

Conversation

@maurycy

@maurycymaurycy commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

ref #422

@maurycy
maurycy marked this pull request as draft October 24, 2025 22:31
"executable (sys;realpath)": os.path.realpath(sys.executable),
"base_executable": sys.executable,
"base_executable (sys)": getattr(sys, "_base_executable", None),
"base_executable": _BASE_EXECUTABLE or sys.executable,

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

base_executable=getattr(sys, "_base_executable", None)
ifis_venv:
# XXX There is probably a bug related to venv, since
# sys._base_executable should be different.
ifbase_executable==sys.executable:
# Indicate that we don't know.
base_executable=None
elifnotbase_executable:
base_executable=sys.executable

@maurycy
maurycy marked this pull request as ready for review October 24, 2025 23:06
@maurycymaurycy changed the title macOS: Fix test_pythoninfo.GetInfoTests, stop marking Github Action as experimentalmacOS: Fix test_pythoninfo.GetInfoTests, stop marking as experimentalOct 26, 2025
@StanFromIrelandStanFromIreland linked an issue May 12, 2026 that may be closed by this pull request
@maurycy

Copy link
Copy Markdown
ContributorAuthor

@StanFromIreland Do you want to merge this?

Sign up for freeto 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.

macOS failing on GitHub Actions: test_pythoninfo.GetInfoTests

2 participants

@maurycy@StanFromIreland