Skip to content

Commit

Permalink
Update docs/notes/2.25.x.md
Browse files Browse the repository at this point in the history
Co-authored-by: Huon Wilson <wilson.huon@gmail.com>
  • Loading branch information
tdyas and huonw authored Feb 5, 2025
1 parent a9e3583 commit f0ba487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notes/2.25.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ The version of Python used by Pants itself is now [3.11](https://docs.python.org

The oldest [glibc version](https://www.sourceware.org/glibc/wiki/Glibc%20Timeline) supported by the published Pants wheels is now 2.28. This should have no effect unless you are running on extremely old Linux distributions. See <https://github.com/pypa/manylinux> for background context on Python wheels and C libraries.

The integration testing framework in the `pantsbuild.pants.testutil` package now supports streaming the output of the Pants invocation under test to the console. This is useful when debugging long-running integration tests which would otherwise show no output while they run since the integration test framework previously only captured output to a buffer. To use, set the `stream_output` parameter to `True` on specific invocation(s) of the `run_pants_with_workdir` and `run_pants` function, and then run the test with `--debug` so the test is invoked as an interactive process and the pytest `--capture=no` option so pytest does not capture the output during the run.
The integration testing framework in the `pantsbuild.pants.testutil` package now supports streaming the output of the Pants invocation under test to the console. This is useful when debugging long-running integration tests which would otherwise show no output while they run since the integration test framework previously only captured output to a buffer. To use, adjust specific test(s) to use the new `stream_output` parameter, like `run_pants_with_workdir(..., stream_output=True)` or `run_pants(..., stream_output=True)`, and then run the test `pants test --debug path/to:test -- --capture=no` so the test is invoked as an interactive process and pytest does not capture the output during the run.


## Full Changelog
Expand Down

0 comments on commit f0ba487

Please sign in to comment.