Skip to content

fix(functions): Removed usage of deprecated datetime.utcnow() #896

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
Jul 2, 2025

Conversation

jonathanedey
Copy link
Contributor

@jonathanedey jonathanedey commented Jun 23, 2025

This PR also fixes a flaky task_options test.

RELEASE NOTE: Replaced usage of deprecated datetime.utcnow() with datetime.now(timezone.utc)

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM!

@jonathanedey jonathanedey merged commit 339452e into master Jul 2, 2025
14 of 15 checks passed
@jonathanedey jonathanedey deleted the je-fix-task-queue branch July 2, 2025 20:04
jonathanedey added a commit that referenced this pull request Jul 10, 2025
jonathanedey added a commit that referenced this pull request Jul 14, 2025
* change(fcm): Remove deprecated FCM APIs (#890)

* chore(deps): Bump minimum supported Python version to 3.9 and add 3.13 to CIs (#892)

* chore(deps): Bump minimum supported Python version to 3.9 and add 3.13 to CIs

* fix deprecation warnings

* fix GHA build status svg

* fix: Correctly scope async eventloop

* fix: Bump pylint to v2.7.4 and astroid to v2.5.8 to fix lint issues

* fix ml tests

* fix lint

* fix: remove commented code

* change(ml): Drop AutoML model support (#894)

* chore: Bump `pylint` to v3.3.7 and `astroid` to v3.3.10 (#895)

* chore: Bump pylint to v3

* chore: fix src lint

* chore: fix unit test lint

* chore: fix integration test lint

* chore: fix snippets lint

* chore: 2nd pass for errors

* fix: corrected use of the `bad-functions` config

* fix: add EoF newline

* chore: Upgraded Google API Core, Cloud Firestore, and Cloud Storage dependencies (#897)

* chore: Bump dependencies

* fix: Also update setup.py

* fix(functions): Remove usage of deprecated `datetime.utcnow() and fix flaky unit test` (#896)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants