Skip to content

Bazel builds should be hermetic, but they're not - #1094

Open
kris524 wants to merge 4 commits into
quantumlib:mainfrom
kris524:pr-802
Open

Bazel builds should be hermetic, but they're not#1094
kris524 wants to merge 4 commits into
quantumlib:mainfrom
kris524:pr-802

Conversation

@kris524

@kris524 kris524 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR is a proposed fix for #802 to include python dependency installation as part of bazel builds

@github-actions github-actions Bot added the size: S 10< lines changed <50 label Jul 28, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request integrates rules_python into the WORKSPACE file to configure a hermetic Python 3.11 toolchain and manage pip dependencies. However, a critical Bazel loading error was identified because @python_3_11 is a toolchain repository and does not contain defs.bzl or expose an interpreter target. The reviewer provided a fix to reference @python_3_11_host//:python directly as the interpreter target.

Comment thread WORKSPACE Outdated
@github-actions github-actions Bot added size: L 250< lines changed <1000 and removed size: S 10< lines changed <50 labels Aug 2, 2026
@kris524 kris524 changed the title [WIP] Bazel builds should be hermetic, but they're not Bazel builds should be hermetic, but they're not Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: L 250< lines changed <1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant