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

Move away from dep datetime call #79

Merged
merged 1 commit into from
Mar 10, 2024
Merged

Move away from dep datetime call #79

merged 1 commit into from
Mar 10, 2024

Conversation

jborean93
Copy link
Owner

Python 3.12 deprecated datetime.datetime.utcnow() in favour of datetime.datetime.now(datetime.timezone.utc) to ensure that a non naive dt object was created. This PR moved to the newer syntax where the older one was used.

Fixes: #78

Python 3.12 deprecated datetime.datetime.utcnow() in favour of
datetime.datetime.now(datetime.timezone.utc) to ensure that a non naive
dt object was created. This PR moved to the newer syntax where the older
one was used.
Copy link

codecov bot commented Mar 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.96%. Comparing base (a630aa6) to head (8b3b420).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          30       30           
  Lines        5365     5365           
=======================================
  Hits         5363     5363           
  Misses          2        2           
Flag Coverage Δ
99.96% <100.00%> (ø)
py3.10 99.92% <100.00%> (ø)
py3.11 99.92% <100.00%> (ø)
py3.12 99.92% <100.00%> (ø)
py3.8 99.92% <100.00%> (ø)
py3.9 99.96% <100.00%> (ø)
x64 99.96% <100.00%> (ø)
x86 95.84% <100.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jborean93 jborean93 merged commit 03824ee into main Mar 10, 2024
29 checks passed
@jborean93 jborean93 deleted the datetime branch March 10, 2024 22:49
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.

Deprecation warning in tls.py
1 participant