Skip to content

bug: --incompatible_python_disallow_native_rules broken with 0.37.0 #2326

@rickeylev

Description

@rickeylev

🐞 bug report

Affected Rule

py_binary, py_library, py_test

Is this a regression?

Yes. Earlier versions didn't break if --incompatible_python_disallow_native_rules was specified

Description

When specified, all core rules fail to build with the error

Error in fail: @//tests/base_rules/py_binary:test_py_runtime_info_provided_subject not allowed to use native.py_binary

or similar

🔬 Minimal Reproduction

Any build with --incompatible_python_disallow_native_rules set

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions