Skip to content

rules_python broken with Bazel 8 on BCR #2361

@rickeylev

Description

@rickeylev

🐞 bug report

Affected Rule

Unclear, looks like early module-phase startup code

Is this a regression?

Yes, works in 7.x

Description

(18:10:19) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/1ae3de34028be386c3858fecaf88706d/external/rules_python+/python/private/full_version.bzl:35:13: Traceback (most recent call last):
	File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/1ae3de34028be386c3858fecaf88706d/external/rules_python+/python/private/python.bzl", line 218, column 43, in _python_impl
		full_python_version = full_version(
	File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/1ae3de34028be386c3858fecaf88706d/external/rules_python+/python/private/full_version.bzl", line 35, column 13, in full_version
		fail(
Error in fail: Unknown Python version '3.8', available values are: 3.10,3.9,3.11

🔬 Minimal Reproduction

Unclear, maybe running the bzlmod example under bazel 8?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions