{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/313","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/313/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/313/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/313","id":69958869,"number":313,"title":"Anaconda's h5py package should depend on Cython","user":{"login":"shoyer","id":1217238,"avatar_url":"https://avatars.githubusercontent.com/u/1217238?v=3","gravatar_id":"","url":"https://api.github.com/users/shoyer","html_url":"https://github.com/shoyer","followers_url":"https://api.github.com/users/shoyer/followers","following_url":"https://api.github.com/users/shoyer/following{/other_user}","gists_url":"https://api.github.com/users/shoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/shoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoyer/subscriptions","organizations_url":"https://api.github.com/users/shoyer/orgs","repos_url":"https://api.github.com/users/shoyer/repos","events_url":"https://api.github.com/users/shoyer/events{/privacy}","received_events_url":"https://api.github.com/users/shoyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"groutr","id":10678620,"avatar_url":"https://avatars.githubusercontent.com/u/10678620?v=3","gravatar_id":"","url":"https://api.github.com/users/groutr","html_url":"https://github.com/groutr","followers_url":"https://api.github.com/users/groutr/followers","following_url":"https://api.github.com/users/groutr/following{/other_user}","gists_url":"https://api.github.com/users/groutr/gists{/gist_id}","starred_url":"https://api.github.com/users/groutr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groutr/subscriptions","organizations_url":"https://api.github.com/users/groutr/orgs","repos_url":"https://api.github.com/users/groutr/repos","events_url":"https://api.github.com/users/groutr/events{/privacy}","received_events_url":"https://api.github.com/users/groutr/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-21T21:38:05Z","updated_at":"2015-06-16T17:40:52Z","closed_at":"2015-06-16T17:40:52Z","body":"h5py declares that it requires cython in `install_requires` in setup.py, but the conda package does not.\r\n\r\nUnfortunately, this means that if I install a package with `pip` or `python setup.py install` that requires h5py, I end up compiling Cython from scratch!\r\n\r\nTo reproduce, try `pip install h5netcdf` with h5py installed from conda:\r\n```\r\n$ conda create -n test-h5py h5py\r\n# output omited\r\n$ source activate test-h5py\r\ndiscarding /Users/shoyer/miniconda/bin from PATH\r\nprepending /Users/shoyer/miniconda/envs/test-h5py/bin to PATH\r\n(test-h5py) $ pip install h5netcdf\r\nDEPRECATION: --download-cache has been deprecated and will be removed in the future. Pip now automatically uses and configures its cache.\r\nCollecting h5netcdf\r\n  Using cached h5netcdf-0.2.0.tar.gz\r\nRequirement already satisfied (use --upgrade to upgrade): h5py in ./miniconda/envs/test-h5py/lib/python2.7/site-packages (from h5netcdf)\r\nRequirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in ./miniconda/envs/test-h5py/lib/python2.7/site-packages (from h5py->h5netcdf)\r\nCollecting Cython>=0.17 (from h5py->h5netcdf)\r\n  Downloading cython-0.22.tar.gz (1.6MB)\r\n    100% |████████████████████████████████| 1.6MB 159kB/s\r\nRequirement already satisfied (use --upgrade to upgrade): six in ./miniconda/envs/test-h5py/lib/python2.7/site-packages (from h5py->h5netcdf)\r\nInstalling collected packages: h5netcdf, Cython\r\n  Running setup.py install for h5netcdf\r\n  Running setup.py install for Cython\r\nSuccessfully installed Cython-0.22 h5netcdf-0.2.0\r\n```"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/112509581","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/313#issuecomment-112509581","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/313","id":112509581,"user":{"login":"groutr","id":10678620,"avatar_url":"https://avatars.githubusercontent.com/u/10678620?v=3","gravatar_id":"","url":"https://api.github.com/users/groutr","html_url":"https://github.com/groutr","followers_url":"https://api.github.com/users/groutr/followers","following_url":"https://api.github.com/users/groutr/following{/other_user}","gists_url":"https://api.github.com/users/groutr/gists{/gist_id}","starred_url":"https://api.github.com/users/groutr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groutr/subscriptions","organizations_url":"https://api.github.com/users/groutr/orgs","repos_url":"https://api.github.com/users/groutr/repos","events_url":"https://api.github.com/users/groutr/events{/privacy}","received_events_url":"https://api.github.com/users/groutr/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T17:40:52Z","updated_at":"2015-06-16T17:40:52Z","body":"I've updated the package.  It should be fixed now."}}