{"html_url": "https://github.com/simonw/datasette/issues/1391#issuecomment-877691558", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1391", "id": 877691558, "node_id": "MDEyOklzc3VlQ29tbWVudDg3NzY5MTU1OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-07-10T19:26:57Z", "updated_at": "2021-07-10T19:26:57Z", "author_association": "OWNER", "body": "The `https://latest.datasette.io/fixtures.db` file no longer includes generated columns, which will help avoid confusion such as seen in #1376.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 941300946, "label": "Stop using generated columns in fixtures.db"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1391#issuecomment-877691427", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1391", "id": 877691427, "node_id": "MDEyOklzc3VlQ29tbWVudDg3NzY5MTQyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-07-10T19:26:00Z", "updated_at": "2021-07-10T19:26:00Z", "author_association": "OWNER", "body": "I had to run the tests locally on my macOS laptop using `pysqlite3` to get a version that supported generated columns - wrote up a TIL about that here: https://til.simonwillison.net/sqlite/pysqlite3-on-macos", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 941300946, "label": "Stop using generated columns in fixtures.db"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1391#issuecomment-877687196", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1391", "id": 877687196, "node_id": "MDEyOklzc3VlQ29tbWVudDg3NzY4NzE5Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-07-10T18:58:40Z", "updated_at": "2021-07-10T18:58:40Z", "author_association": "OWNER", "body": "I can use the `extra_databases` mechanism as demonstrated here: https://github.com/simonw/datasette/blob/9552414e1f968c6fc704031cec349c05e6bc2371/tests/test_canned_queries.py#L8-L12", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 941300946, "label": "Stop using generated columns in fixtures.db"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1391#issuecomment-877686784", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1391", "id": 877686784, "node_id": "MDEyOklzc3VlQ29tbWVudDg3NzY4Njc4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-07-10T18:56:03Z", "updated_at": "2021-07-10T18:56:03Z", "author_association": "OWNER", "body": "Here's the SQL used to generate the table for the test: https://github.com/simonw/datasette/blob/02b19c7a9afd328f22040ab33b5c1911cd904c7c/tests/fixtures.py#L723-L733", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 941300946, "label": "Stop using generated columns in fixtures.db"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1391#issuecomment-877682533", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1391", "id": 877682533, "node_id": "MDEyOklzc3VlQ29tbWVudDg3NzY4MjUzMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-07-10T18:28:05Z", "updated_at": "2021-07-10T18:28:05Z", "author_association": "OWNER", "body": "Here's the test in question: https://github.com/simonw/datasette/blob/a6c55afe8c82ead8deb32f90c9324022fd422324/tests/test_api.py#L2033-L2046\r\n\r\nVarious other places in the test code also need changing - anything that calls `supports_generated_columns()`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 941300946, "label": "Stop using generated columns in fixtures.db"}, "performed_via_github_app": null}