Skip to content
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: The .get() parsing method without a format string will parse more strictly in version 0.15.0 #284

Closed
mobeigi opened this issue May 2, 2021 · 1 comment

Comments

@mobeigi
Copy link

mobeigi commented May 2, 2021

Howdy,

I use ICS for a package of mine and during unit tests I am seeing the following warnings:

C:\Users\Mo\.virtualenvs\fb2cal-IW7zb1ZR\lib\site-packages\arrow\factory.py:202: ArrowParseWarning: The .get() parsing method without a format string will parse more strictly in version 0.15.0.See https://github.com/crsmithdev/arrow/issues/612 for more details.
  warnings.warn(
C:\Users\Mo\.virtualenvs\fb2cal-IW7zb1ZR\lib\site-packages\arrow\factory.py:249: ArrowParseWarning: The .get() parsing method with a format string will parse more strictly in version 0.15.0.See https://github.com/crsmithdev/arrow/issues/612 for more details.
  warnings.warn(
.....

For more context see: arrow-py/arrow#612

Might want to fix the usage here.

@N-Coder
Copy link
Member

N-Coder commented May 2, 2021

Thanks for the heads up! We will remove the arrow dependency with the next version of ics.py, as it is unable to handle floating/local timestamps as defined by the ics standard. The commits for this are already in with PR #222, and iirc there were further breakages with arrow 0.15, which is why we pinned the version of the dependency. I doubt that there will be an intermediate release of ics.py that fixes the version compatibility, thus it's probably best to simply silence the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants