{"html_url": "https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982111751", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/346", "id": 982111751, "node_id": "IC_kwDOCGYnMM46idYH", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-11-29T23:11:17Z", "updated_at": "2021-11-29T23:12:49Z", "author_association": "OWNER", "body": "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.\r\n\r\nI can use this mechanism: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-including-new-combinations", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1066563554, "label": "Way to test SQLite 3.37 (and potentially other versions) in CI"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094370", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/346", "id": 982094370, "node_id": "IC_kwDOCGYnMM46iZIi", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-11-29T22:50:49Z", "updated_at": "2021-11-29T22:50:49Z", "author_association": "OWNER", "body": "I have a working recipe for compiling it for macOS here: https://github.com/simonw/sqlite-utils/issues/344#issuecomment-982006544", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1066563554, "label": "Way to test SQLite 3.37 (and potentially other versions) in CI"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982094020", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/346", "id": 982094020, "node_id": "IC_kwDOCGYnMM46iZDE", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-11-29T22:50:11Z", "updated_at": "2021-11-29T22:50:11Z", "author_association": "OWNER", "body": "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.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1066563554, "label": "Way to test SQLite 3.37 (and potentially other versions) in CI"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982078527", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/346", "id": 982078527, "node_id": "IC_kwDOCGYnMM46iVQ_", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-11-29T22:23:03Z", "updated_at": "2021-11-29T22:23:03Z", "author_association": "OWNER", "body": "Here's a modified version of the `dump` command that works even with `pysqlite3`:\r\n\r\n```python\r\n@cli.command()\r\n@click.argument(\r\n \"path\",\r\n type=click.Path(exists=True, file_okay=True, dir_okay=False, allow_dash=False),\r\n required=True,\r\n)\r\n@load_extension_option\r\ndef dump(path, load_extension):\r\n \"\"\"Output a SQL dump of the schema and full contents of the database\"\"\"\r\n db = sqlite_utils.Database(path)\r\n _load_extensions(db, load_extension)\r\n # pysqlite3 doesn't implement .iterdump()\r\n from sqlite3.dump import _iterdump\r\n\r\n for line in _iterdump(db.conn):\r\n click.echo(line)\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1066563554, "label": "Way to test SQLite 3.37 (and potentially other versions) in CI"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/346#issuecomment-982077873", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/346", "id": 982077873, "node_id": "IC_kwDOCGYnMM46iVGx", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-11-29T22:22:05Z", "updated_at": "2021-11-29T22:22:05Z", "author_association": "OWNER", "body": "Ideally I'd like an extra set of matrix options for different versions of SQLite.\r\n\r\nI 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", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1066563554, "label": "Way to test SQLite 3.37 (and potentially other versions) in CI"}, "performed_via_github_app": null}