Avinash Sajjanshetty

Results 89 comments of Avinash Sajjanshetty

I found a temporary fix for macOS: ``` $ export MACOSX_DEPLOYMENT_TARGET=12.6 $ pip install libsql-experimental Successfully installed libsql-experimental-0.0.34 ```

here is a simple reproducer: ```python import os import libsql_experimental as libsql print(F"connecting to {os.getenv('LIBSQL_URL')}") conn = libsql.connect(database=os.getenv('LIBSQL_URL'), sync_url=os.getenv("LIBSQL_URL"), auth_token=os.getenv("LIBSQL_AUTH_TOKEN")) conn.execute("CREATE TABLE IF NOT EXISTS users_sync (id INTEGER);") conn.execute("INSERT INTO...

Hello, which version of libsql server are you using? Can you try disabling metrics, by setting an env variable: ``` export LIBSQL_DISABLE_METRICS=true ```

@danfascia could you share your version information? are you noticing issue despite disabling the metrics?

hey, it disabled by purpose in libsql server - https://github.com/tursodatabase/libsql/blob/b769c6c/libsql/src/parser.rs#L155 let me find out why we have done this in the first place and if we can allow it

@simolus3 do you really this need though? They don't recommend this: > This pragma is provided as a work-around for older programs that contain code that expect the incomplete behavior...

@imskr sure! feel free to work on it I would start with the Rust driver first: https://github.com/tursodatabase/libsql/tree/main/libsql

I don't think it is that simple as we don't set any journal mode and use the defaults. I would probably find the methods where we are creating new connections...

fixed with the new release https://github.com/tursodatabase/libsql-experimental-python/commit/f4a34e737a928410c69326cc241597f4d63d89d7

This looks good! Any reason it is still in draft @davidabram ?