Skip to content

Bump CI Python and action versions - #432

Merged
jquast merged 7 commits into
masterfrom
codspeed_fix
Nov 14, 2026
Merged

jquast merged 7 commits into
masterfrom
codspeed_fix

Conversation

@avylove

@avylove avylove commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

Started looking at the codspeed issue and it seemed to go away bumping the version, so seemed like a good time to bump the versions.

docformatter is still pinned to 1.7.7 on 3.13 because they haven't fixed the regression in 1.7.8.

#431 will probably cause about to fail, but I can put in a fix if you tell me what you want it to be.

@codspeed

codspeed Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Hooray! CodSpeed harness just leveled up!

The base and head of this comparison were measured with different runner settings, so their benchmark values are not directly comparable.

What changed between base and head:

Re-run the base with the same settings to get a valid performance comparison.


Comparing codspeed_fix (3c0ffe6) with master (eb97098)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (f82e92e) during the generation of this report, so eb97098 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.76%. Comparing base (f82e92e) to head (3c0ffe6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #432   +/-   ##
=======================================
  Coverage   97.76%   97.76%           
=======================================
  Files          13       13           
  Lines        4118     4118           
  Branches      697      697           
=======================================
  Hits         4026     4026           
  Misses         70       70           
  Partials       22       22           

☔ View full report in Codecov by Harness.
📢 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.

@avylove

avylove commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator Author

3.16 fails because codspeed doesn't support it, but it's optional and it's doing it's job

3.15 fails with
DeprecationWarning: This process (pid=301) is multi-threaded, use of forkpty() may lead to deadlocks in the child.
@jquast have you looked into this already?

@jquast

jquast commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

yes, I noticed this deprecation warning, I think it is fine and I can build an ignore around it, or it will be removed by removing xdist and maybe I'll do that.

If I remember, this is a warning that you could modify the same file descriptors from different threads and that would be a mess, but we don't do that even with xdist enabled, each test is a unit around its own "pty_test" calls and not shared.

@jquast

jquast commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

I discovered the standard library faulthandler causes this warning, changing faulthandler_timeout = 30 to faulthandler_timeout = 0 fixes the problem, but I'd rather keep this, some tests can lockup and this helps get their tracebacks when they do. So I will ignore this single warning, and remove the general deprecation ignores that were added previously

@jquast

jquast commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Also, the "tox -e about" was designed with pexpect a long time ago when CI was new and we were discovering their differences, especially solaris vs. freebsd vs. linux details, but anyway we don't have problems with this any longer and so I have removed the "about" step from envlist.

Related to #431, running this today from tox, like tox -p auto causes it to misbehave:

  • an XTVERSION query is written to stdout (tox acts like a pty),
  • no response is made/timeout
  • then, tox passes this output at end of process,
  • our terminal then "replies", much too late, into the next prompt..
$ tox -p auto -e about
⠦ [1/1] about
6973=1B5B3F31323B323568^[\^[P1+r536D756C78=5C455B343A25703125646D^[\^[P1+r536574756C63=5C455B35383A323A3A257031257B36353533367D252F25643A257031257B3235367D252F257B3235357D252625643A257031257B3235357D25262564253B6D^[\Traceback (most recent call last):
  File "/home/jq/Code/blessed/bin/display-modes.py", line 275, in <module>
    main()
    ~~~~^^
  File "/home/jq/Code/blessed/bin/display-modes.py", line 248, in main
    _program = term.bright_cyan(term.term_program or term.bright_black('unknown'))
  File "/home/jq/Code/blessed/.tox/about/lib/python3.15/site-packages/blessed/formatters.py", line 280, in __call__
    raise TypeError(
    ...<2 lines>...
    )
TypeError: TypeError for FormattingString argument, True, at position 0: expected type str, got bool
^[P1+r4D73=5C455D35323B25703125733B25703225735C303037^[\^[[36;1R^[P>|ghostty 1.4.1-main+2fc8d02c2^[\^[[36;1R^[[?62;22;52c^[[8;1R[ble: EOF]                                                                                    [ble: exit 1]
jq@frame13:~/Code/blessed$ 1+r544E=787465726D2D67686F737474791+r524742=381+r636F6C6F7273=3235361+r626C696E6B=1B5B356D1+r7369746D=1B5B336D1+r7269746D=1B5B32336D1+r6376766973=1B5B3F31323B3235681+r536D756C78=5C455B343A25703125646D1+r536574756C63=5C455B35383A323A3A257031257B36353533367D252F25643A257031257B3235367D252F257B3235357D252625643A257031257B3235357D25262564253B6D1+r4D73=5C455D35323B25703125733B25703225735C303037>|ghostty 1.4.1-main+2fc8d02c2

@jquast
jquast merged commit 7fbbd90 into master Nov 14, 2026
14 of 16 checks passed
@jquast
jquast deleted the codspeed_fix branch November 14, 2026 14:33
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.

2 participants