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(db): Deal with 3.12+ naive UTC datetimes #208

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

ketiltrout
Copy link
Member

peewee-3.17.1 has already done the work of abstracting utcnow and utcfromtimestamp for the deprecation in 3.12 for us, so let's just import those into alpenhorn.db and call it a day.

Closes #191

peewee-3.17.1 has already done the work of abstracting
`utcnow` and `utcfromtimestamp` for the deprecation
in 3.12 for us, so let's just import those into `alpenhorn.db`
and call it a day.

Closes #191
@ketiltrout ketiltrout merged commit d886dec into master Nov 4, 2024
3 checks passed
@ketiltrout ketiltrout deleted the utcdatetimes branch November 4, 2024 22:20
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.

datetime.utcfromtimestamp deprecated in 3.12
2 participants