[Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)

Steve Kowalik notifications at github.com
Thu Jul 23 08:01:01 UTC 2020


Stop using the heavy-weight pkg_resources and switch to a subclass of
importlib.metadata. This does add a dependency on packaging as well for
requirement and version parsing. I have also removed the comments about
the attempted rewrite, since I have addressed many of the concerns.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1317

-- Commit Summary --

  * pythondistdeps: Switch to importlib.metadata

-- File Changes --

    M scripts/pythondistdeps.py (192)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1317.patch
https://github.com/rpm-software-management/rpm/pull/1317.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200723/bf340126/attachment.html>


More information about the Rpm-maint mailing list