{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/1590","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/1590/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/1590/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/1590/events","html_url":"https://github.com/conda/conda-build/issues/1590","id":196379030,"number":1590,"title":"Support all PEP 440 release specifiers (i.e., ~=)","user":{"login":"sscherfke","id":511179,"avatar_url":"https://avatars.githubusercontent.com/u/511179?v=3","gravatar_id":"","url":"https://api.github.com/users/sscherfke","html_url":"https://github.com/sscherfke","followers_url":"https://api.github.com/users/sscherfke/followers","following_url":"https://api.github.com/users/sscherfke/following{/other_user}","gists_url":"https://api.github.com/users/sscherfke/gists{/gist_id}","starred_url":"https://api.github.com/users/sscherfke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sscherfke/subscriptions","organizations_url":"https://api.github.com/users/sscherfke/orgs","repos_url":"https://api.github.com/users/sscherfke/repos","events_url":"https://api.github.com/users/sscherfke/events{/privacy}","received_events_url":"https://api.github.com/users/sscherfke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-19T10:27:25Z","updated_at":"2016-12-19T22:51:09Z","closed_at":null,"body":"Conda-build currently only supports the [version specifiers](https://www.python.org/dev/peps/pep-0440/#version-specifiers) `==`, `!=`, `>` , `<`, `>=`, `<=`, but not `~=`.\r\n\r\nThe idea of [compatible releases](https://www.python.org/dev/peps/pep-0440/#compatible-release) is nearly the same as conda-build's `*` syntax (e.g., `python 3.6*`), but more powerful. `~=1.4.5` for example means \"the 1..4 release, but at least 1.4.5\" (`>=1.4.5,==1.4.*). This is currently not expressable in conda-build and hinders porting of pypi-packages that use this in their setup.py.\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/268102023","html_url":"https://github.com/conda/conda-build/issues/1590#issuecomment-268102023","issue_url":"https://api.github.com/repos/conda/conda-build/issues/1590","id":268102023,"user":{"login":"msarahan","id":38393,"avatar_url":"https://avatars.githubusercontent.com/u/38393?v=3","gravatar_id":"","url":"https://api.github.com/users/msarahan","html_url":"https://github.com/msarahan","followers_url":"https://api.github.com/users/msarahan/followers","following_url":"https://api.github.com/users/msarahan/following{/other_user}","gists_url":"https://api.github.com/users/msarahan/gists{/gist_id}","starred_url":"https://api.github.com/users/msarahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarahan/subscriptions","organizations_url":"https://api.github.com/users/msarahan/orgs","repos_url":"https://api.github.com/users/msarahan/repos","events_url":"https://api.github.com/users/msarahan/events{/privacy}","received_events_url":"https://api.github.com/users/msarahan/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T22:51:09Z","updated_at":"2016-12-19T22:51:09Z","body":"Good idea.  I'm implementing stuff like this in #1585.  Right now, what I have as the expression for this is a version pin using Jinja2, like:\r\n\r\n```\r\nrequirements:\r\n  build:\r\n    - python  {{ compatible('python', '3.5') }}\r\n```"}}
{"actor":{"display_login":"msarahan"}}