-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: get rid of pendulum for windows python3.13 users #252
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! it was easy enough, no? Nice job man! (binaries already corrected, all yours!)
min_time_datetime = temporal_parameters.start_datetime | ||
min_time = None | ||
if min_time_datetime: | ||
min_time = min_time_datetime.timestamp() * 1e3 | ||
max_time_datetime = temporal_parameters.end_datetime | ||
max_time = None | ||
if max_time_datetime: | ||
max_time = max_time_datetime.timestamp() * 1e3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so the typings read differently if the class is a pendulum or if it is a date time? quite cool, no? although I liked it best with pendulum.
@@ -589,7 +590,7 @@ def _get_file_size_last_modified_and_etag( | |||
) | |||
return ( | |||
s3_object["ContentLength"], | |||
pendulum.instance(s3_object["LastModified"]), | |||
s3_object["LastModified"].astimezone(tz=UTC), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why put it here with a timezone?
fix CMT-174
Some users are experiencing problems with pendulum with python3.13 and windows
📚 Documentation preview 📚: https://copernicusmarine--252.org.readthedocs.build/en/252/