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

fix: cleared multiple deperecation notices #821

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Conversation

TomerFi
Copy link
Owner

@TomerFi TomerFi commented Dec 28, 2024

Description

When I ran some tests, I noticed a couple of deprecation notices:

  • For datetime.datetime.utcnow(), the resolution is specified in the deprecation notice: datetime.datetime.now(datetime.UTC).
  • For ssl.SSLContext(), since version 3.10, SSLContext, the default value for the SSLContext function, PROTOCOL_TLS, was deprecated in favour of PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER.

image

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

image

@pull-request-size pull-request-size bot added the size: m Pull request has 30 to 100 lines label Dec 28, 2024
@auto-me-bot auto-me-bot bot added the status: needs review Pull request needs a review label Dec 28, 2024
@TomerFi TomerFi force-pushed the fix-deprecation-notices branch 2 times, most recently from 63ab349 to 5907480 Compare December 28, 2024 02:48
Copy link

github-actions bot commented Dec 28, 2024

Test Results

294 tests   294 ✅  3s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 0518989.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Dec 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.99%. Comparing base (c452d96) to head (0518989).
Report is 3 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #821   +/-   ##
=======================================
  Coverage   98.99%   98.99%           
=======================================
  Files          11       11           
  Lines        1293     1293           
=======================================
  Hits         1280     1280           
  Misses         13       13           

@TomerFi TomerFi force-pushed the fix-deprecation-notices branch from 5907480 to d0fc96c Compare December 28, 2024 04:21
@pull-request-size pull-request-size bot added size: s Pull request has 10 to 30 lines and removed size: m Pull request has 30 to 100 lines labels Dec 28, 2024
Signed-off-by: Tomer Figenblat <tomer@tomfi.info>
@TomerFi TomerFi force-pushed the fix-deprecation-notices branch from d0fc96c to 0518989 Compare December 28, 2024 14:40
@thecode
Copy link
Collaborator

thecode commented Dec 29, 2024

@YogevBokobza would be nice if you can validate the changed method in this PR using a real device

@TomerFi
Copy link
Owner Author

TomerFi commented Dec 30, 2024

@YogevBokobza would be nice if you can validate the changed method in this PR using a real device

@thecode, I added related information to the PR's body. I should have done that when I opened the PR.

@auto-me-bot auto-me-bot bot added status: approved Pull request is approved and removed status: needs review Pull request needs a review labels Dec 30, 2024
@thecode thecode merged commit 1df1aa6 into dev Dec 31, 2024
11 checks passed
@thecode thecode deleted the fix-deprecation-notices branch December 31, 2024 11:18
@auto-me-bot auto-me-bot bot added status: merged Pull request merged and removed status: approved Pull request is approved labels Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request has 10 to 30 lines status: merged Pull request merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants