-
-
Notifications
You must be signed in to change notification settings - Fork 93
Issues with Conda distribution (when updating to select interface) #308
Copy link
Copy link
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right