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

Warning in Python 3.13 about parsing dates without a year #317

Open
scottstanie opened this issue Oct 21, 2024 · 0 comments
Open

Warning in Python 3.13 about parsing dates without a year #317

scottstanie opened this issue Oct 21, 2024 · 0 comments

Comments

@scottstanie
Copy link

It looks like once Python 3.13 starts to trickle in, there will be warnings about date parsing coming from asf_search

Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.

I can add it to the pytest ignore list to make my CI pass, but just putting this on the radar to address at some point

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

1 participant