{"action":"created","issue":{"url":"https://api.github.com/repos/fermiPy/fermipy/issues/204","repository_url":"https://api.github.com/repos/fermiPy/fermipy","labels_url":"https://api.github.com/repos/fermiPy/fermipy/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/fermiPy/fermipy/issues/204/comments","events_url":"https://api.github.com/repos/fermiPy/fermipy/issues/204/events","html_url":"https://github.com/fermiPy/fermipy/issues/204","id":304961428,"number":204,"title":"merit-skimmer broken in fermipy-dev","user":{"login":"zimmerst","id":2745786,"avatar_url":"https://avatars0.githubusercontent.com/u/2745786?v=4","gravatar_id":"","url":"https://api.github.com/users/zimmerst","html_url":"https://github.com/zimmerst","followers_url":"https://api.github.com/users/zimmerst/followers","following_url":"https://api.github.com/users/zimmerst/following{/other_user}","gists_url":"https://api.github.com/users/zimmerst/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmerst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmerst/subscriptions","organizations_url":"https://api.github.com/users/zimmerst/orgs","repos_url":"https://api.github.com/users/zimmerst/repos","events_url":"https://api.github.com/users/zimmerst/events{/privacy}","received_events_url":"https://api.github.com/users/zimmerst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T22:41:07Z","updated_at":"2018-03-16T01:54:42Z","closed_at":null,"author_association":"NONE","body":"Similar to #203 the previous PR seems to have broken the package dependencies for merit-skimmer\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/u/gl/zimmer/.local/bin/fermipy-merit-skimmer\", line 6, in <module>\r\n    from pkg_resources import load_entry_point\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 2985, in <module>\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 2971, in _call_aside\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 2998, in _initialize_master_working_set\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 662, in _build_master\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 675, in _build_from_requirements\r\n  File \"/afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/pkg_resources/__init__.py\", line 859, in resolve\r\npkg_resources.ContextualVersionConflict: (astropy 1.2.1 (/afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.12-anaconda2-4.2.0/lib/python2.7/site-packages), Requirement.parse('astropy>=1.3'), set(['gammapy']))\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fermiPy/fermipy/issues/comments/373578964","html_url":"https://github.com/fermiPy/fermipy/issues/204#issuecomment-373578964","issue_url":"https://api.github.com/repos/fermiPy/fermipy/issues/204","id":373578964,"user":{"login":"woodmd","id":5733106,"avatar_url":"https://avatars2.githubusercontent.com/u/5733106?v=4","gravatar_id":"","url":"https://api.github.com/users/woodmd","html_url":"https://github.com/woodmd","followers_url":"https://api.github.com/users/woodmd/followers","following_url":"https://api.github.com/users/woodmd/following{/other_user}","gists_url":"https://api.github.com/users/woodmd/gists{/gist_id}","starred_url":"https://api.github.com/users/woodmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodmd/subscriptions","organizations_url":"https://api.github.com/users/woodmd/orgs","repos_url":"https://api.github.com/users/woodmd/repos","events_url":"https://api.github.com/users/woodmd/events{/privacy}","received_events_url":"https://api.github.com/users/woodmd/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T01:54:42Z","updated_at":"2018-03-16T01:54:42Z","author_association":"OWNER","body":"Adding support for Astropy 1.2.1 is probably not worth the effort at this point.  The only reason we were trying to support it in fermipy up to now is that it was the version included with the common python installation at SLAC.  I asked Heather to create a new python installation a while back -- if you'd like to have a common python installation that works with the latest version of fermipy I'd suggest you ping her again about this.\r\n\r\nAlternatively it's relatively straightforward to create your own python installation and use that in lieu of the common installation.  [Here](https://github.com/fermiPy/fermipy/wiki/Creating-an-Anaconda-Python-Installation-at-SLAC) are some instructions I put together while back.  Using your own installation has the advantage of giving you total control over package versions and also tends to work better with conda environments.  In fact going forward we should probably make this the standard installation procedure for those working at SLAC.\r\n"}}
{"actor":{"display_login":"woodmd"}}