mapping-commons / sssom-py

Python toolkit for SSSOM mapping format
https://mapping-commons.github.io/sssom-py/index.html#
MIT License
49 stars 12 forks source link

Reduce three dependencies #467

Closed cthoyt closed 9 months ago

cthoyt commented 9 months ago

This PR reduces three dependencies:

  1. Removes the backport of importlib.metadata. Since SSSOM-py is now py38+, this is part of the standard library
  2. Hides the import for networkx inside the only function that uses it
  3. Hides the import for pansql inside the only function that uses it

Both of the hides are for seemingly specific functionality, so I don't think this will bother anyone.

matentzn commented 9 months ago

@hrshdhgd do you see anything problematic here?