Skip to content

Fix deprecated utcnow datetime warnings#990

Merged
pragya811 merged 1 commit into
mainfrom
datetime-warnings
Apr 21, 2026
Merged

Fix deprecated utcnow datetime warnings#990
pragya811 merged 1 commit into
mainfrom
datetime-warnings

Conversation

@pragya811

Copy link
Copy Markdown
Member

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Replaced all datetime.utcnow() calls (deprecated since Python 3.12) with the recommended timezone-aware alternative.

For security reasons, all pull requests need to be approved first before running any automated CI

@ebattat

ebattat commented Apr 20, 2026

Copy link
Copy Markdown
Member

@pragya811,
is it including all unittest warnings issue fixes ?

@pragya811

Copy link
Copy Markdown
Member Author

@pragya811, is it including all unittest warnings issue fixes ?

This just includes the majorly occurring utcnow deprecation warnings

@ebattat ebattat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approved

@pragya811 pragya811 merged commit a40e397 into main Apr 21, 2026
18 checks passed
@pragya811 pragya811 deleted the datetime-warnings branch April 21, 2026 04:46
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

Successfully merging this pull request may close these issues.

2 participants