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

Replace deprecated utcnow() with now(utc) #38

Merged
merged 1 commit into from
May 16, 2023
Merged

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented May 16, 2023

Will raise a deprecation warning in 3.12: python/cpython#103857.

@hugovk hugovk added the changelog: Changed For changes in existing functionality label May 16, 2023
@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Merging #38 (359f154) into main (2b575ad) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   96.87%   96.87%           
=======================================
  Files           4        4           
  Lines         192      192           
=======================================
  Hits          186      186           
  Misses          6        6           
Flag Coverage Δ
macos-latest 96.87% <100.00%> (ø)
ubuntu-latest 96.87% <100.00%> (ø)
windows-latest 96.87% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/pepotron/_cache.py 94.87% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hugovk hugovk merged commit d726288 into main May 16, 2023
@hugovk hugovk deleted the replace-deprecated-utcnow branch May 16, 2023 12:55
@hugovk hugovk changed the title Replace deprecated utcnow() with now(utc) Replace deprecated utcnow() with now(utc) May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Changed For changes in existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant