-
-
Notifications
You must be signed in to change notification settings - Fork 677
Closed
Labels
type: bugtype: toolchainRelated to the toolchains provided by rules_pythonRelated to the toolchains provided by rules_python
Description
🐞 bug report
Description
Can not use @rules_python//python/cc:current_py_cc_headers in WORKSPACE mode because the toolchain fails to resolve. The WORKSPACE file is setting up a hermetic interpreter via python_register_toolchains.
Note that the target works as expected when using a MODULE.bazel.
🔬 Minimal Reproduction
See repro repo: https://github.com/lalten/current_py_cc_headers
🔥 Exception or Error
@@rules_python//python/cc:current_py_cc_headers (5b7f3da): No matching toolchains found for types @@rules_python//python/cc:toolchain_type.
🌍 Your Environment
Operating System: ubuntu-latest
Output of bazel version: 7.0.0
Rules_python version: 0.27.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugtype: toolchainRelated to the toolchains provided by rules_pythonRelated to the toolchains provided by rules_python