opentitan
opentitan copied to clipboard
[python] fix compatibility for Python 3.12
Fix #24360
pkg_resources is removed in Python 3.12 and replaced by importlib.resources. importlib.resources however is available in Python 3.9+, so use a polyfill library instead.
Bump a bunch of dependencies to the version that supports 3.12.
Passing CI: https://github.com/lowRISC/opentitan/actions/runs/10998725968/job/30537297981?pr=24605