{"html_url": "https://github.com/simonw/datasette/pull/1481#issuecomment-938141121", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1481", "id": 938141121, "node_id": "IC_kwDOBm6k_c436uXB", "user": {"value": 22429695, "label": "codecov[bot]"}, "created_at": "2021-10-07T20:42:37Z", "updated_at": "2021-10-24T22:19:28Z", "author_association": "NONE", "body": "# [Codecov](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) Report\n> Merging [#1481](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) (77542e7) into [main](https://codecov.io/gh/simonw/datasette/commit/63886178a649586b403966a27a45881709d2b868?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) (6388617) will **decrease** coverage by `0.01%`.\n> The diff coverage is `n/a`.\n\n> :exclamation: Current head 77542e7 differs from pull request most recent head 50005bd. Consider uploading reports for the commit 50005bd to get more accurate results\n[![Impacted file tree graph](https://codecov.io/gh/simonw/datasette/pull/1481/graphs/tree.svg?width=650&height=150&src=pr&token=eSahVY7kw1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)\n\n```diff\n@@ Coverage Diff @@\n## main #1481 +/- ##\n==========================================\n- Coverage 91.83% 91.82% -0.02% \n==========================================\n Files 34 34 \n Lines 4421 4426 +5 \n==========================================\n+ Hits 4060 4064 +4 \n- Misses 361 362 +1 \n```\n\n\n| [Impacted Files](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison) | Coverage \u0394 | |\n|---|---|---|\n| [datasette/app.py](https://codecov.io/gh/simonw/datasette/pull/1481/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL2FwcC5weQ==) | `95.36% <0.00%> (-0.14%)` | :arrow_down: |\n| [datasette/views/base.py](https://codecov.io/gh/simonw/datasette/pull/1481/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL2Jhc2UucHk=) | `95.41% <0.00%> (\u00f8)` | |\n| [datasette/views/database.py](https://codecov.io/gh/simonw/datasette/pull/1481/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL2RhdGFiYXNlLnB5) | `97.56% <0.00%> (\u00f8)` | |\n| [datasette/views/table.py](https://codecov.io/gh/simonw/datasette/pull/1481/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3ZpZXdzL3RhYmxlLnB5) | `96.00% <0.00%> (+<0.01%)` | :arrow_up: |\n| [datasette/utils/\\_\\_init\\_\\_.py](https://codecov.io/gh/simonw/datasette/pull/1481/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison#diff-ZGF0YXNldHRlL3V0aWxzL19faW5pdF9fLnB5) | `94.78% <0.00%> (+0.02%)` | :arrow_up: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison)\n> `\u0394 = absolute (impact)`, `\u00f8 = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison). Last update [6388617...50005bd](https://codecov.io/gh/simonw/datasette/pull/1481?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Simon+Willison).\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1020436713, "label": "Fix compatibility with Python 3.10"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1482#issuecomment-950402273", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1482", "id": 950402273, "node_id": "IC_kwDOBm6k_c44pfzh", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T22:00:29Z", "updated_at": "2021-10-24T22:00:29Z", "author_association": "OWNER", "body": "Janus 0.6.2 is out now and should have the fix.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1021550542, "label": "Support Python 3.10"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1495#issuecomment-950403521", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1495", "id": 950403521, "node_id": "IC_kwDOBm6k_c44pgHB", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T22:09:18Z", "updated_at": "2021-10-24T22:09:18Z", "author_association": "OWNER", "body": "This is a great idea - I've wanted this myself before, but never spent any time thinking about how to achieve it.\r\n\r\nI think your design here is exactly right - an optional third item in the tuple consisting of a dictionary of options to pass to the view function.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1033678984, "label": "Allow routes to have extra options"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1495#issuecomment-950403692", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1495", "id": 950403692, "node_id": "IC_kwDOBm6k_c44pgJs", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T22:10:43Z", "updated_at": "2021-10-24T22:10:43Z", "author_association": "OWNER", "body": "To land this change we'll need a unit test that demonstrates the new capability - I suggest putting that next to this test: https://github.com/simonw/datasette/blob/15a9d4abfff0c45dee2a9f851326e1d61b1c678c/tests/test_plugins.py#L648-L659\r\n\r\nIt will also need documentation, which should be added here: https://github.com/simonw/datasette/blob/15a9d4abfff0c45dee2a9f851326e1d61b1c678c/docs/plugin_hooks.rst#register-routes-datasette", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1033678984, "label": "Allow routes to have extra options"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950410554", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950410554, "node_id": "IC_kwDOBm6k_c44ph06", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:01:20Z", "updated_at": "2021-10-24T23:01:28Z", "author_association": "OWNER", "body": "I can replicate locally by running:\r\n\r\n```\r\ndocker build -f Dockerfile \\\r\n -t datasetteproject/datasette:0.59.1 \\\r\n --build-arg VERSION=0.59.1 .\r\n```\r\nThis gives me the same error.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950410718", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950410718, "node_id": "IC_kwDOBm6k_c44ph3e", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:02:30Z", "updated_at": "2021-10-24T23:02:30Z", "author_association": "OWNER", "body": "I got the same error publishing 0.59: https://github.com/simonw/datasette/actions/runs/1343251945", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411320", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411320, "node_id": "IC_kwDOBm6k_c44piA4", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:06:05Z", "updated_at": "2021-10-24T23:06:05Z", "author_association": "OWNER", "body": "Right now the base image is: https://github.com/simonw/datasette/blob/e6e44372b34414eac2f36a4c1120af4f755aa423/Dockerfile#L1\r\n\r\nI'm going to try `python:3.9.7-slim-buster` instead: https://hub.docker.com/layers/python/library/python/3.9.7-slim-buster/images/sha256-290b95e4b379762a9bd3d72644598e0972f4e2b5442bba60592c018fadcc744d?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411417", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411417, "node_id": "IC_kwDOBm6k_c44piCZ", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:06:45Z", "updated_at": "2021-10-24T23:11:14Z", "author_association": "OWNER", "body": "Same errors with `3.9.7`:\r\n```\r\n#5 41.46 /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory\r\n#5 41.46 dpkg: error processing package libc6:amd64 (--configure):\r\n#5 41.46 installed libc6:amd64 package post-installation script subprocess returned error exit status 127\r\n#5 41.47 Errors were encountered while processing:\r\n#5 41.47 libc6:amd64\r\n#5 41.50 E: Sub-process /usr/bin/dpkg returned an error code (1)\r\n```\r\nI'm suspicious of this part of the `Dockerfile`: https://github.com/simonw/datasette/blob/e6e44372b34414eac2f36a4c1120af4f755aa423/Dockerfile#L1-L18\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": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411808", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411808, "node_id": "IC_kwDOBm6k_c44piIg", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:08:59Z", "updated_at": "2021-10-24T23:08:59Z", "author_association": "OWNER", "body": "Looks like it's this bug, reported on the Debian mailing list: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1818037.html\r\n\r\nNo obvious workaround there though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411912", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411912, "node_id": "IC_kwDOBm6k_c44piKI", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:09:41Z", "updated_at": "2021-10-24T23:09:41Z", "author_association": "OWNER", "body": "Here that is in the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993755", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950412628", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950412628, "node_id": "IC_kwDOBm6k_c44piVU", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:13:20Z", "updated_at": "2021-10-24T23:13:27Z", "author_association": "OWNER", "body": "I think the root cause here is that I'm using a Debian Buster base image and then installing SpatiaLite from Debian unstable (sid) - as described in this comment: https://github.com/simonw/datasette/issues/1249#issuecomment-804309510\r\n\r\nThat's has worked fine in the past, but Sid is unstable - and this seems to be one of those instabilities.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950413185", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950413185, "node_id": "IC_kwDOBm6k_c44pieB", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:16:25Z", "updated_at": "2021-10-24T23:18:30Z", "author_association": "OWNER", "body": "Debian stable these days is \"bullseye\" - https://www.debian.org/releases/ - which has the version of SpatiaLite that I was previously pulling in from Sid: https://packages.debian.org/bullseye/libsqlite3-mod-spatialite\r\n\r\nSo upgrading to the 3.9.7-slim-bullseye base image may help.\r\n\r\nhttps://hub.docker.com/layers/python/library/python/3.9.7-slim-bullseye/images/sha256-67af5f544115124dc6d6da1d9d2815aa9825f6fd4aa6710adb0ec1725280fb89?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950415129", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950415129, "node_id": "IC_kwDOBm6k_c44pi8Z", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:21:33Z", "updated_at": "2021-10-24T23:21:33Z", "author_association": "OWNER", "body": "That fixed it! Resulting image is 249MB which is a very slight size reduction (I think previous was 259MB (uncompressed).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950415822", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950415822, "node_id": "IC_kwDOBm6k_c44pjHO", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:25:45Z", "updated_at": "2021-10-24T23:25:45Z", "author_association": "OWNER", "body": "I'm going to attempt to publish `0.59` to Docker Hub using https://github.com/simonw/datasette/blob/2c31d1cd9cd3b63458ccbe391866499fa3f44978/.github/workflows/push_docker_tag.yml - if that works I'll push `0.59.1` as well.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416061", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416061, "node_id": "IC_kwDOBm6k_c44pjK9", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:27:18Z", "updated_at": "2021-10-24T23:27:18Z", "author_association": "OWNER", "body": "That worked: https://hub.docker.com/layers/datasetteproject/datasette/0.59/images/sha256-038decc28e0ea84b281ecc0058fe8eba7aa99596e5a2177ff714092ad03294ed?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416460", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416460, "node_id": "IC_kwDOBm6k_c44pjRM", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:30:10Z", "updated_at": "2021-10-24T23:30:10Z", "author_association": "OWNER", "body": "Testing that newly published image:\r\n```\r\n% docker run -p 8002:8001 -v `pwd`:/mnt \\\r\n datasetteproject/datasette:0.59 datasette -p 8001 -h 0.0.0.0 /mnt/fixtures.db\r\nUnable to find image 'datasetteproject/datasette:0.59' locally\r\n0.59: Pulling from datasetteproject/datasette\r\n7d63c13d9b9b: Already exists \r\n6ad2a11ca37b: Already exists \r\ne9edbe81a001: Already exists \r\n36629b83aba2: Already exists \r\n7338abefe51c: Already exists \r\n6d71b6b88b82: Pull complete \r\n8c4da3c56bdc: Pull complete \r\nDigest: sha256:038decc28e0ea84b281ecc0058fe8eba7aa99596e5a2177ff714092ad03294ed\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.59\r\nINFO: Started server process [1]\r\nINFO: Waiting for application startup.\r\nINFO: Application startup complete.\r\nINFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)\r\n```\r\nand `http://localhost:8002/versions.json` returns:\r\n\r\n```json\r\n{\r\n \"python\": {\r\n \"version\": \"3.9.7\",\r\n \"full\": \"3.9.7 (default, Oct 12 2021, 02:43:43) \\n[GCC 10.2.1 20210110]\"\r\n },\r\n \"datasette\": {\r\n \"version\": \"0.59\"\r\n },\r\n \"asgi\": \"3.0\",\r\n \"uvicorn\": \"0.15.0\",\r\n \"sqlite\": {\r\n \"version\": \"3.34.1\"\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416659", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416659, "node_id": "IC_kwDOBm6k_c44pjUT", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:31:41Z", "updated_at": "2021-10-24T23:31:41Z", "author_association": "OWNER", "body": "Published `0.59.1` as well: https://github.com/simonw/datasette/runs/3991214225?check_suite_focus=true\r\n\r\nResult: https://hub.docker.com/layers/datasetteproject/datasette/0.59.1/images/sha256-dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416682", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416682, "node_id": "IC_kwDOBm6k_c44pjUq", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:31:51Z", "updated_at": "2021-10-24T23:31:51Z", "author_association": "OWNER", "body": "One catch: the `latest` tag on Docker Hub is still three months old.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416802", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416802, "node_id": "IC_kwDOBm6k_c44pjWi", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:32:39Z", "updated_at": "2021-10-24T23:32:39Z", "author_association": "OWNER", "body": "That's because the `publish.yml` workflow ends with this, which isn't in the `push_docker_tag.yml` workflow:\r\n\r\nhttps://github.com/simonw/datasette/blob/2c31d1cd9cd3b63458ccbe391866499fa3f44978/.github/workflows/publish.yml#L117-L119", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950417375", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950417375, "node_id": "IC_kwDOBm6k_c44pjff", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:36:54Z", "updated_at": "2021-10-24T23:36:54Z", "author_association": "OWNER", "body": "Tried fixing this by pushing a new `latest` tag from my laptop:\r\n```\r\n(datasette) datasette % docker pull datasetteproject/datasette:0.59.1\r\n0.59.1: Pulling from datasetteproject/datasette\r\n7d63c13d9b9b: Already exists \r\n6ad2a11ca37b: Already exists \r\ne9edbe81a001: Already exists \r\n36629b83aba2: Already exists \r\n7338abefe51c: Already exists \r\n6b825daddc6c: Pull complete \r\nd7508b065a21: Pull complete \r\nDigest: sha256:dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.59.1\r\ndocker.io/datasetteproject/datasette:0.59.1\r\n(datasette) datasette % docker tag datasetteproject/datasette:0.59.1 datasetteproject/datasette:latest\r\n(datasette) datasette % docker push datasetteproject/datasette:latest\r\nThe push refers to repository [docker.io/datasetteproject/datasette]\r\nd668c99b6ff1: Layer already exists \r\naa20c9013575: Layer already exists \r\nc97eebf2b227: Layer already exists \r\n284a6c64b82c: Layer already exists \r\n388eedeb736e: Layer already exists \r\n2feece0964b8: Layer already exists \r\ne8b689711f21: Layer already exists \r\nerrors:\r\ndenied: requested access to the resource is denied\r\nunauthorized: authentication required\r\n```\r\nSo I logged in with `docker login`:\r\n```\r\n(datasette) datasette % docker login\r\nLogin with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.\r\nUsername: datasetteproject\r\nPassword: \r\n```\r\nAnd ran the push again and it worked:\r\n```\r\n(datasette) datasette % docker push datasetteproject/datasette:latest\r\nThe push refers to repository [docker.io/datasetteproject/datasette]\r\nd668c99b6ff1: Layer already exists \r\naa20c9013575: Layer already exists \r\nc97eebf2b227: Layer already exists \r\n284a6c64b82c: Layer already exists \r\n388eedeb736e: Layer already exists \r\n2feece0964b8: Layer already exists \r\ne8b689711f21: Layer already exists \r\nlatest: digest: sha256:dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c size: 1793\r\n```\r\nhttps://hub.docker.com/layers/datasetteproject/datasette/latest/images/sha256-dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null}