{"action":"created","issue":{"url":"https://api.github.com/repos/pybuilder/pybuilder/issues/340","repository_url":"https://api.github.com/repos/pybuilder/pybuilder","labels_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/340/comments","events_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/340/events","html_url":"https://github.com/pybuilder/pybuilder/issues/340","id":139016498,"number":340,"title":"Unable to specify version for custom plugin.","user":{"login":"mrburrito","id":1143629,"avatar_url":"https://avatars.githubusercontent.com/u/1143629?v=3","gravatar_id":"","url":"https://api.github.com/users/mrburrito","html_url":"https://github.com/mrburrito","followers_url":"https://api.github.com/users/mrburrito/followers","following_url":"https://api.github.com/users/mrburrito/following{/other_user}","gists_url":"https://api.github.com/users/mrburrito/gists{/gist_id}","starred_url":"https://api.github.com/users/mrburrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrburrito/subscriptions","organizations_url":"https://api.github.com/users/mrburrito/orgs","repos_url":"https://api.github.com/users/mrburrito/repos","events_url":"https://api.github.com/users/mrburrito/events{/privacy}","received_events_url":"https://api.github.com/users/mrburrito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-07T16:03:29Z","updated_at":"2016-03-09T16:37:28Z","closed_at":null,"body":"I'm developing a custom plugin and can't get pybuilder to pull new versions when they're available. How do I specify min and/or locked version for a plugin pulled from a pypi repository?"},"comment":{"url":"https://api.github.com/repos/pybuilder/pybuilder/issues/comments/194385623","html_url":"https://github.com/pybuilder/pybuilder/issues/340#issuecomment-194385623","issue_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/340","id":194385623,"user":{"login":"mrburrito","id":1143629,"avatar_url":"https://avatars.githubusercontent.com/u/1143629?v=3","gravatar_id":"","url":"https://api.github.com/users/mrburrito","html_url":"https://github.com/mrburrito","followers_url":"https://api.github.com/users/mrburrito/followers","following_url":"https://api.github.com/users/mrburrito/following{/other_user}","gists_url":"https://api.github.com/users/mrburrito/gists{/gist_id}","starred_url":"https://api.github.com/users/mrburrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrburrito/subscriptions","organizations_url":"https://api.github.com/users/mrburrito/orgs","repos_url":"https://api.github.com/users/mrburrito/repos","events_url":"https://api.github.com/users/mrburrito/events{/privacy}","received_events_url":"https://api.github.com/users/mrburrito/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T16:37:28Z","updated_at":"2016-03-09T16:37:28Z","body":"@arcivanov I'd like pybuilder to validate the plugin version each time it runs to determine if a newer version of the plugin is available (according to the version spec) and, if so, download the updated version. For `-dev` versions, I want it to check timestamps and/or dev[N] numbers in the repo to make sure it has the latest version.  Basically, emulate maven's behavior for SNAPSHOT and release dependencies.\r\n\r\nIt doesn't seem to do any of that and I've resorted to running an `rm ${venv}/lib/python2.7/site-packages/my_plugin*` each time I update my plugin. This is not a scalable solution once this gets pushed out to our CI server and the rest of my dev team.\r\n\r\nAm I missing something in my plugin definition that configures the version so pybuilder can check it? I saw the code in `pluginloader._check_plugin_version`, but I don't think that's getting hit. I can change my version spec in the `use_plugin` call to a later version than what's installed and everything continues to run without downloading the new plugin.\r\n"}}