-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
discussionNeeds further discussionNeeds further discussion
Description
Hello!
Since a recent upgrade of abi3audit
, my psutil CI builds started failing because long time ago I defined some custom Py*
functions which I use pretty much all over the C extension code (>200 occurrences). My take from this is that abi3audit
does not recognize them as known cPython API symbols due to the fact that I used a Py*
prefix. Would it be possible to add an --ignore
CLI parameter in order to ignore such occurrences?
E.g. in my case python3 -m abi3audit --ignore=PyInit__psutil_posix --ignore=PyErr_SetFromOSErrnoWithSyscall ...
would serve this purpose.
Thanks in advance
$ python3 -m abi3audit --verbose dist/*-abi3-*.whl
[10:26:14] 👎 psutil-6.0.1-cp310-abi3-linux_x86_64.whl: _psutil_linux.abi3.so has non-ABI3 symbols
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Symbol ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ PyInit__psutil_posix │
│ PyErr_SetFromOSErrnoWithSyscall │
└─────────────────────────────────┘
👎 psutil-6.0.1-cp310-abi3-linux_x86_64.whl: _psutil_posix.abi3.so has non-ABI3 symbols
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Symbol ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ PyErr_SetFromOSErrnoWithSyscall │
└─────────────────────────────────┘
💁 psutil-6.0.1-cp310-abi3-linux_x86_64.whl: 2 extensions scanned; 0 ABI version mismatches and 3 ABI violations found
Metadata
Metadata
Assignees
Labels
discussionNeeds further discussionNeeds further discussion