-
Notifications
You must be signed in to change notification settings - Fork 92
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
Ignore deprecation warnings for pkg_resources.declare_namespace usage #1919
Comments
after this is done we will have also updated versions |
Actually this issue seems to be happening only due to pyfilesystem2 using If you just use xstatic for example, there is no issue:
but as soon as pkg_resources is imported with xstatic installed in the same environment:
So I think getting that import removed from |
See also |
Not much we can do here, other than wait for fs to stop using this deprecated module, I think. I'll push this back to v10. |
These deprecation warnings in the CI runs come from dependencies which still use this deprecated method. There is not much we can do about this, apart from making sure they have a ticket about it in their respective issue tracker.
The following is the list of declared namespaces we see this warning coming from:
fs
(issue opened: Remove usage of deprecated module pkg_resources PyFilesystem/pyfilesystem2#577)fs.opener
(see above)xstatic
(the github repo contains usage of this deprecated method, the installed package does not (?))xstatic.pkg
mpl_toolkits
(fixed upstream: https://github.com/matplotlib/matplotlib/blob/a4dca24d04f928a9e614db403c716237446140b2/doc/users/next_whats_new/mpl_toolkit_pep420.rst)mpl_toolkits.basemap_data
sphinxcontrib
zope
(tracked here: Switch to PEP 420 (Implicit namespace packages) zopefoundation/meta#194)I'll tick these off as I make sure that the issue is handled or at least made aware of.
Apart from that I think we should just ignore this type of warning. That is also what others (xarray, ibis, SCT) are doing.
The text was updated successfully, but these errors were encountered: