{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt-pack/issues/41","repository_url":"https://api.github.com/repos/saltstack/salt-pack","labels_url":"https://api.github.com/repos/saltstack/salt-pack/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt-pack/issues/41/comments","events_url":"https://api.github.com/repos/saltstack/salt-pack/issues/41/events","html_url":"https://github.com/saltstack/salt-pack/issues/41","id":137194224,"number":41,"title":"Make `python-msgpack` a dependency for `salt-common` package for Debian 8","user":{"login":"vutny","id":16338056,"avatar_url":"https://avatars.githubusercontent.com/u/16338056?v=3","gravatar_id":"","url":"https://api.github.com/users/vutny","html_url":"https://github.com/vutny","followers_url":"https://api.github.com/users/vutny/followers","following_url":"https://api.github.com/users/vutny/following{/other_user}","gists_url":"https://api.github.com/users/vutny/gists{/gist_id}","starred_url":"https://api.github.com/users/vutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vutny/subscriptions","organizations_url":"https://api.github.com/users/vutny/orgs","repos_url":"https://api.github.com/users/vutny/repos","events_url":"https://api.github.com/users/vutny/events{/privacy}","received_events_url":"https://api.github.com/users/vutny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt-pack/labels/Packaging","name":"Packaging","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt-pack/labels/Platform","name":"Platform","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt-pack/labels/TEAM%20Platform","name":"TEAM Platform","color":"A9A9A9"}],"state":"open","locked":false,"assignee":{"login":"dmurphy18","id":9943204,"avatar_url":"https://avatars.githubusercontent.com/u/9943204?v=3","gravatar_id":"","url":"https://api.github.com/users/dmurphy18","html_url":"https://github.com/dmurphy18","followers_url":"https://api.github.com/users/dmurphy18/followers","following_url":"https://api.github.com/users/dmurphy18/following{/other_user}","gists_url":"https://api.github.com/users/dmurphy18/gists{/gist_id}","starred_url":"https://api.github.com/users/dmurphy18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmurphy18/subscriptions","organizations_url":"https://api.github.com/users/dmurphy18/orgs","repos_url":"https://api.github.com/users/dmurphy18/repos","events_url":"https://api.github.com/users/dmurphy18/events{/privacy}","received_events_url":"https://api.github.com/users/dmurphy18/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/saltstack/salt-pack/milestones/4","html_url":"https://github.com/saltstack/salt-pack/milestones/B%202","labels_url":"https://api.github.com/repos/saltstack/salt-pack/milestones/4/labels","id":1528470,"number":4,"title":"B 2","description":"","creator":{"login":"meggiebot","id":12242451,"avatar_url":"https://avatars.githubusercontent.com/u/12242451?v=3","gravatar_id":"","url":"https://api.github.com/users/meggiebot","html_url":"https://github.com/meggiebot","followers_url":"https://api.github.com/users/meggiebot/followers","following_url":"https://api.github.com/users/meggiebot/following{/other_user}","gists_url":"https://api.github.com/users/meggiebot/gists{/gist_id}","starred_url":"https://api.github.com/users/meggiebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meggiebot/subscriptions","organizations_url":"https://api.github.com/users/meggiebot/orgs","repos_url":"https://api.github.com/users/meggiebot/repos","events_url":"https://api.github.com/users/meggiebot/events{/privacy}","received_events_url":"https://api.github.com/users/meggiebot/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-01-20T22:46:05Z","updated_at":"2016-02-29T21:25:09Z","due_on":"2016-02-29T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-02-29T09:09:15Z","updated_at":"2016-03-01T19:35:25Z","closed_at":null,"body":"Hello there,\r\n\r\nI would like to use `salt-cloud` on dedicated host without `salt-minion` or `salt-master` installed for experiments and development purposes.\r\nI've tried to install and use a single `salt-cloud` package from Salt corporate repo:\r\n```\r\n# salt-cloud --version\r\n[CRITICAL] Unable to import msgpack or msgpack_pure python modules\r\n[ERROR   ] Error importing salt cloud No module named msgpack\r\nsalt-cloud is not available in this system\r\n[ERROR   ] An un-handled exception was caught by salt's global exception handler:\r\nUnboundLocalError: local variable 'salt' referenced before assignment\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-cloud\", line 10, in <module>\r\n    salt_cloud()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/scripts.py\", line 420, in salt_cloud\r\n    sys.exit(salt.defaults.exitcodes.EX_UNAVAILABLE)\r\nUnboundLocalError: local variable 'salt' referenced before assignment\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-cloud\", line 10, in <module>\r\n    salt_cloud()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/scripts.py\", line 420, in salt_cloud\r\n    sys.exit(salt.defaults.exitcodes.EX_UNAVAILABLE)\r\nUnboundLocalError: local variable 'salt' referenced before assignment\r\n# apt-cache policy python-msgpack\r\npython-msgpack:\r\n  Installed: (none)\r\n  Candidate: 0.4.2-1\r\n  Version table:\r\n     0.4.2-1 0\r\n        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages\r\n        500 http://repo.saltstack.com/apt/debian/8/amd64/latest/ jessie/main amd64 Packages\r\n```\r\n\r\nIt seems that almost all other `salt-*` packages have `python-msgpack` set as dependency, _except_ for the `salt-cloud` and `salt-common`.\r\nBecause the `salt-common` package really contains the python code that imports `msgpack` module, I think it would be wise to make `salt-common` depend on `python-msgpack` and drop this dependency for all other `salt-*` packages.\r\n\r\nInstallation log for reference: https://gist.github.com/vutny/510cf1765d83a7a8b404\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt-pack/issues/comments/190866881","html_url":"https://github.com/saltstack/salt-pack/issues/41#issuecomment-190866881","issue_url":"https://api.github.com/repos/saltstack/salt-pack/issues/41","id":190866881,"user":{"login":"dmurphy18","id":9943204,"avatar_url":"https://avatars.githubusercontent.com/u/9943204?v=3","gravatar_id":"","url":"https://api.github.com/users/dmurphy18","html_url":"https://github.com/dmurphy18","followers_url":"https://api.github.com/users/dmurphy18/followers","following_url":"https://api.github.com/users/dmurphy18/following{/other_user}","gists_url":"https://api.github.com/users/dmurphy18/gists{/gist_id}","starred_url":"https://api.github.com/users/dmurphy18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmurphy18/subscriptions","organizations_url":"https://api.github.com/users/dmurphy18/orgs","repos_url":"https://api.github.com/users/dmurphy18/repos","events_url":"https://api.github.com/users/dmurphy18/events{/privacy}","received_events_url":"https://api.github.com/users/dmurphy18/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T19:35:25Z","updated_at":"2016-03-01T19:35:25Z","body":"@vutny Okay to close  this ?"}}