opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[python] fix compatibility for Python 3.12

Open nbdd0121 opened this issue 1 year ago • 1 comments

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.

nbdd0121 avatar Sep 19 '24 11:09 nbdd0121

Passing CI: https://github.com/lowRISC/opentitan/actions/runs/10998725968/job/30537297981?pr=24605

nbdd0121 avatar Sep 23 '24 17:09 nbdd0121