Switch from pkg_resources to modern packaging support.
Review Request #13146 — Created July 13, 2023 and submitted
pkg_resourcesis on its way out, with
importlib.metadatataking over much of the functionality.
This change updates our codebase to use these modern modules (by way of
backport modules depended on by Djblets) instead of
The updates are largely straightforward, with the biggest change being a
reviewboard.wsgito remove the import and some old
multi-versioned install setup code originally contributed by Fedora.
Unit tests pass.
Verified that hosting services and SCMTools loaded by entrypoint were
Tested upgrading older
Tested new sites with the updated
Tested the help output of
rb-siteto verify listed file paths.