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

Avoid deprecated utcnow() #8222

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Python 3.12 deprecated utcnow() and utcfromtimestamp().

ISSUE TYPE
  • Bugfix Pull Request
  • Feature Pull Request
COMPONENT NAME

various

@felixfontein felixfontein added the backport-8 Automatically create a backport for the stable-8 branch label Apr 15, 2024
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug callback callback plugin cloud module module module_utils module_utils plugins plugin (any type) tests tests unit tests/unit labels Apr 15, 2024
@felixfontein
Copy link
Collaborator Author

I'll merge this on the upcoming weekend if nobody objects.

@bhcopeland
Copy link

LGTM

@felixfontein felixfontein merged commit 524d588 into ansible-collections:main Apr 20, 2024
132 of 133 checks passed
@felixfontein felixfontein deleted the utc branch April 20, 2024 07:26
Copy link

patchback bot commented Apr 20, 2024

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/524d5883b8f51974284654f6f3292bbd22cfd59f/pr-8222

Backported as #8243

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Apr 20, 2024
Avoid deprecated utcnow().

(cherry picked from commit 524d588)
felixfontein added a commit that referenced this pull request Apr 20, 2024
Avoid deprecated utcnow() (#8222)

Avoid deprecated utcnow().

(cherry picked from commit 524d588)

Co-authored-by: Felix Fontein <[email protected]>
aretrosen pushed a commit to aretrosen/community.general that referenced this pull request Apr 22, 2024
Massl123 pushed a commit to Massl123/community.general that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch bug This issue/PR relates to a bug callback callback plugin cloud module_utils module_utils module module plugins plugin (any type) shipit tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants