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

Failing to validate sqlite3.sqlite_version_info correctly #27

Open
chrisdlangton opened this issue Feb 21, 2022 · 1 comment
Open

Failing to validate sqlite3.sqlite_version_info correctly #27

chrisdlangton opened this issue Feb 21, 2022 · 1 comment

Comments

@chrisdlangton
Copy link

Your code is broke here

assert sqlite3.sqlite_version_info >= (3, 24), "Requires SQLite 3.24 or newer"

When I run;

import sqlite3
print(sqlite3.sqlite_version_info)
// (3, 37, 2)

Which is meant to be valid
But when I use crlite_query it fails with

File ".venv/lib/python3.9/site-packages/crlite_query/__init__.py", line 25, in <module>
    assert sqlite3.sqlite_version_info >= (3, 24), "Requires SQLite 3.24 or newer"
AssertionError: Requires SQLite 3.24 or newer

This is a bug

@chrisdlangton
Copy link
Author

#28

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