Require Python 3.11, remove SQLite authorizer workaround

PR #2998
This commit is contained in:
Simon Willison 2026-10-12 10:36:07 -07:00 • committed by GitHub
commit e1a4e03635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 24 additions and 47 deletions

View file

@ -455,5 +455,4 @@ def test_analyze_disables_authorizer_on_error():
with pytest.raises(sqlite3.OperationalError):
analyze_sql_tables(conn, "bad SQL")
final_authorizer = conn.authorizers[-1]
assert final_authorizer is None or final_authorizer() == sqlite3.SQLITE_OK
assert conn.authorizers[-1] is None