{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/25541","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/25541/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/25541/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/25541/events","html_url":"https://github.com/odoo/odoo/issues/25541","id":336954433,"node_id":"MDU6SXNzdWUzMzY5NTQ0MzM=","number":25541,"title":"Better python external_dependencies","user":{"login":"sbidoul","id":692075,"node_id":"MDQ6VXNlcjY5MjA3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/692075?v=4","gravatar_id":"","url":"https://api.github.com/users/sbidoul","html_url":"https://github.com/sbidoul","followers_url":"https://api.github.com/users/sbidoul/followers","following_url":"https://api.github.com/users/sbidoul/following{/other_user}","gists_url":"https://api.github.com/users/sbidoul/gists{/gist_id}","starred_url":"https://api.github.com/users/sbidoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbidoul/subscriptions","organizations_url":"https://api.github.com/users/sbidoul/orgs","repos_url":"https://api.github.com/users/sbidoul/repos","events_url":"https://api.github.com/users/sbidoul/events{/privacy}","received_events_url":"https://api.github.com/users/sbidoul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T10:53:23Z","updated_at":"2018-06-29T10:56:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The python external dependency mechanism currently tries `import` to determine if the package is available.\r\n\r\nWhile this mechanism works, it has the drawback that it does not help discovering the python distribution that provides the package, nor the minimal required version. An example is package as `stdnum` which are provided by the `python-stdnum` [distribution](https://pypi.org/project/python-stdnum/).\r\n\r\nWould you be open to somehow using [pkg_resources.get_distribution()](https://setuptools.readthedocs.io/en/latest/pkg_resources.html#getting-or-creating-distributions)?\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/401321086","html_url":"https://github.com/odoo/odoo/issues/25541#issuecomment-401321086","issue_url":"https://api.github.com/repos/odoo/odoo/issues/25541","id":401321086,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTMyMTA4Ng==","user":{"login":"pedrobaeza","id":7165771,"node_id":"MDQ6VXNlcjcxNjU3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/7165771?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T10:56:00Z","updated_at":"2018-06-29T10:56:00Z","author_association":"CONTRIBUTOR","body":"@KangOl @odony I think you are the most suitable ones to give your opinion on this"}}
{"actor":{"display_login":"pedrobaeza"}}