Commit e85ec49
ci: replace pipefail-unsafe pip-show|head with importlib.metadata
The previous `pip show pydata-sphinx-theme | head -3` would SIGPIPE
under bash -o pipefail (GitHub Actions default): head closes the pipe
after 3 lines, pip show exits non-zero, the step fails despite a
successful install.
Replace with a single Python invocation against importlib.metadata
that prints just the resolved version. No pipe involved, no broken
exit codes, and the output is what we actually wanted to log.
Verified locally: exit 0, prints `pydata-sphinx-theme 0.16.1`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4ff5dad commit e85ec49
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
0 commit comments