{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/setuptools_scm/issues/83","repository_url":"https://api.github.com/repos/pypa/setuptools_scm","labels_url":"https://api.github.com/repos/pypa/setuptools_scm/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/pypa/setuptools_scm/issues/83/comments","events_url":"https://api.github.com/repos/pypa/setuptools_scm/issues/83/events","html_url":"https://github.com/pypa/setuptools_scm/issues/83","id":145451058,"number":83,"title":"Debian packaging issues","user":{"login":"brianmay","id":112729,"avatar_url":"https://avatars.githubusercontent.com/u/112729?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmay","html_url":"https://github.com/brianmay","followers_url":"https://api.github.com/users/brianmay/followers","following_url":"https://api.github.com/users/brianmay/following{/other_user}","gists_url":"https://api.github.com/users/brianmay/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmay/subscriptions","organizations_url":"https://api.github.com/users/brianmay/orgs","repos_url":"https://api.github.com/users/brianmay/repos","events_url":"https://api.github.com/users/brianmay/events{/privacy}","received_events_url":"https://api.github.com/users/brianmay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-04-03T04:15:23Z","updated_at":"2016-10-13T07:17:23Z","closed_at":"2016-10-13T07:17:23Z","body":"It is common practise to take the PyPI source of a package and put it into another git with packaging for Debian.\r\n\r\nHowever this confused setuptools_scm, it appears to look at the Debian git packaging instead of the correct upstream version stored in the *.egg-info/PKG-INFO file. Somehow it gets confused when it sees a list of tags like:\r\n\r\n```\r\ndebian/1.3.2-1\r\ndebian/1.4.1-1\r\npatched/1.3.2-1\r\npatched/1.4.1-1\r\nupstream/1.3.2\r\nupstream/1.4.1\r\n```\r\n\r\nand thinks the next version should be something like ```2.dev12+ngfbfb690```\r\n\r\nIs it possible to somehow force setuptools_scm to use the version from the egg-info file? Preferably without needing to patch the source tree?\r\n\r\nOr maybe setuptools_scm can't find a sane version tag, it should revert to looking at egg-info anyway?"},"comment":{"url":"https://api.github.com/repos/pypa/setuptools_scm/issues/comments/253434173","html_url":"https://github.com/pypa/setuptools_scm/issues/83#issuecomment-253434173","issue_url":"https://api.github.com/repos/pypa/setuptools_scm/issues/83","id":253434173,"user":{"login":"RonnyPfannschmidt","id":156838,"avatar_url":"https://avatars.githubusercontent.com/u/156838?v=3","gravatar_id":"","url":"https://api.github.com/users/RonnyPfannschmidt","html_url":"https://github.com/RonnyPfannschmidt","followers_url":"https://api.github.com/users/RonnyPfannschmidt/followers","following_url":"https://api.github.com/users/RonnyPfannschmidt/following{/other_user}","gists_url":"https://api.github.com/users/RonnyPfannschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/RonnyPfannschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RonnyPfannschmidt/subscriptions","organizations_url":"https://api.github.com/users/RonnyPfannschmidt/orgs","repos_url":"https://api.github.com/users/RonnyPfannschmidt/repos","events_url":"https://api.github.com/users/RonnyPfannschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/RonnyPfannschmidt/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T07:17:23Z","updated_at":"2016-10-13T07:17:23Z","body":"thanks"}}
{"actor":{"display_login":"RonnyPfannschmidt"}}