{"action":"opened","issue":{"url":"https://api.github.com/repos/Engelberg/instaparse/issues/104","labels_url":"https://api.github.com/repos/Engelberg/instaparse/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/Engelberg/instaparse/issues/104/comments","events_url":"https://api.github.com/repos/Engelberg/instaparse/issues/104/events","html_url":"https://github.com/Engelberg/instaparse/issues/104","id":86731736,"number":104,"title":"(wrap-reader) does not what it is intended to do in the Boot toolchain","user":{"login":"danielsz","id":859131,"avatar_url":"https://avatars.githubusercontent.com/u/859131?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsz","html_url":"https://github.com/danielsz","followers_url":"https://api.github.com/users/danielsz/followers","following_url":"https://api.github.com/users/danielsz/following{/other_user}","gists_url":"https://api.github.com/users/danielsz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsz/subscriptions","organizations_url":"https://api.github.com/users/danielsz/orgs","repos_url":"https://api.github.com/users/danielsz/repos","events_url":"https://api.github.com/users/danielsz/events{/privacy}","received_events_url":"https://api.github.com/users/danielsz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-09T20:52:14Z","updated_at":"2015-06-09T20:52:14Z","closed_at":null,"body":"One of the defining features of the Boot toolchain is that it can accomodate multiple Clojure runtimes. As a consequence, merely checking for the presence of `ConditionalReader` class does not guarantee that the new reader will be available over the course of the build process.\r\nPlease consider checking for the version string. \r\nOffending lines: \r\nhttps://github.com/Engelberg/instaparse/blob/d4dff88bc69c05367fc2d4f111b826b6977cf082/src/instaparse/cfg.clj#L159-L163\r\nReference:\r\n```shell\r\n19:42 < michaniskin> the problem was that two versions of clojure were on the classpath\r\n19:42 < michaniskin> 1.6.0 was on the classpath because that's the default for boot\r\n19:42 < michaniskin> it loads that as the environment in which your build.boot will run\r\n19:43 < michaniskin> then you added 1.7.0-RC1 to :dependencies\r\n19:43 < michaniskin> which loaded a second version of clojure into the classpath\r\n19:43 < michaniskin> this triggers a bug in instaparse where instaparse is sniffing for the presence of a particular class on the classpath as its way of determining which version of clojure it's running in\r\n```"}}