Skip to content

Issues with Conda distribution (when updating to select interface) #308

@chrisjsewell

Description

@chrisjsewell

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:

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

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions