-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Conda distribution (when updating to select
interface)
#308
Comments
Actually, I would expect the cc-ing @marcelotrevisani @nehaljwani @nicoddemus, the conda-forge package maintainers |
Note, in my case this was reported to me because someone was using the latest anaconda release (https://www.anaconda.com/blog/individual-edition-2020-11), which specifies
Obviously I appreciate this is not "your fault", but that does not escape the fact that I actioned your deprecation warning and now have people complaining that my package is broken 😢 (so at least bares noting) |
Despite pinning to `importlib-metdata>=3.6` in #319, python/importlib_metadata#308 could still cause Conda installs to fail using the newer interface. So now the pinning is removed, and the new interface is only used if available.
Despite pinning to `importlib-metdata>=3.6` in #319, python/importlib_metadata#308 could still cause Conda installs to fail using the newer interface. So now the pinning is removed, and the new interface is only used if available.
Thanks for the report. I may have a solution for you. I recognize that while some packages can require |
To be sure, PEP 503 is the repository API, which means that from PyPI's perspective, |
See also #298 for other suggestions. I don't think there's much this project can do, but if there's any way I can help, please ask. |
I just updated my package, to require
importlib-metadata>=3.6
and fix the deprecation:DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
(now usingentry_points(group=group_name, name=entry_name)
).However, for some weird reason there is both:
So you can easily end up with:
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
The text was updated successfully, but these errors were encountered: