Repository navigation
deps: Bump rules_python -> 2.5.1 - #49376
Merged
Merged
Conversation
dependency-envoy
Bot
requested review from
RyanTheOptimist,
abeyad and
danzh2010
as code owners
November 18, 2026 11:38
rules_python -> 2.5.1rules_python -> 2.5.1
phlax
marked this pull request as draft
November 18, 2026 12:04
This was referenced Nov 18, 2026
phlax
added a commit
that referenced
this pull request
Nov 18, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on #49376 (a `rules_python` bump). `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from #49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on #49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on envoyproxy#49376 (a `rules_python` bump). `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from envoyproxy#49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on envoyproxy#49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
- `rules_python` -> 2.5.1 Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com> Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
dependency/bazel/rules_python/2.5.1
branch
from
November 18, 2026 16:42
4e3e5f6 to
2939629
Compare
rules_python -> 2.5.1rules_python -> 2.5.1
phlax
marked this pull request as ready for review
November 18, 2026 21:31
phlax
approved these changes
Nov 18, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from envoyproxy#49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on envoyproxy#49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.37): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from envoyproxy#49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on envoyproxy#49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.38): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from envoyproxy#49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on envoyproxy#49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.39): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on envoyproxy#49376 (a `rules_python` bump). `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from envoyproxy#49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on envoyproxy#49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from #49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on #49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.37): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from #49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on #49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.38): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from #49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on #49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]> Backport note (release/v1.39): with `envoy_toolshed` 0.4.13.post6 (the WORKSPACE line, envoyproxy/toolshed#5627) for the rule. This branch has the same test and the same CI image as `main` had, so the same test that only passes from the cache. (cherry picked from commit c111365)
phlax
added a commit
that referenced
this pull request
Nov 19, 2026
The `tap2pcap` tool (`@envoy_api//tools:tap2pcap`, from the traffic tapping docs) shelled out to `od` and to Wireshark's `text2pcap`, and its test compared `tshark` output to a golden file. The CI image has neither tool, so `@envoy_api//tools:tap2pcap_test` only passed while its result was in the remote cache: the API job reports "Executed 0 out of 5 tests". Anything that changes its action key runs it for real, and it fails with `FileNotFoundError: 'text2pcap'`, as on #49376 (a `rules_python` bump). `@envoy_toolshed//tap:defs.bzl` (envoyproxy/toolshed#5622, in `envoy_toolshed` 0.5.24.envoy from #49389) writes the PCAP in Python and is tested there. This makes the tool from that, with the v3 trace wrapper (`envoy.data.tap.v3`, where the old tool read the frozen `v2alpha` one), and removes `tap2pcap.py`, its test, the two fixtures, and the test's line in `do_ci.sh api`. For users `bazel run @envoy_api//tools:tap2pcap <tap .pb/.pb_text> <pcap path>` is unchanged, and no longer needs Wireshark installed. Other differences, from the toolshed implementation: IPv6 traces are written with correct headers (a known issue of the `text2pcap` path), `as_string` bodies are read as well as `as_bytes`, and a trace that is not a socket buffered trace is an error. Risk Level: Low (a developer tool and its test) Testing: These changes ran in CI on #49376 against a pre-release of the toolshed module, with a temporary target that converted the old `tap2pcap_h2_ipv4.pb_text` fixture with the new tool; the API job passed. The toolshed output for that fixture was also checked with `tshark` by hand: the same six HTTP/2 frames, lengths and times as the old golden file. Nothing in Envoy runs the tool after this change. Docs Changes: N/A (the documented command is unchanged) Release Notes: N/A Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by Envoy dependency bot for @phlax
rules_python-> 2.5.1rules_python-> 2.5.1Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com>