Skip to content

Conversation

mai93
Copy link
Contributor

@mai93 mai93 commented Oct 3, 2025

This removes the usages of the disable_py2 fragment attribute. This also makes py2
runtimes rejected (both when set on py_runtime and PyRuntimeInfo)

Because Python 2 support was dropped long ago and other parts of the code reject,
ignore, or don't work with Python 2 already, this is not considered a breaking change.

Work towards: #3252

@mai93 mai93 marked this pull request as ready for review October 3, 2025 20:23
@mai93 mai93 requested review from rickeylev and aignas as code owners October 3, 2025 20:23
@rickeylev rickeylev changed the title build: Remove usages of ctx.fragments.py.disable_py2 chore: Remove usages of ctx.fragments.py.disable_py2 Oct 3, 2025
@rickeylev rickeylev changed the title chore: Remove usages of ctx.fragments.py.disable_py2 chore: reject py2 runtimes and remove usages of ctx.fragments.py.disable_py2 Oct 3, 2025
@rickeylev rickeylev enabled auto-merge October 3, 2025 22:35
@rickeylev rickeylev added this pull request to the merge queue Oct 3, 2025
Merged via the queue into bazel-contrib:main with commit 79f6546 Oct 3, 2025
4 checks passed
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