{"action":"opened","issue":{"url":"https://api.github.com/repos/0k/shyaml/issues/24","repository_url":"https://api.github.com/repos/0k/shyaml","labels_url":"https://api.github.com/repos/0k/shyaml/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/0k/shyaml/issues/24/comments","events_url":"https://api.github.com/repos/0k/shyaml/issues/24/events","html_url":"https://github.com/0k/shyaml/issues/24","id":166670454,"number":24,"title":"Install fails on OSX","user":{"login":"asmod3us","id":450168,"avatar_url":"https://avatars.githubusercontent.com/u/450168?v=3","gravatar_id":"","url":"https://api.github.com/users/asmod3us","html_url":"https://github.com/asmod3us","followers_url":"https://api.github.com/users/asmod3us/followers","following_url":"https://api.github.com/users/asmod3us/following{/other_user}","gists_url":"https://api.github.com/users/asmod3us/gists{/gist_id}","starred_url":"https://api.github.com/users/asmod3us/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmod3us/subscriptions","organizations_url":"https://api.github.com/users/asmod3us/orgs","repos_url":"https://api.github.com/users/asmod3us/repos","events_url":"https://api.github.com/users/asmod3us/events{/privacy}","received_events_url":"https://api.github.com/users/asmod3us/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T20:09:50Z","updated_at":"2016-07-20T20:09:50Z","closed_at":null,"body":"Using `pip install shyaml --no-cache-dir`, the install fails with the below output. Not sure if the root cause is in shyaml?\r\n\r\nAdditional info: \r\nOSX version 10.11.6, \r\n❯ python --version\r\nPython 2.7.12\r\n❯ which python\r\n/usr/local/bin/python\r\n\r\n```\r\nCollecting shyaml\r\n  Downloading shyaml-0.4.0.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/private/var/folders/65/y0kln7794j97nmtnxb607bbc0000gn/T/pip-build-MUekst/shyaml/setup.py\", line 55, in <module>\r\n        d2to1=True\r\n      File \"/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py\", line 111, in setup\r\n        _setup_distribution = dist = klass(attrs)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/dist.py\", line 269, in __init__\r\n        self.fetch_build_eggs(attrs['setup_requires'])\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/dist.py\", line 313, in fetch_build_eggs\r\n        replace_conflicting=True,\r\n      File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 826, in resolve\r\n        dist = best[req.key] = env.best_match(req, ws, installer)\r\n      File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1092, in best_match\r\n        return self.obtain(req, installer)\r\n      File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1104, in obtain\r\n        return installer(requirement)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/dist.py\", line 380, in fetch_build_egg\r\n        return cmd.easy_install(req)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 664, in easy_install\r\n        return self.install_item(spec, dist.location, tmpdir, deps)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 694, in install_item\r\n        dists = self.install_eggs(spec, download, tmpdir)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 875, in install_eggs\r\n        return self.build_and_install(setup_script, setup_base)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 1114, in build_and_install\r\n        self.run_setup(setup_script, setup_base, args)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py\", line 1100, in run_setup\r\n        run_setup(setup_script, args)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 246, in run_setup\r\n        raise\r\n      File \"/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py\", line 35, in __exit__\r\n        self.gen.throw(type, value, traceback)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 195, in setup_context\r\n        yield\r\n      File \"/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py\", line 35, in __exit__\r\n        self.gen.throw(type, value, traceback)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 166, in save_modules\r\n        saved_exc.resume()\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 141, in resume\r\n        six.reraise(type, exc, self._tb)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 154, in save_modules\r\n        yield saved\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 195, in setup_context\r\n        yield\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 243, in run_setup\r\n        DirectorySandbox(setup_dir).run(runner)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 273, in run\r\n        return func()\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 242, in runner\r\n        _execfile(setup_script, ns)\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py\", line 46, in _execfile\r\n        exec(code, globals, locals)\r\n      File \"/var/folders/65/y0kln7794j97nmtnxb607bbc0000gn/T/easy_install-C_SSRW/d2to1-0.2.12.post1/setup.py\", line 17, in <module>\r\n\r\n      File \"/var/folders/65/y0kln7794j97nmtnxb607bbc0000gn/T/easy_install-C_SSRW/d2to1-0.2.12.post1/d2to1/util.py\", line 204, in cfg_to_args\r\n      File \"/var/folders/65/y0kln7794j97nmtnxb607bbc0000gn/T/easy_install-C_SSRW/d2to1-0.2.12.post1/d2to1/util.py\", line 439, in wrap_commands\r\n      File \"/usr/local/lib/python2.7/site-packages/setuptools/dist.py\", line 447, in get_command_list\r\n        cmdclass = ep.resolve()\r\n      File \"/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2235, in resolve\r\n        module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n      File \"/usr/local/lib/python2.7/site-packages/pbr/testr_command.py\", line 47, in <module>\r\n        from testrepository import commands\r\n    ImportError: No module named testrepository\r\n\r\n    ----------------------------------------\r\nCommand \"python setup.py egg_info\" failed with error code 1 in /private/var/folders/65/y0kln7794j97nmtnxb607bbc0000gn/T/pip-build-MUekst/shyaml/\r\n```"}}
{"actor":{"display_login":"asmod3us"}}