Version 0.15 of the pyo3 Python bindings for Rust are obsolete, and they do not support Python 3.12. Notably, due to ABI changes in Python 3.12, I cannot even guarantee that this package currently works correctly when used in conjunction with Python 3.12. Therefore, I strongly recommend to move to pyo3 v0.19.2 or v0.20.0 on Fedora 39 and Rawhide *as soon as possible*. I will remove all versions of pyo3 that do not support Python 3.12 (and never will) from Fedora Rawhide soon (pending announcement). It appears that the upstream project is also still stuck on PyO3 version 0.15, so you will likely need to work with upstream on this issue: https://github.com/ctc-oss/fapolicy-analyzer/blob/master/crates/pyo3/Cargo.toml#L12 c.f. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XG7GMDZFL2RO4QHEFBJKU7YDE3AZBRVM/#XG7GMDZFL2RO4QHEFBJKU7YDE3AZBRVM Reproducible: Always
A pyo3 upgrade is completed in https://github.com/ctc-oss/fapolicy-analyzer/pull/905 and will be merged soon. I will bump the upgrade further to >= 0.19. Thanks for the notification, I somehow missed the cc on the mailing list announce in August.
Great, thank you!
v1.2.1 of the fapolicy-analyzer resolves this issue through an upgrade to pyo3 0.19.2 This has been pushed to rawhide. https://src.fedoraproject.org/rpms/fapolicy-analyzer/pull-request/28