Use stdlib importlib.resources on python >= 3.12

Review Request #13997 — Created June 25, 2024 and updated — Latest diff uploaded

Information

RBTools

Reviewers

Our Python maintenance team is against packaging importlib-resources for Fedora1, as we already ship a recent enough version of Python and don't need a compatibility layer.

The unsatisfiable dependency currently blocks update to 5.0 so I'm planning to apply this patch to the package.

rbt setup-completion works correctly on Fedora 40 (Python 3.12) and on EL9 (Python 3.9)