{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/728","labels_url":"https://api.github.com/repos/conda/conda-build/issues/728/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/728/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/728/events","html_url":"https://github.com/conda/conda-build/pull/728","id":127112464,"number":728,"title":"Support x.x for all dependencies.","user":{"login":"johanneskoester","id":1858646,"avatar_url":"https://avatars.githubusercontent.com/u/1858646?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneskoester","html_url":"https://github.com/johanneskoester","followers_url":"https://api.github.com/users/johanneskoester/followers","following_url":"https://api.github.com/users/johanneskoester/following{/other_user}","gists_url":"https://api.github.com/users/johanneskoester/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneskoester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneskoester/subscriptions","organizations_url":"https://api.github.com/users/johanneskoester/orgs","repos_url":"https://api.github.com/users/johanneskoester/repos","events_url":"https://api.github.com/users/johanneskoester/events{/privacy}","received_events_url":"https://api.github.com/users/johanneskoester/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-17T18:03:37Z","updated_at":"2016-01-22T12:02:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/conda/conda-build/pulls/728","html_url":"https://github.com/conda/conda-build/pull/728","diff_url":"https://github.com/conda/conda-build/pull/728.diff","patch_url":"https://github.com/conda/conda-build/pull/728.patch"},"body":"# Motivation\r\n\r\nCurrently, using x.x to allow pinning of dependencies to externally provided versions works for Python, Perl, R and numpy.\r\nHowever, the functionality is critical in order to be able to pin dependencies in case of ABI incompatibilities. E.g., this mechanism can be used to build for particular boost versions.\r\nThis PR modifies conda-build to support this mechanism for all dependencies.\r\n\r\n# Changes\r\n1. The CLI is changed to provide an additional argument --versions which allows to pin the versions for arbitrary packages, e.g. ``--versions boost=1.57``.\r\n2. The config object is changed to allow storage of these versions.\r\n3. The function ms_depends is changed to generalize the current pinning mechanism.\r\n\r\n# Outlook\r\nThe new implementation could be used as well to handle the previous mechanism that was specific for Python, Perl, R and numpy. However, I left the old code for backwards compatibility.\r\n\r\nJohannes Köster on behalf of the Bioconda team."},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/173900186","html_url":"https://github.com/conda/conda-build/pull/728#issuecomment-173900186","issue_url":"https://api.github.com/repos/conda/conda-build/issues/728","id":173900186,"user":{"login":"johanneskoester","id":1858646,"avatar_url":"https://avatars.githubusercontent.com/u/1858646?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneskoester","html_url":"https://github.com/johanneskoester","followers_url":"https://api.github.com/users/johanneskoester/followers","following_url":"https://api.github.com/users/johanneskoester/following{/other_user}","gists_url":"https://api.github.com/users/johanneskoester/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneskoester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneskoester/subscriptions","organizations_url":"https://api.github.com/users/johanneskoester/orgs","repos_url":"https://api.github.com/users/johanneskoester/repos","events_url":"https://api.github.com/users/johanneskoester/events{/privacy}","received_events_url":"https://api.github.com/users/johanneskoester/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T12:02:52Z","updated_at":"2016-01-22T12:02:52Z","body":"Glad you like it! I don't know if I have the time to implement more tests. Is CA interested in adding tests? I think a lot of packages outside of Bioconda would benefit from this as well. We need this functionality quite urgently in Bioconda."}}