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

Deprecation warning thrown on codegate certificates code #366

Open
yrobla opened this issue Dec 16, 2024 · 0 comments
Open

Deprecation warning thrown on codegate certificates code #366

yrobla opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels

Comments

@yrobla
Copy link
Contributor

yrobla commented Dec 16, 2024

/app/src/codegate/ca/codegate_ca.py:321: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
builder = builder.not_valid_after(datetime.datetime.utcnow() + datetime.timedelta(days=365))

@lukehinds lukehinds added bug and removed bug labels Dec 16, 2024
@lukehinds lukehinds self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants