github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982111751 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | 982111751 | IC_kwDOCGYnMM46idYH | 9599 | 2021-11-29T23:11:17Z | 2021-11-29T23:12:49Z | OWNER | To keep things simple for the moment I'm only going to add one extra thing to the matrix, and it will be a run of the tests against SQLite 3.37.0 using pysqlite3 on Linux only. I can use this mechanism: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-including-new-combinations | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1066563554 | |
https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094370 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | 982094370 | IC_kwDOCGYnMM46iZIi | 9599 | 2021-11-29T22:50:49Z | 2021-11-29T22:50:49Z | OWNER | I have a working recipe for compiling it for macOS here: https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982006544 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1066563554 | |
https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094020 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | 982094020 | IC_kwDOCGYnMM46iZDE | 9599 | 2021-11-29T22:50:11Z | 2021-11-29T22:50:11Z | OWNER | For the moment I think I'll combine two problems into one, and just add a single matrix alternative that uses `pysqlite3` running SQLite 3.37.0 - only on macOS and Linux so I don't have to figure out how to compile it for Windows. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1066563554 | |
https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982078527 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | 982078527 | IC_kwDOCGYnMM46iVQ_ | 9599 | 2021-11-29T22:23:03Z | 2021-11-29T22:23:03Z | OWNER | Here's a modified version of the `dump` command that works even with `pysqlite3`: ```python @cli.command() @click.argument( "path", type=click.Path(exists=True, file_okay=True, dir_okay=False, allow_dash=False), required=True, ) @load_extension_option def dump(path, load_extension): """Output a SQL dump of the schema and full contents of the database""" db = sqlite_utils.Database(path) _load_extensions(db, load_extension) # pysqlite3 doesn't implement .iterdump() from sqlite3.dump import _iterdump for line in _iterdump(db.conn): click.echo(line) ``` | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1066563554 | |
https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982077873 | https://api.github.com/repos/simonw/sqlite-utils/issues/346 | 982077873 | IC_kwDOCGYnMM46iVGx | 9599 | 2021-11-29T22:22:05Z | 2021-11-29T22:22:05Z | OWNER | Ideally I'd like an extra set of matrix options for different versions of SQLite. I can use `pysqlite3` for this, but it isn't a completely compatible drop-in replacement - turns out it doesn't support the `iterdump()` method for example, see https://github.com/coleifer/pysqlite3/issues/24 | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1066563554 |