{"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595610265", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595610265, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxMDI2NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T05:43:36Z", "updated_at": "2020-03-06T05:43:36Z", "author_association": "OWNER", "body": "From https://www.sqlite.org/download.html the download URL is https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595610855", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595610855, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxMDg1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T05:46:11Z", "updated_at": "2020-03-06T05:46:11Z", "author_association": "OWNER", "body": "On my laptop I can build and test like so:\r\n\r\n cd datasette\r\n docker build -t datasette-sqlite .\r\n docker run -p 8001:8001 -v `pwd`:/mnt \\\r\n datasette-sqlite \\\r\n datasette -p 8001 -h 0.0.0.0 /mnt/fixtures.db\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595611438", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595611438, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxMTQzOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T05:48:44Z", "updated_at": "2020-03-06T05:48:44Z", "author_association": "OWNER", "body": "Need to test with SpatiaLite here too.\r\n```\r\ndocker run -p 8001:8001 -v `pwd`:/mnt \\\r\n datasette-sqlite \\\r\n datasette -p 8001 -h 0.0.0.0 /mnt/spatial.db \\\r\n --load-extension=/usr/local/lib/mod_spatialite.so\r\n```\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595614469", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595614469, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxNDQ2OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T06:01:16Z", "updated_at": "2020-03-06T06:01:16Z", "author_association": "OWNER", "body": "Here's how to run the unit test suite inside the freshly built Docker container (built with a new SQLite):\r\n```\r\ndocker run -it -v `pwd`:/mnt datasette-sqlite /bin/bash\r\nroot@0e1928cfdf79:/# cd /mnt\r\nroot@0e1928cfdf79:/mnt# pip install -e .[test]\r\nroot@0e1928cfdf79:/mnt# pytest\r\n```\r\nI ran that against SQLite 3.31.1 and got one failure!\r\n\r\nIt was for `test_searchable[/fixtures/searchable.json?_search=te*+AND+do*&_searchmode=raw-expected_rows3]`\r\n```\r\n def test_searchable(app_client, path, expected_rows):\r\n response = app_client.get(path)\r\n> assert expected_rows == response.json[\"rows\"]\r\nE AssertionError: assert [[1, 'barry c...sel', 'puma']] == []\r\nE Left contains 2 more items, first extra item: [1, 'barry cat', 'terry dog', 'panther']\r\nE Full diff:\r\nE + []\r\nE - [[1, 'barry cat', 'terry dog', 'panther'],\r\nE - [2, 'terry dog', 'sara weasel', 'puma']]\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595617072", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595617072, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxNzA3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T06:12:07Z", "updated_at": "2020-03-06T06:12:07Z", "author_association": "OWNER", "body": "Well that's odd. If I run the tests against SQLite 3.26.0 inside the container I get the same failure there as well:\r\n\r\n```\r\ndocker run -it -v `pwd`:/mnt datasetteproject/datasette:0.37.1 /bin/bash\r\nroot@710eed6278b2:/# cd /mnt\r\nroot@710eed6278b2:/mnt# pip install -e .[test] && pytest\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/695#issuecomment-595617762", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/695", "id": 595617762, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxNzc2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T06:14:53Z", "updated_at": "2020-03-06T06:14:53Z", "author_association": "OWNER", "body": "SpatiaLite testing works fine. I'm going to ship this even though there's a single failing test, since that's not a regression from the previous Docker release. I'm going to file a separate issue about that.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576711589, "label": "Update SQLite bundled with Docker container"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/696#issuecomment-595618438", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/696", "id": 595618438, "node_id": "MDEyOklzc3VlQ29tbWVudDU5NTYxODQzOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-06T06:17:26Z", "updated_at": "2020-03-06T06:17:26Z", "author_association": "OWNER", "body": "`pytest -k test_searchable` is faster.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 576722115, "label": "Single failing unit test when run inside the Docker image"}, "performed_via_github_app": null}