-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
I just updated my package, to require importlib-metadata>=3.6
and fix the deprecation: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
(now using entry_points(group=group_name, name=entry_name)
).
However, for some weird reason there is both:
- https://github.com/conda-forge/importlib_metadata-feedstock
- https://github.com/conda-forge/importlib-metadata-feedstock (archived)
So you can easily end up with:
importlib-metadata 4.0.1 pypi_0 pypi
importlib_metadata 2.0.0 1
and then it seems that it can be undetermistic which version you end up importing,
leading to: TypeError: entry_points() got an unexpected keyword argument 'group'
I don't imagine I'll be the only one bitten by this, and kind of means if you have a Conda distribution you can't write code that assumes you are installing importlib_metadata>=3.6
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right