Skip to content

bazel/v8: Fix non-hermetic python usage - #41959

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:deps-v8-hermetic
Nov 11, 2025
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:deps-v8-hermetic

Conversation

@phlax

@phlax phlax commented Nov 11, 2025

Copy link
Copy Markdown
Member

No description provided.

@repokitteh-read-only repokitteh-read-only Bot added the deps Approval required for changes to Envoy's external dependencies label Nov 11, 2025
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @agrawroh

🐱

Caused by: #41959 was opened by phlax.

see: more, trace.

@phlax

phlax commented Nov 11, 2025

Copy link
Copy Markdown
Member Author

/retest

@phlax
phlax enabled auto-merge (squash) November 11, 2025 12:12
@phlax
phlax merged commit 8db339e into envoyproxy:main Nov 11, 2025
@repokitteh-read-only repokitteh-read-only Bot removed the deps Approval required for changes to Envoy's external dependencies label Nov 11, 2025
grnmeira pushed a commit to grnmeira/envoy that referenced this pull request Mar 20, 2026
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
V8 generates its inspector files with a `local` genrule, which runs its
(hermetic) Python on the host, whatever the execution platform is. When
the binaries are built on other workers than the host's (the arm64 half
of `ci/do_ci.sh release.multiarch`, on arm64 workers from an x64 host),
that is the Python of the workers, which the host can not run:

  .../_code_generator.venv/bin/python3: Syntax error: "(" unexpected

The generator only reads its inputs and writes its outputs, and its
Python is hermetic since envoyproxy#41959, so it can run where the rest of the
build does.

Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants