[Rpm-maint] [rpm-software-management/rpm] pythondistdeps: Switch to importlib.metadata (#1317)
Miro Hrončok
notifications at github.com
Tue Sep 22 14:19:42 UTC 2020
@hroncok commented on this pull request.
> from warnings import warn
+try:
+ from importlib.metadata import PathDistribution
+ from pathlib import Path
+except ImportError:
+ from importlib_metadata import PathDistribution
+ from pathlib2 import Path
I'd rather have those two split, to use pathlib + importlib_metadata on e.g. Python 3.7.
--
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#pullrequestreview-493511637
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200922/5da2834a/attachment.html>
More information about the Rpm-maint
mailing list