{"action":"created","issue":{"url":"https://api.github.com/repos/biocore/scikit-bio/issues/1433","repository_url":"https://api.github.com/repos/biocore/scikit-bio","labels_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1433/labels{/name}","comments_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1433/comments","events_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1433/events","html_url":"https://github.com/biocore/scikit-bio/issues/1433","id":181286327,"number":1433,"title":"When installing in a PY2 environment I get a PY3 error","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-05T22:57:08Z","updated_at":"2016-10-07T18:01:03Z","closed_at":null,"body":"I have a package that depends on scikit-bio, the code is not a lot and supporting py2 and py3 is trivial. When I run `pip install .` from my package's base directory, all goes well in PY3 👍 but in PY2 I get this error:\r\n\r\n```bash\r\nProcessing /home/travis/build/ElDeveloper/reference-plane\r\nCollecting scikit-bio>=0.4.2 (from reference-plane==0.0.1.dev0)\r\n  Downloading scikit-bio-0.5.0.zip (8.4MB)\r\n    100% |████████████████████████████████| 8.4MB 108kB/s \r\n    Complete output from command python setup.py egg_info:\r\n    scikit-bio can only be used with Python 3. You are currently running Python 2.\r\n```\r\n\r\nNote that my metadata specifies `scikit-bio>=0.4.2`, so I would expect for pip to figure that out and return skbio 0.4.2.\r\n\r\nNot sure if this is something that can be codified somewhere in the packages metadata so it will return 0.4.2 when running inside PY2."},"comment":{"url":"https://api.github.com/repos/biocore/scikit-bio/issues/comments/252319933","html_url":"https://github.com/biocore/scikit-bio/issues/1433#issuecomment-252319933","issue_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1433","id":252319933,"user":{"login":"jakereps","id":2638727,"avatar_url":"https://avatars.githubusercontent.com/u/2638727?v=3","gravatar_id":"","url":"https://api.github.com/users/jakereps","html_url":"https://github.com/jakereps","followers_url":"https://api.github.com/users/jakereps/followers","following_url":"https://api.github.com/users/jakereps/following{/other_user}","gists_url":"https://api.github.com/users/jakereps/gists{/gist_id}","starred_url":"https://api.github.com/users/jakereps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakereps/subscriptions","organizations_url":"https://api.github.com/users/jakereps/orgs","repos_url":"https://api.github.com/users/jakereps/repos","events_url":"https://api.github.com/users/jakereps/events{/privacy}","received_events_url":"https://api.github.com/users/jakereps/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T18:01:03Z","updated_at":"2016-10-07T18:01:03Z","body":"Any chance it respects [`python-requires`](https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords) from the `setup` kwargs when building the sdist? I don't have any pypi credentials to quickly test it with something."}}
{"actor":{"display_login":"jakereps"}}