Skip to content

feat(toolchains): default py_runtime.implementation_name to cpython#2272

Merged
aignas merged 1 commit intobazel-contrib:mainfrom
rickeylev:feat.pyruntime.default.cpython.impl
Oct 7, 2024
Merged

feat(toolchains): default py_runtime.implementation_name to cpython#2272
aignas merged 1 commit intobazel-contrib:mainfrom
rickeylev:feat.pyruntime.default.cpython.impl

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

This defaults py_runtime.implementation_name to cpython, the value that is most likely
to be used. This is done not only because it's the most likely value, but because of how
it affects whether precompiling works.

Within py_runtime, automatically computing pyc_tag requires both implementation_name
and Python version information. With upcoming changes to make --python_version always
set to the correct value, it'll make enabling precompiling easier, especially if there
are custom toolchains defined.

@rickeylev rickeylev requested a review from aignas as a code owner October 3, 2024 23:37
@aignas aignas added this pull request to the merge queue Oct 7, 2024
Merged via the queue into bazel-contrib:main with commit 5c3b71c Oct 7, 2024
@rickeylev rickeylev deleted the feat.pyruntime.default.cpython.impl branch October 18, 2024 02:15
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