Skip to content

Remove python toolchain#252

Open
furtib wants to merge 1 commit into
Ericsson:mainfrom
furtib:use-only-rules-python
Open

Remove python toolchain#252
furtib wants to merge 1 commit into
Ericsson:mainfrom
furtib:use-only-rules-python

Conversation

@furtib

@furtib furtib commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Why:
The situation around the Python toolchain is very complicated.
We use a self-created Python toolchain as well as the official rules_python toolchain.
We do not use either toolchain at all, so to keep it simple (KISS), let's remove them completely.
If we really do need it (e.g., to obtain packages through pip with rules_python), we should add it back in the PR where it becomes necessary.

What:
Removed every Python toolchain from the project.

Addresses:
Fixes: #251

@furtib furtib self-assigned this Jun 29, 2026
@furtib furtib added enhancement New feature or request non-functional change ☮️ The patch doesn't change any functionality, e.g. refactoring, documentation, test-only. labels Jun 29, 2026
@furtib furtib requested a review from Szelethus June 29, 2026 06:28
@furtib furtib removed non-functional change ☮️ The patch doesn't change any functionality, e.g. refactoring, documentation, test-only. enhancement New feature or request labels Jun 29, 2026

@Szelethus Szelethus 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.

Surprising. @nettle, any thoughts?

Comment thread src/BUILD

# Tool filter compile_commands.json file
# In bazel 6 we use our own python toolchain,
# In bazel 6 we use the built in python toolchain,

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.

We no longer use bazel 6, this is worth updating.

@Szelethus Szelethus requested a review from nettle July 1, 2026 11:06
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.

Python toolchain is unused

2 participants