NousResearch/hermes-agent

Fix return-in-finally SyntaxWarning for Python 3.14+

Cluster 21088 · hermes cli. Data as of

1 open item. Fix merged in #73520 on 28 Jul 2026. Check it covers your case.

The short answer

0open issues
1open PR
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #73520. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
0 issues and 1 PR.

These issues and PRs address a SyntaxWarning introduced in Python 3.14+ caused by return statements inside finally blocks in voice-related CLI code. The changes move or remove those return statements to resolve the warning.

Open issues0

No open issues.

Open PRs1

  • PR#23654fix(cli): remove return from voice finally block

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #73520 fix(voice): CLI/TUI voice mode UX and environment fixes (15 items)

    merged to main

    files: cli.py, contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[email protected], hermes_cli/config.py, hermes_cli/voice.py, tests/hermes_cli/test_voice_wrapper.py, tests/test_tui_gateway_server.py, tests/test_voice_max_recording_seconds.py, tests/tools/test_clipboard.py, tests/tools/test_termux_api_detection.py, tests/tools/test_tts_macos_output.py, tests/tools/test_voice_cli_integration.py, tests/tools/test_voice_mode.py, tests/tools/test_voice_wsl_pipewire.py, tools/tts_tool.py, tools/voice_mode.py (+4 more)

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #21100 fix(voice): remove return-in-finally to fix Python 3.14+ SyntaxWarning · done elsewhere → e04c2a9, #73520, #52004
  • #21261 fix(cli): move return out of finally block in _voice_stop_and_transcribe (Python 3.14+) · done elsewhere → e04c2a9, #73520, #52004, #21100
Closed issues · 1
  • Closed#21088SyntaxWarning: return in finally block in _voice_process_recording (Python 3.14+)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
hermes cli
Merged PRs
#73520
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Jul 2026

For your agent

The same facts, typed.