-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
ArrowParseWarning, for the .get() method #296
Comments
Hey @ryanmjacobs, I'm one of the maintainers of arrow. These warnings are a result of long standing str parsing bugs that we're attempting to fix in Version 0.15.0. Looking through your grep the potential breakages will be in;
Whether something breaks will depend on exactly what format is being parsed. I think utils.py is safe from reading the code, anything like Version 0.15.0 is on track for being released at the end of August, let me know if you need anymore info. |
Hey @systemcatch, thanks for the speedy follow-up. That's super helpful. I went ahead and started doing replacements on Anyways, here's my progress so far. I've been cautious when adding the format strings to There are some inconsistencies regarding which format of datetime strings are used across the codebase. I'd love if the author/maintainer could pitch in and describe confidently: which formats are used and where.
|
That format is fine to use.
As long as the timestamps are ints/floats and not strings it's all good. |
Hey! I agree with @ryanmjacobs. It would be great if someone who is more familiar with the code base could help here. Meanwhile, if someone is annoyed of all the warnings, it's possible to suppress those: master...nesmyslny:ignore-arrow-parse-warnings (documented here: arrow-py/arrow#612 (comment)) Obviously that are nasty workarounds 😉 Just temporary relief 😄 |
Just a quick note that we released arrow 0.14.7 a few days ago. The ArrowParseWarnings have been dialed back and will just behave like normal deprecation warnings (no suppression needed). There's no other changes in that version so if you want the warnings gone it should be a safe upgrade. 🤞 |
See #313 for relevant PR. I'm closing this issue now. |
After updating my system today,
watson sync
triggers this warning message a couple of times:I grepped the source code for all calls to
arrow.get()
,I'm thinking that all we have to do is change every call to use the date format
YYYY MM D
. But I'm not super familiar with the codebase, so I don't know if any other date formats were used. I doubt it, but you can never be too careful.The text was updated successfully, but these errors were encountered: