{"html_url": "https://github.com/simonw/datasette/issues/2065#issuecomment-1524616740", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2065", "id": 1524616740, "node_id": "IC_kwDOBm6k_c5a384k", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-04-27T03:38:21Z", "updated_at": "2023-04-27T03:38:21Z", "author_association": "OWNER", "body": "Tried this:\r\n\r\n rye install https://github.com/simonw/datasette/archive/refs/heads/main.zip\r\n\r\nBut got this error:\r\n\r\n Error: Expected one of `@`, `(`, `<`, `=`, `>`, `~`, `!`, `;`, found `:`\r\n\r\nI instead downloaded that file and ran:\r\n\r\n rye install main.zip\r\n\r\nThis worked! And now:\r\n```\r\n~/.rye/tools/main-zip/bin/datasette --version\r\n```\r\n```\r\ndatasette, version 1.0a2\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1686033652, "label": "Datasette cannot be installed with Rye"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/2065#issuecomment-1524699863", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2065", "id": 1524699863, "node_id": "IC_kwDOBm6k_c5a4RLX", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-04-27T04:56:22Z", "updated_at": "2023-04-27T04:56:22Z", "author_association": "OWNER", "body": "Turned this into a TIL: https://til.simonwillison.net/python/rye", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1686033652, "label": "Datasette cannot be installed with Rye"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/2065#issuecomment-1524707628", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2065", "id": 1524707628, "node_id": "IC_kwDOBm6k_c5a4TEs", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-04-27T05:06:44Z", "updated_at": "2023-04-27T05:06:44Z", "author_association": "OWNER", "body": "I need `pip` as a dependency too:\r\n\r\n```\r\n% ~/.rye/tools/main-zip/bin/datasette install datasette-graphql\r\nTraceback (most recent call last):\r\n File \"/Users/simon/.rye/tools/main-zip/bin/datasette\", line 8, in \r\n sys.exit(cli())\r\n ^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/click/core.py\", line 1130, in __call__\r\n return self.main(*args, **kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/click/core.py\", line 1055, in main\r\n rv = self.invoke(ctx)\r\n ^^^^^^^^^^^^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/click/core.py\", line 1657, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/click/core.py\", line 1404, in invoke\r\n return ctx.invoke(self.callback, **ctx.params)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/click/core.py\", line 760, in invoke\r\n return __callback(*args, **kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"/Users/simon/.rye/tools/main-zip/lib/python3.11/site-packages/datasette/cli.py\", line 365, in install\r\n run_module(\"pip\", run_name=\"__main__\")\r\n File \"\", line 222, in run_module\r\n File \"\", line 142, in _get_module_details\r\nImportError: No module named pip\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1686033652, "label": "Datasette cannot be installed with Rye"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/2065#issuecomment-1524709988", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/2065", "id": 1524709988, "node_id": "IC_kwDOBm6k_c5a4Tpk", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-04-27T05:09:36Z", "updated_at": "2023-04-27T05:09:36Z", "author_association": "OWNER", "body": "That fixed it - after installing `main.zip` again I ran this and it worked:\r\n\r\n ~/.rye/tools/main-zip/bin/datasette install datasette-graphql\r\n\r\n```\r\n% ~/.rye/tools/main-zip/bin/datasette plugins \r\n[\r\n {\r\n \"name\": \"datasette-graphql\",\r\n \"static\": true,\r\n \"templates\": true,\r\n \"version\": \"2.2\",\r\n \"hooks\": [\r\n \"database_actions\",\r\n \"extra_template_vars\",\r\n \"menu_links\",\r\n \"register_routes\",\r\n \"startup\",\r\n \"table_actions\"\r\n ]\r\n }\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": 1686033652, "label": "Datasette cannot be installed with Rye"}, "performed_via_github_app": null}