Skip to content

Resolve datetime deprecation warnings #3686

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

Merged
merged 1 commit into from
May 2, 2025
Merged

Conversation

emmanuel-ferdman
Copy link
Contributor

PR Summary

This small PR fixes the datetime deprecation warnings which you can find in the CI logs:

 /home/runner/work/_actions/getsentry/self-hosted/master/_integration-test/test_01_basics.py:303: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@BYK BYK enabled auto-merge (squash) May 1, 2025 22:13
@aldy505 aldy505 requested a review from hubertdeng123 May 2, 2025 04:13
@BYK BYK merged commit 8409442 into getsentry:master May 2, 2025
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants