-
Notifications
You must be signed in to change notification settings - Fork 603
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
Using csvkit with Python3.9 produces DeprecationWarning's #1112
Comments
You say a ton of warnings, but only display one. Can you paste more of the warnings? |
They are all identical as shown above. About 1200 per run. It doesn't seem to depend on the number of lines in the CSV file. I am doing:
or
|
This is an upstream issue with setuptools and packaging with respect to Python 3.9: pypa/packaging#368 Some projects have implemented a workaround to silence the warning, like qutebrowser/qutebrowser@822bfec |
Can you add a similar workaround to csvkit? Since these are standalone tools, there's nothing much an enduser can do to prevent the warnings. |
An end-user's workaround for this would be using
However, it would be much neater if the proper workaround is implemented within the |
There's an in-progress pull request by a Pypa maintainer, so I'll wait to a bit to see if that gets closed: pypa/packaging#407 |
Sadly this is still a problem in 2023.
This is an amazing program, but warnings are problematic and then if there seems to be an error in response to SQL syntax, checking and rectifying is problematic too. |
@r0bis what version of csvkit are you using? There is nothing at the reported line using pkg_resources |
The upstream issues I linked to have been closed, so the original issue is closed. @r0bis If you believe there is an issue on the most recent version of csvkit, file an issue following the instructions with all necessary details to reproduce. https://github.com/wireservice/csvkit/blob/master/CONTRIBUTING.rst |
Thanks, I submitted the issue #1215 - version is 1.1.1 and it is manjaro linux |
When running
csvkit
tools using Python 3.9, there's a ton of warnings:I tried to disable the warnings with the following, but it doesn't help:
The text was updated successfully, but these errors were encountered: