René's URL Explorer Experiment


Title: Test suite fails against libSQL server · Issue #3 · libsql/sqlalchemy-libsql · GitHub

Open Graph Title: Test suite fails against libSQL server · Issue #3 · libsql/sqlalchemy-libsql

X Title: Test suite fails against libSQL server · Issue #3 · libsql/sqlalchemy-libsql

Description: I am running latest sqld locally and when I run poetry run pytest, I get the following set of test failures: ========================================================================================= sqlalchemy installation ==============...

Open Graph Description: I am running latest sqld locally and when I run poetry run pytest, I get the following set of test failures: ========================================================================================...

X Description: I am running latest sqld locally and when I run poetry run pytest, I get the following set of test failures: ========================================================================================...

Opengraph URL: https://github.com/libsql/sqlalchemy-libsql/issues/3

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test suite fails against libSQL server","articleBody":"I am running latest `sqld` locally and when I run `poetry run pytest`, I get the following set of test failures:\r\n\r\n```console\r\n========================================================================================= sqlalchemy installation ==========================================================================================\r\nSQLAlchemy 2.0.20 (user site loaded)\r\nPath: /Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/__init__.py\r\ncompiled extension enabled, e.g. /Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/cyextension/util.cpython-311-darwin.so\r\n/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/testing/config.py:280: PytestUnknownMarkWarning: Unknown pytest.mark.mypy - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html\r\n  return getattr(_fixture_functions.add_to_marker, attr)\r\n=========================================================================================== test session starts ============================================================================================\r\nplatform darwin -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 -- /Users/penberg/src/libsql/sqlalchemy-libsql/.env/bin/python3.11\r\ncachedir: .pytest_cache\r\nrootdir: /Users/penberg/src/libsql/sqlalchemy-libsql\r\nconfigfile: pyproject.toml\r\ncollecting ... /Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/nodes.py:355: PytestUnknownMarkWarning: Unknown pytest.mark.backend - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html\r\n  marker_ = getattr(MARK_GEN, marker)\r\ncollected 193 items\r\n\r\ntest/test_suite.py::AttachedDBTest::test_col_targeting SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                        [  0%]\r\ntest/test_suite.py::AttachedDBTest::test_col_targeting_union SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                  [  1%]\r\ntest/test_suite.py::AttachedDBTest::test_column_names SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                         [  1%]\r\ntest/test_suite.py::AttachedDBTest::test_crud SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                                 [  2%]\r\ntest/test_suite.py::AttachedDBTest::test_no_tables SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                            [  2%]\r\ntest/test_suite.py::AttachedDBTest::test_reflect_system_table SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                 [  3%]\r\ntest/test_suite.py::AttachedDBTest::test_reflect_user_table SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                   [  3%]\r\ntest/test_suite.py::AttachedDBTest::test_schema_names SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                         [  4%]\r\ntest/test_suite.py::AttachedDBTest::test_table_names_present SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                  [  4%]\r\ntest/test_suite.py::AttachedDBTest::test_table_names_system SKIPPED ('test.test_suite.AttachedDBTest' unsupported on any DB implementation 'sqlite(3.42.0)+libsql'custom function)                   [  5%]\r\ntest/test_suite.py::AutoIncrementTest::test_sqlite_autoincrement PASSED                                                                                                                              [  5%]\r\ntest/test_suite.py::AutoIncrementTest::test_sqlite_autoincrement_constraint PASSED                                                                                                                   [  6%]\r\ntest/test_suite.py::AutoIncrementTest::test_sqlite_autoincrement_int_affinity PASSED                                                                                                                 [  6%]\r\ntest/test_suite.py::AutoIncrementTest::test_sqlite_no_autoincrement PASSED                                                                                                                           [  7%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_check_constraint PASSED                                                                                                      [  7%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[ix-[Code]-Code] FAILED                                                                                       [  8%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[ix-[Code]-[Code]] FAILED                                                                                     [  8%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[ix-name with spaces-name with spaces] FAILED                                                                 [  9%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[ix-plain_name-plain_name] FAILED                                                                             [  9%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[ix-plainname-plainname] FAILED                                                                               [ 10%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[pk-[Code]-Code] PASSED                                                                                       [ 10%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[pk-[Code]-[Code]] PASSED                                                                                     [ 11%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[pk-name with spaces-name with spaces] PASSED                                                                 [ 11%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[pk-plain_name-plain_name] PASSED                                                                             [ 12%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[pk-plainname-plainname] PASSED                                                                               [ 12%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq-[Code]-Code] FAILED                                                                                       [ 13%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq-[Code]-[Code]] FAILED                                                                                     [ 13%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq-name with spaces-name with spaces] FAILED                                                                 [ 14%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq-plain_name-plain_name] FAILED                                                                             [ 15%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq-plainname-plainname] FAILED                                                                               [ 15%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq_inline-[Code]-Code] FAILED                                                                                [ 16%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq_inline-[Code]-[Code]] FAILED                                                                              [ 16%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq_inline-name with spaces-name with spaces] FAILED                                                          [ 17%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq_inline-plain_name-plain_name] FAILED                                                                      [ 17%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_constraint_cols[uq_inline-plainname-plainname] FAILED                                                                        [ 18%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_create_index_with_schema FAILED                                                                                              [ 18%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_dont_reflect_autoindex FAILED                                                                                                [ 19%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_composite_broken_casing PASSED                                                                                   [ 19%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_composite_implicit_parent PASSED                                                                                 [ 20%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_deferrable_initially PASSED                                                                                      [ 20%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_implicit_missing_parent PASSED                                                                                   [ 21%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_implicit_missing_parent_reflection PASSED                                                                        [ 21%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_implicit_parent PASSED                                                                                           [ 22%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_name_is_none PASSED                                                                                              [ 22%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_name_is_not_none PASSED                                                                                          [ 23%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_ondelete_onupdate PASSED                                                                                         [ 23%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_foreign_key_options_unnamed_inline PASSED                                                                                    [ 24%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_legacy_quoted_identifiers_unit PASSED                                                                                        [ 24%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_primary_key_constraint_named PASSED                                                                                          [ 25%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_primary_key_constraint_no_pk PASSED                                                                                          [ 25%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_primary_key_constraint_unnamed PASSED                                                                                        [ 26%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_reflect_partial_indexes FAILED                                                                                               [ 26%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_named FAILED                                                                                               [ 27%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_named_broken_casing FAILED                                                                                 [ 27%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_named_broken_temp ERROR                                                                                    [ 28%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_unnamed_inline FAILED                                                                                      [ 29%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_unnamed_inline_quoted FAILED                                                                               [ 29%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_unnamed_normal FAILED                                                                                      [ 30%]\r\ntest/test_suite.py::ConstraintReflectionTest_sqlite+libsql_3_42_0::test_unique_constraint_unnamed_normal_temporary ERROR                                                                             [ 30%]Traceback (most recent call last):\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/hrana.py\", line 366, in _raw_execute_one\r\n    result = self.connection._raw_execute(stmt)\r\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/hrana.py\", line 214, in wrapper\r\n    return future.result(timeout=self._timeout)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py\", line 456, in result\r\n    return self.__get_result()\r\n           ^^^^^^^^^^^^^^^^^^^\r\n  File \"/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/_base.py\", line 401, in __get_result\r\n    raise self._exception\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/_async_executor.py\", line 210, in run_in_main_loop\r\n    r = await r\r\n        ^^^^^^^\r\nlibsql_client.client.LibsqlError: SQLITE_UNKNOWN: SQLite error: no such table: main.a1\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 1965, in _exec_single_context\r\n    self.dialect.do_execute(\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/default.py\", line 921, in do_execute\r\n    cursor.execute(statement, parameters)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 1333, in execute\r\n    self._query_execute(sql, (parameters,), multiple=False, want_rows=True)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 907, in wrapper\r\n    return fn(*args, **kwargs)\r\n           ^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 1314, in _query_execute\r\n    _raise_converted_exception(error)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 972, in _raise_converted_exception\r\n    raise dbapi2_exc from exc\r\nsqlite3.OperationalError: SQLITE_UNKNOWN: SQLite error: no such table: main.a1\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/bin/pytest\", line 8, in \u003cmodule\u003e\r\n    sys.exit(console_main())\r\n             ^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/config/__init__.py\", line 189, in console_main\r\n    code = main()\r\n           ^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/config/__init__.py\", line 166, in main\r\n    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(\r\n                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_hooks.py\", line 433, in __call__\r\n    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_manager.py\", line 112, in _hookexec\r\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_callers.py\", line 116, in _multicall\r\n    raise exception.with_traceback(exception.__traceback__)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_callers.py\", line 80, in _multicall\r\n    res = hook_impl.function(*args)\r\n          ^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/main.py\", line 317, in pytest_cmdline_main\r\n    return wrap_session(config, _main)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/main.py\", line 305, in wrap_session\r\n    config.hook.pytest_sessionfinish(\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_hooks.py\", line 433, in __call__\r\n    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_manager.py\", line 112, in _hookexec\r\n    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_callers.py\", line 133, in _multicall\r\n    teardown[0].send(outcome)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/terminal.py\", line 857, in pytest_sessionfinish\r\n    outcome.get_result()\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_result.py\", line 108, in get_result\r\n    raise exc.with_traceback(exc.__traceback__)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/pluggy/_callers.py\", line 80, in _multicall\r\n    res = hook_impl.function(*args)\r\n          ^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/runner.py\", line 108, in pytest_sessionfinish\r\n    session._setupstate.teardown_exact(None)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/runner.py\", line 537, in teardown_exact\r\n    raise exceptions[0]\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/runner.py\", line 526, in teardown_exact\r\n    fin()\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/fixtures.py\", line 701, in \u003clambda\u003e\r\n    subrequest.node.addfinalizer(lambda: fixturedef.finish(request=subrequest))\r\n                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/fixtures.py\", line 1031, in finish\r\n    raise exc\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/fixtures.py\", line 1024, in finish\r\n    func()\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/_pytest/fixtures.py\", line 911, in _teardown_yield_fixture\r\n    next(it)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/testing/plugin/pytestplugin.py\", line 531, in setup_class_methods\r\n    asyncio._maybe_async(cls.teardown_test_class)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/testing/asyncio.py\", line 94, in _maybe_async\r\n    return fn(*args, **kwargs)\r\n           ^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/test/test_suite.py\", line 1971, in teardown_test_class\r\n    conn.exec_driver_sql(\"drop table %s\" % name)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 1774, in exec_driver_sql\r\n    ret = self._execute_context(\r\n          ^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 1844, in _execute_context\r\n    return self._exec_single_context(\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 1984, in _exec_single_context\r\n    self._handle_dbapi_exception(\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 2339, in _handle_dbapi_exception\r\n    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/base.py\", line 1965, in _exec_single_context\r\n    self.dialect.do_execute(\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/sqlalchemy/engine/default.py\", line 921, in do_execute\r\n    cursor.execute(statement, parameters)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 1333, in execute\r\n    self._query_execute(sql, (parameters,), multiple=False, want_rows=True)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 907, in wrapper\r\n    return fn(*args, **kwargs)\r\n           ^^^^^^^^^^^^^^^^^^^\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 1314, in _query_execute\r\n    _raise_converted_exception(error)\r\n  File \"/Users/penberg/src/libsql/sqlalchemy-libsql/.env/lib/python3.11/site-packages/libsql_client/dbapi2/types.py\", line 972, in _raise_converted_exception\r\n    raise dbapi2_exc from exc\r\nsqlalchemy.exc.OperationalError: (sqlite3.OperationalError) SQLITE_UNKNOWN: SQLite error: no such table: main.a1\r\n[SQL: drop table a2]\r\n(Background on this error at: https://sqlalche.me/e/20/e3q8)\r\n```","author":{"url":"https://github.com/penberg","@type":"Person","name":"penberg"},"datePublished":"2023-08-22T08:40:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3/sqlalchemy-libsql/issues/3"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:95b7749c-8c79-8c12-74da-cb9e14643854
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id89C4:2FC763:928A84:CDC352:6970B3F6
html-safe-nonce6e46c494b0422b586a6255d67c89ff7cde2662b3b67e041c1063cf8b87b32ee3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUM0OjJGQzc2Mzo5MjhBODQ6Q0RDMzUyOjY5NzBCM0Y2IiwidmlzaXRvcl9pZCI6IjY5NTI3NjEyMjU5NTk3NDg1OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f38730075ce5789f357b26eb706aba41cabee7f156af72b802bd1761d5442f0
hovercard-subject-tagissue:1860934641
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libsql/sqlalchemy-libsql/3/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f5a6b274f4c2f7ff159c6c7000897e7c196bef6e4abebac627d908e30b47b00/libsql/sqlalchemy-libsql/issues/3
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f5a6b274f4c2f7ff159c6c7000897e7c196bef6e4abebac627d908e30b47b00/libsql/sqlalchemy-libsql/issues/3
og:image:altI am running latest sqld locally and when I run poetry run pytest, I get the following set of test failures: ========================================================================================...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepenberg
hostnamegithub.com
expected-hostnamegithub.com
None8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390
turbo-cache-controlno-preview
go-importgithub.com/libsql/sqlalchemy-libsql git https://github.com/libsql/sqlalchemy-libsql.git
octolytics-dimension-user_id114694406
octolytics-dimension-user_loginlibsql
octolytics-dimension-repository_id642686834
octolytics-dimension-repository_nwolibsql/sqlalchemy-libsql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id642686834
octolytics-dimension-repository_network_root_nwolibsql/sqlalchemy-libsql
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb8714db0002cf78dc2d2566571807e404d6cb817
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibsql%2Fsqlalchemy-libsql%2Fissues%2F3
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flibsql%2Fsqlalchemy-libsql%2Fissues%2F3
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=libsql%2Fsqlalchemy-libsql
Reloadhttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3
Reloadhttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3
Reloadhttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3
libsql https://patch-diff.githubusercontent.com/libsql
sqlalchemy-libsqlhttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flibsql%2Fsqlalchemy-libsql
Fork 7 https://patch-diff.githubusercontent.com/login?return_to=%2Flibsql%2Fsqlalchemy-libsql
Star 28 https://patch-diff.githubusercontent.com/login?return_to=%2Flibsql%2Fsqlalchemy-libsql
Code https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql
Issues 9 https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues
Pull requests 1 https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/pulls
Discussions https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/discussions
Actions https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/actions
Projects 0 https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/security
Please reload this pagehttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3
Insights https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/pulse
Code https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql
Issues https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues
Pull requests https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/pulls
Discussions https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/discussions
Actions https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/actions
Projects https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/projects
Security https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/security
Insights https://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/pulse
Test suite fails against libSQL serverhttps://patch-diff.githubusercontent.com/libsql/sqlalchemy-libsql/issues/3#top
bugSomething isn't workinghttps://github.com/libsql/sqlalchemy-libsql/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/penberg
https://github.com/penberg
penberghttps://github.com/penberg
on Aug 22, 2023https://github.com/libsql/sqlalchemy-libsql/issues/3#issue-1860934641
bugSomething isn't workinghttps://github.com/libsql/sqlalchemy-libsql/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.