Skip to content

py(deps): Test against libtmux utf-8-encoding branch#1045

Merged
tony merged 2 commits into
masterfrom
utf-8-encoding
May 23, 2026
Merged

py(deps): Test against libtmux utf-8-encoding branch#1045
tony merged 2 commits into
masterfrom
utf-8-encoding

Conversation

@tony
Copy link
Copy Markdown
Member

@tony tony commented May 23, 2026

Summary

  • Point libtmux dependency to the utf-8-encoding branch via uv.sources to test tmuxp against libtmux's UTF-8 encoding fix

Context

libtmux#678 / tmuxp#1044: tmux_cmd uses subprocess.Popen(text=True) without encoding="utf-8", causing FORMAT_SEPARATOR corruption on non-UTF-8 locales. The libtmux fix is at tmux-python/libtmux#679.

This PR lets CI validate tmuxp works with the fixed libtmux before it ships.

Test plan

  • CI passes with libtmux from the utf-8-encoding branch

@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.98%. Comparing base (0fcad16) to head (d852e9e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   81.98%   81.98%           
=======================================
  Files          28       28           
  Lines        2548     2548           
  Branches      485      485           
=======================================
  Hits         2089     2089           
  Misses        328      328           
  Partials      131      131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony tony force-pushed the utf-8-encoding branch 3 times, most recently from 52c50c7 to 056ca62 Compare May 23, 2026 16:11
why: libtmux 0.58.0 fixes subprocess output decoding on non-UTF-8
locales, resolving empty list-accessor results for users whose
system locale is not UTF-8.
@tony tony force-pushed the utf-8-encoding branch from 056ca62 to ee0eea5 Compare May 23, 2026 16:12
why: Document the dependency bump for the upcoming release.
what:
- Add Fixes section noting libtmux ~=0.58.0 floor
- Highlight the non-UTF-8 locale decoding fix
@tony tony force-pushed the utf-8-encoding branch from de7f382 to d852e9e Compare May 23, 2026 16:27
@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.98%. Comparing base (0fcad16) to head (d852e9e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   81.98%   81.98%           
=======================================
  Files          28       28           
  Lines        2548     2548           
  Branches      485      485           
=======================================
  Hits         2089     2089           
  Misses        328      328           
  Partials      131      131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony tony merged commit 8cfcbff into master May 23, 2026
13 checks passed
@tony tony deleted the utf-8-encoding branch May 23, 2026 16:31
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