pkg_resources is deprecated and since indico already requires python 3.12, the standard library has all that should be needed.