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

sqlite3 default datetime adapter is deprecated as of Python 3.12 #133

Closed
luator opened this issue Dec 16, 2024 · 1 comment
Closed

sqlite3 default datetime adapter is deprecated as of Python 3.12 #133

luator opened this issue Dec 16, 2024 · 1 comment

Comments

@luator
Copy link
Member

luator commented Dec 16, 2024

When running the tests with Python 3.12, I get the following warning:

  /home/felixwidmaier/ws/comprl/comprl/comprl/server/data/sql_backend.py:64: DeprecationWarning: The default datetime adapter is deprecated as of Python 3.12; see the sqlite3 documentation for suggested replacement recipes
    self.cursor.execute(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Would probably be good to resolve this rather soon to make it future proof (and to silence the warning).

@luator
Copy link
Member Author

luator commented Jan 7, 2025

Has been fixed (I think by #135).

@luator luator closed this as completed Jan 7, 2025
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

No branches or pull requests

1 participant