Skip to content

[Bug]: Issue with Bazel 9.0.0rc3 #731

@malt3

Description

@malt3

What happened?

When testing rules_img with Bazel 9.0.0rc3, I saw this issue coming from Aspect rules_py:

	File "/Users/runner/.bazel/sandbox/darwin-sandbox/4324/execroot/_main/_tmp/1494dbe18e527f0a23b7244a951f767a/_bazel_runner/644342df56940fee22c1ac5923a4e558/external/aspect_rules_py+/py/private/py_library.bzl", line 206, column 28, in <toplevel>
		"deps": attr.label_list(
Error in label_list: at index 0 of providers, got element of type NoneType, want Provider

This points to the following:

providers = [[PyInfo], [PyVirtualInfo], [CcInfo]],

Version

Development (host) and target OS/architectures: macOS with Apple Silicon (GitHub Actions macos-15)

Output of bazel --version: 9.0.0rc3

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: 1.7.0

Language(s) and/or frameworks involved: Not applicable

How to reproduce

Use `py_library` whith `USE_BAZEL_VERSION=9.0.0rc3`.

Any other information?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions