Remove pkg_resources usage from the rest of the Djblets modules.

Review Request #13145 — Created July 13, 2023 and submitted

Information

Djblets
release-4.x

Reviewers

This updates djblets.mail and djblets.registries to replace
pkg_resources code with importlib_metadata. This leaves Djblets free
of pkg_resources code, with the exception of the extension packaging
support, which still needs it for now.

Unit tests pass.

Summary ID
Remove pkg_resources usage from the rest of the Djblets modules.
This updates `djblets.mail` and `djblets.registries` to replace `pkg_resources` code with `importlib_metadata`. This leaves Djblets free of `pkg_resources` code, with the exception of the extension packaging support, which still needs it for now.
9f51412a09d5122988f3ae7831df0fa7fb607750
Description From Last Updated

'importlib.resources' imported but unused Column: 1 Error code: F401

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (0feef8c)