chore: update to using importlib.metadata for entry_points#879
Conversation
4782bfe to
4c40f45
Compare
| ('py:func', 'find_packages'), | ||
| ('py:func', 'pkg_resources.iter_entry_points'), | ||
| ('py:func', 'setup'), | ||
| ('py:func', 'importlib.metadata.entry_points'), |
There was a problem hiding this comment.
@henryiii is it possible to add the corresponding importlib_metadata docs site to intersphinx? Or is this supposed to link stdlib?
There was a problem hiding this comment.
It was supposed to be stdlib, but it's stdlib in Python 3.10, so it's not showing up here yet. Maybe I could link to importlib_metadata when I mention the alternative, though.
There was a problem hiding this comment.
Correction: it actually does show up, I think, it's just the wrong interface until 3.10 is released.
There was a problem hiding this comment.
And looks like the docs for importlib_metadata don't define functions.
There was a problem hiding this comment.
I've added a comment to remove when 3.10 is out (such that /3 points at 3.10), and added a direct link to the docs for importlib_metadata.
There was a problem hiding this comment.
Yeah, I noticed: https://webknjaz.github.io/intersphinx-untangled/docs.python.org/.
FWIW 3.10 doesn't seem to document this either.
P.S. There's nothing stopping us from adding 3.10 to intersphinx as a separate entry already.
4c40f45 to
66ef2c8
Compare
66ef2c8 to
6dcefad
Compare
Closes #870. I think this was the outcome of the discussion?