-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI version mismatches are not shown as a table if non-ABI3 symbols are present #124
Comments
Thanks for the detailed report @arcctgx! I greatly appreciate it. That looks like a bug to me -- if there's an ABI3 version mismatch and |
Ah yeah, this looks like a silly early design choice: The thinking behind this was that ABI3 violations are more serious than version violations, and that the |
Relevant function: Lines 63 to 89 in 27428b7
|
Now that was a quick RCA. 🙂 I forgot to mention that I also tested with older versions back to |
Detailed issues get quick triage 😄 And thanks for checking the older versions! That makes sense; this should be pretty simple to fix and I can try some things tonight or tomorrow most likely. |
Hi,
First of all, thank you for making
abi3audit
. I found it very useful, especially that the process of creating ABI3-compatible wheels is not very well-documented.As I was experimenting with
abi3audit-0.0.19
, I deliberately introduced two ABI3 errors into my C extension by adding this code:(None of these calls make sense for my code, the intention was to only trigger auditing errors.)
Then I built a wheel targeted for
cp37
, and ranabi3audit
on it. JSON output lists both errors:i.e. there are
non_abi3_symbols
andfuture_abi3_objects
listed, as expected. But verbose mode does not show both types of errors in the tabular form:It does list both errors in the summary, but only prints a table with non-ABI3 symbols. A table with ABI version mismatches is not shown.
To experiment further I built another wheel with ABI version mismatch only. This time the table was shown in verbose mode, as expected:
I expected an auditing tool to show every problem it detects when used in its verbose mode. But currently it appears that ABI version mismatches are not shown as a table if non-ABI3 symbols are present.
Is this behavior intended? Or am I using
abi3audit
wrong?The text was updated successfully, but these errors were encountered: