Use of `pkg_resources` is deprecated in favor of `importlib.resources`, `importlib.metadata`
and their backports (`importlib_resources`, `importlib_metadata`). Some useful APIs are also
provided by packaging (e.g. requirements and version parsing). Users should refrain from new
usage of `pkg_resources` and should work to port to importlib-based solutions.
This caused a hiccup in our effort to upgrade Basket to Python 3.12. The workaround solution was to install setuptools into our virtualenv so PyFxA could continue to use it but this may not work long-term.
The Python docs say:
This caused a hiccup in our effort to upgrade Basket to Python 3.12. The workaround solution was to install
setuptools
into our virtualenv so PyFxA could continue to use it but this may not work long-term.