Skip to content

cli: human-readable YAML-like output with --symbols flag#20

Merged
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
tiran:cli-yaml-output
Apr 27, 2026
Merged

cli: human-readable YAML-like output with --symbols flag#20
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
tiran:cli-yaml-output

Conversation

@tiran
Copy link
Copy Markdown
Collaborator

@tiran tiran commented Apr 24, 2026

Replace pprint with a YAML-like formatter for ELFInfo output. Add
--symbols flag to include sorted exported and imported dynamic symbols.
None-valued fields and the marker field are omitted. Multiple entries
are separated by "---".

Example:

$ elfdeps /usr/lib64/libc.so.6
filename: /usr/lib64/libc.so.6
requires:
  - ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
provides:
  - libc.so.6(GLIBC_2.34)(64bit)
machine: EM_X86_64
is_dso: true
is_exec: false
soname: libc.so.6

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Replace pprint with a YAML-like formatter for ELFInfo output. Add
--symbols flag to include sorted exported and imported dynamic symbols.
None-valued fields and the marker field are omitted. Multiple entries
are separated by "---".

Example:

```
$ elfdeps /usr/lib64/libc.so.6
filename: /usr/lib64/libc.so.6
requires:
  - ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
provides:
  - libc.so.6(GLIBC_2.34)(64bit)
machine: EM_X86_64
is_dso: true
is_exec: false
soname: libc.so.6
```

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mergify mergify Bot merged commit a85edaf into python-wheel-build:main Apr 27, 2026
12 checks passed
@tiran tiran deleted the cli-yaml-output branch April 27, 2026 19:00
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