Skip to content

py_library enforces Python 2 for some reason #1446

@abergmeier

Description

@abergmeier

We are not interested in anything lower than Python 3 so we set all our srcs_version to PY3 fpr py_* rules. Still when Analyzing, Bazel complains:

Rule '@foo//:python_foo' need to be converted to Python 2 (not yet implemented).

The error message is quite unhelpful because it does not explain why it "needs" to be converted nor which thing is not yet implemented.

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-Rules-PythonNative rules for Pythontype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions