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: utcnow is deprecated in Python 3.12 #8

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

dnzbk
Copy link
Collaborator

@dnzbk dnzbk commented Aug 6, 2024

Description

#7

  • fixed utcnow deprecation warnings according to the doc
  • added pipeline for tests
  • formatted code with Black formatter
  • specified that the extension works with Python 3.8+

Testing

  • tested with NZBGet 24.2/Python 3.8
  • tested with NZBGet 24.2/Python 3.12

@dnzbk dnzbk requested review from phnzb and luckedea August 6, 2024 12:34
@dnzbk dnzbk linked an issue Aug 6, 2024 that may be closed by this pull request
@dnzbk dnzbk merged commit d4237ba into main Aug 7, 2024
1 check passed
@dnzbk dnzbk deleted the fix/deprecation-warning branch August 7, 2024 09:29
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.

DeprecationWarning: datetime.datetime.utcnow()
2 participants