You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a dependency on import_metadata I think would be fine. It is pure Python, and already packaged in Anaconda as well. It also appears in the standard library as of Python 3.8:
Activity
stuartarchibald commentedon Dec 5, 2019
Thanks for the report. IIRC this approach mirrors that taken in pandas for the plotting backends https://github.com/pandas-dev/pandas/blob/0c2b1db198ce628ca889ad25c1179fff4ab3337c/pandas/plotting/_core.py#L1613-L1615 but it would appear they delay this scanning until needed. It seems like the suggested fixes involve taking on dependencies. CC @seibert, thoughts?
seibert commentedon Dec 5, 2019
Adding a dependency on
import_metadataI think would be fine. It is pure Python, and already packaged in Anaconda as well. It also appears in the standard library as of Python 3.8:https://docs.python.org/3/library/importlib.metadata.html
so this seems like heading toward where Python is already going.
stuartarchibald commentedon Dec 5, 2019
Task here is to remove the use of
pkg_resourcesand replace withimportlib_metadataand fix up the builds for that dependency chain.