-
Notifications
You must be signed in to change notification settings - Fork 59
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
pkg_resources is deprecated #763
Comments
@rolandmas, thanks for the note! @markotoplak, as far as I can see |
@borondics, version checks are easy. The problem is the namespace package |
I think I got this working without |
@rolandmas, are pkg_resources really a problem if the package explicitly requires setuptools, as is the case here? The problem here is that a lot (almost all) orangecontrib packages use the legacy pkg_resources style of namespace packages. If I try changing styles, it still seems to work, but https://packaging.python.org/en/latest/guides/packaging-namespace-packages strongly discourages mixing namespace packaging styles. Therefore, for now, I'd stick to explicitly requiring setuptools. Is that a problem? I did remove its other uses though. |
I completely removed pkg_resources in #782, but am afraid to merge it for possible incompatibilities with other add-ons. |
@markotoplak I haven't seen any big incompatibilities with |
Hello, your friendly Debian package maintainier here. It's been brought to my attention that the pkg_resources module is deprecated (see https://setuptools.pypa.io/en/latest/pkg_resources.html); this led to a bug report in the Debian PTS (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083524), which I'd like to submit to you. I don't think there's any emergency at this point, but this should be fixed before the module in question is actually removed :-)
The text was updated successfully, but these errors were encountered: