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

refactor: resolve timezone-related python 3.12 deprecations #161

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

jsstevenson
Copy link
Contributor

@jsstevenson jsstevenson commented Jun 13, 2024

close #127

  • remove two cases of timezone-related deprecations -- one regarding default sqlite3 management of time type conversions back into python, and another from the utcnow() method

I'd appreciate some input about where to register the sqlite3 timestamp converter -- I put it in seqaliasdb.py since that seems like the place where it's most important to be pulling out precisely formatted strings but wasn't totally sure. It's sort of weird that the sqlite3 module has you register these things to some global context (?) rather than individual connections.

@jsstevenson jsstevenson requested a review from reece June 13, 2024 14:12
@jsstevenson jsstevenson requested a review from a team as a code owner June 13, 2024 14:12
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Issue is stale and subject to automatic closing label Jul 25, 2024
@korikuzma korikuzma removed the stale Issue is stale and subject to automatic closing label Jul 25, 2024
@korikuzma
Copy link

@jsstevenson were you waiting on @reece to review before merging?

Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Issue is stale and subject to automatic closing label Aug 25, 2024
@korikuzma korikuzma removed the stale Issue is stale and subject to automatic closing label Aug 26, 2024
@jsstevenson jsstevenson merged commit 84a5408 into main Aug 26, 2024
8 checks passed
@jsstevenson jsstevenson deleted the handle-timestamp-deprecation branch August 26, 2024 12:24
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.

Sqlite3 timestamp converter is deprecated as of Python 3.12
3 participants