{"html_url": "https://github.com/simonw/datasette/issues/1361#issuecomment-855308811", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1361", "id": 855308811, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NTMwODgxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-05T23:16:21Z", "updated_at": "2021-06-05T23:16:21Z", "author_association": "OWNER", "body": "That seems to have fixed it. I'd love to get rid of this `restore_working_directory` hack entirely.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 912485040, "label": "Intermittent CI failure: restore_working_directory FileNotFoundError"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1361#issuecomment-855307292", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1361", "id": 855307292, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NTMwNzI5Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-05T22:59:35Z", "updated_at": "2021-06-05T22:59:35Z", "author_association": "OWNER", "body": "That broke things. Here's how `pytest-cov` fixed a similar issue: https://github.com/pytest-dev/pytest-cov/commit/7ccb1783bf8290447df58deeb41eae74296a6d9b\r\n\r\nSee also https://github.com/nedbat/coveragepy/issues/881 and https://github.com/pytest-dev/pytest-cov/issues/306 and https://github.com/nedbat/coveragepy/issues/824", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 912485040, "label": "Intermittent CI failure: restore_working_directory FileNotFoundError"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1361#issuecomment-855306497", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1361", "id": 855306497, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NTMwNjQ5Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-05T22:51:01Z", "updated_at": "2021-06-05T22:51:01Z", "author_association": "OWNER", "body": "I'm going to try removing that `restore_working_directory` fixture entirely.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 912485040, "label": "Intermittent CI failure: restore_working_directory FileNotFoundError"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1361#issuecomment-855306347", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1361", "id": 855306347, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NTMwNjM0Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-05T22:49:30Z", "updated_at": "2021-06-05T22:49:30Z", "author_association": "OWNER", "body": "Stack Overflow: https://stackoverflow.com/a/49367679/6083\r\n\r\n> The answer was that `os.chdir()` had been set to the deleted directory by accident. The directory was missing, but the error happened (it seems) at the attempt to get it with `os.getcwd()`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 912485040, "label": "Intermittent CI failure: restore_working_directory FileNotFoundError"}, "performed_via_github_app": null}