Skip to content

deps: Bump rules_python -> 2.5.1 - #49376

Merged
phlax merged 1 commit into
mainfrom
dependency/bazel/rules_python/2.5.1
Nov 18, 2026
Merged

phlax merged 1 commit into
mainfrom
dependency/bazel/rules_python/2.5.1

Conversation

@dependency-envoy

Copy link
Copy Markdown
Contributor

Created by Envoy dependency bot for @phlax

  • rules_python -> 2.5.1

  • rules_python -> 2.5.1

Signed-off-by: dependency-envoy[bot] <148525496+dependency-envoy[bot]@users.noreply.github.com>

@phlax phlax changed the title deps: Bump rules_python -> 2.5.1 [WIP] deps: Bump rules_python -> 2.5.1 Nov 18, 2026
@phlax
phlax marked this pull request as draft November 18, 2026 12:04
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
phlax force-pushed the dependency/bazel/rules_python/2.5.1 branch from 4e3e5f6 to 2939629 Compare November 18, 2026 16:42
@phlax phlax changed the title [WIP] deps: Bump rules_python -> 2.5.1 deps: Bump rules_python -> 2.5.1 Nov 18, 2026
@phlax
phlax marked this pull request as ready for review November 18, 2026 21:31
@phlax
phlax merged commit ab91a71 into main Nov 18, 2026
28 checks passed
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]>
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.

1 participant