Skip to content

Failing to validate sqlite3.sqlite_version_info correctly #27

Description

@chrisdlangton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions