test: drop jinja2 dependency from combine_logs.py #36958

Manually merged
fanquake merged 2 commits from combine_logs_drop_jinja2 into master 2026-11-25 20:07:53 +00:00 AGit
fanquake commented 2026-11-24 11:07:19 +00:00 (Migrated from github.com)

Use string.Template from the Python std lib instead.
Drop the --html option. If you were using this --html option, feel free to submit a pull with this commit reverted

Use [string.Template](https://docs.python.org/3/library/string.templatelib.html) from the Python std lib instead. Drop the `--html` option. If you were using this `--html` option, feel free to submit a pull with this commit reverted
DrahtBot commented 2026-11-24 11:07:29 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK maflcko, hodlinator
Stale ACK willcl-ark

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36958 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36958.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36958#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [maflcko](https://github.com/bitcoin/bitcoin/pull/36958#issuecomment-7166553897), [hodlinator](https://github.com/bitcoin/bitcoin/pull/36958#pullrequestreview-6062145546) | | Stale ACK | [willcl-ark](https://github.com/bitcoin/bitcoin/pull/36958#pullrequestreview-6038394269) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

🟠 Minor · test/README.md still advertises the removed HTML output mode

The functional-test README still advertises an HTML output mode that combine_logs.py no longer supports.

Location: test/functional/combine_logs.py:42 (base).

Review coverage was incomplete.


Reviewed: 3bed3cf56f1f · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:806938d40e279b6d701b2e78128bb1a09b55193a0b697245a1dce6241d3081c1:3607c760b63c01fb7f1f349adfc3fd0614b148a7df02e42f2f0edc2d448925a1 --> <!-- ralph-base:5ba05739881855cba25c3c05d6f82a61b8a0665f --> <!-- ralph-head:3bed3cf56f1f2d6f14835cf550603bb8567876e3 --> <!-- ralph-case:8ae3acee2b7012c2eeafcdb8e00537952e6440e6d0eaff553495134642b38811 --> **🟠 Minor · `test/README.md` still advertises the removed HTML output mode** The functional-test README still advertises an HTML output mode that `combine_logs.py` no longer supports. Location: [`test/functional/combine_logs.py:42`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/4cf0f7c80cd4da7c7f79a958f7455c4bfd1f86aa/test/functional/combine_logs.py#L42>) (base). Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`3bed3cf56f1f`](<https://git.fish.foo/bitcoin/bitcoin/commit/3bed3cf56f1f2d6f14835cf550603bb8567876e3>) · [Review report](<https://review.fish.foo/report/36958-3bed3cf56f1f2d6f14835cf550603bb8567876e3-3129-3.html>) · [Previous reports](<https://review.fish.foo/traces/36958/>) [permalink](<https://review.fish.foo/report/36958-3bed3cf56f1f2d6f14835cf550603bb8567876e3-3129-3.html>)
willcl-ark (Migrated from github.com) approved these changes 2026-11-24 11:28:55 +00:00
willcl-ark (Migrated from github.com) left a comment

ACK 6bbc24ef1e

Didn't test final browser rendering, but everything else looks OK.

Nice to drop another dependency from the project.

ACK 6bbc24ef1e6ee8677999335a0c44e392875be79c Didn't test final browser rendering, but everything else looks OK. Nice to drop another dependency from the project.
maflcko commented 2026-11-24 17:18:01 +00:00 (Migrated from github.com)

lgtm ACK 6bbc24ef1e

Is anyone using this, when the same is already available on the terminal? Maybe a new commit can be added on top to remove it, and if someone is using it, the commit is trivial to revert?

lgtm ACK 6bbc24ef1e6ee8677999335a0c44e392875be79c Is anyone using this, when the same is already available on the terminal? Maybe a new commit can be added on top to remove it, and if someone is using it, the commit is trivial to revert?
fanquake commented 2026-11-25 14:16:38 +00:00 (Migrated from github.com)

Maybe a new commit can be added on top to remove it,

Sure, will push something up. Looks like this has other bugs too (#36982).

> Maybe a new commit can be added on top to remove it, Sure, will push something up. Looks like this has other bugs too (#36982).
maflcko commented 2026-11-25 14:25:33 +00:00 (Migrated from github.com)

I meant only the --html option

I meant only the --html option
maflcko commented 2026-11-25 15:00:16 +00:00 (Migrated from github.com)

Maybe put in the commit msg: "If you were using this --html option, feel free to submit a pull with this commit reverted" (or in the pull description)

Maybe put in the commit msg: "If you were using this --html option, feel free to submit a pull with this commit reverted" (or in the pull description)
fanquake commented 2026-11-25 15:01:54 +00:00 (Migrated from github.com)

Sure. Added to both.

Sure. Added to both.
maflcko commented 2026-11-25 15:15:30 +00:00 (Migrated from github.com)

lgtm ACK 3bed3cf56f

Seems fine to remove for now and then add back when someone is actually using this option.

lgtm ACK 3bed3cf56f1f2d6f14835cf550603bb8567876e3 Seems fine to remove for now and then add back when someone is actually using this option.
hodlinator (Migrated from github.com) approved these changes 2026-11-25 17:34:01 +00:00
hodlinator (Migrated from github.com) left a comment

ACK 3bed3cf56f

Never used --html before. Verified that --html worked for a failing test run on the first commit (with jinja2 dependency removed). Second commit could simply be reverted if we learn of someone using it.

ACK 3bed3cf56f1f2d6f14835cf550603bb8567876e3 Never used `--html` before. Verified that `--html` worked for a failing test run on the first commit (with jinja2 dependency removed). Second commit could simply be reverted if we learn of someone using it.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36958
No description provided.