sphinx icon indicating copy to clipboard operation
sphinx copied to clipboard

Fix flaky test_numfig_disabled_warn by ensuring fresh build

Open kartben opened this issue 3 months ago • 3 comments

When shared_result cache is empty but artifacts exist, the build was incorrectly skipped, leaving app.warning empty. Force freshenv=True and disable build skipping in this case to ensure warnings are generated.

Fixes sphinx-doc/sphinx#14104

Purpose

References

  • <...>
  • <...>
  • <...>

kartben avatar Nov 27 '25 22:11 kartben

The single test failure seems unrelated -- perhaps an overfitted regex number-of-decimal-places expectation (expecting exactly three digits where perhaps shorter values are possible).

Edit: fixup: overfittered is not a word

jayaddison avatar Nov 27 '25 22:11 jayaddison

Is there a more local fix we could find?

A

AA-Turner avatar Nov 27 '25 22:11 AA-Turner

The single test failure seems unrelated -- perhaps an overfitted regex number-of-decimal-places expectation (expecting exactly three digits where perhaps shorter values are possible).

Edit: fixup: overfittered is not a word

This wasn't entirely accurate -- but either way, I've filed that (unrelated) problem as #14109.

jayaddison avatar Nov 27 '25 22:11 jayaddison