{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/setuptools/issues/852","repository_url":"https://api.github.com/repos/pypa/setuptools","labels_url":"https://api.github.com/repos/pypa/setuptools/issues/852/labels{/name}","comments_url":"https://api.github.com/repos/pypa/setuptools/issues/852/comments","events_url":"https://api.github.com/repos/pypa/setuptools/issues/852/events","html_url":"https://github.com/pypa/setuptools/issues/852","id":190422926,"number":852,"title":"FileNotFoundError on older Pythons","user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-18T21:12:27Z","updated_at":"2016-11-18T21:14:16Z","closed_at":null,"body":"Recently and inexplicably, tests have started failing on Python 3.2 and earlier in Travis-CI, such as seen in [this run](https://travis-ci.org/pypa/setuptools/jobs/177130743). Mainly one test is failing:\r\n\r\n```\r\n_____________________ TestUserInstallTest.test_local_index _____________________\r\n\r\nself = <setuptools.tests.test_easy_install.TestUserInstallTest object at 0x7f7d68cbab10>\r\n\r\nfoo_package = '/tmp/pytest-of-travis/pytest-0/test_local_index0'\r\n\r\ninstall_target = '/tmp/pytest-of-travis/pytest-0/test_local_index0'\r\n\r\n    def test_local_index(self, foo_package, install_target):\r\n\r\n        \"\"\"\r\n\r\n            The local index must be used when easy_install locates installed\r\n\r\n            packages.\r\n\r\n            \"\"\"\r\n\r\n        dist = Distribution()\r\n\r\n        dist.script_name = 'setup.py'\r\n\r\n        cmd = ei.easy_install(dist)\r\n\r\n        cmd.install_dir = install_target\r\n\r\n        cmd.args = ['foo']\r\n\r\n        cmd.ensure_finalized()\r\n\r\n        cmd.local_index.scan([foo_package])\r\n\r\n>       res = cmd.easy_install('foo')\r\n\r\n/home/travis/build/pypa/setuptools/setuptools/tests/test_easy_install.py:289: \r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\n./setuptools/command/easy_install.py:633: in easy_install\r\n\r\n    self.install_site_py()\r\n\r\n./setuptools/command/easy_install.py:1276: in install_site_py\r\n\r\n    source = resource_string(\"setuptools\", \"site-patch.py\")\r\n\r\n./pkg_resources/__init__.py:1214: in resource_string\r\n\r\n    self, resource_name\r\n\r\n./pkg_resources/__init__.py:1456: in get_resource_string\r\n\r\n    return self._get(self._fn(self.module_path, resource_name))\r\n\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\nself = <pkg_resources.DefaultProvider object at 0x7f7d68be0490>\r\n\r\npath = './setuptools/site-patch.py'\r\n\r\n    def _get(self, path):\r\n\r\n>       with open(path, 'rb') as stream:\r\n\r\nE       FileNotFoundError: [Errno 2] No such file or directory: './setuptools/site-patch.py'\r\n\r\n./pkg_resources/__init__.py:1576: FileNotFoundError\r\n```\r\n\r\nI have no idea why it's failing."},"comment":{"url":"https://api.github.com/repos/pypa/setuptools/issues/comments/261643436","html_url":"https://github.com/pypa/setuptools/issues/852#issuecomment-261643436","issue_url":"https://api.github.com/repos/pypa/setuptools/issues/852","id":261643436,"user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T21:14:16Z","updated_at":"2016-11-18T21:14:16Z","body":"I'm able to replicate this failure on my local workstation."}}
{"actor":{"display_login":"jaraco"}}