<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>1) I've changed my dependency to 'base'. (I don't need a nice error, I just need to block v5 users from installing the package.)</div><div><br></div><div><br></div><div>2) As for the earlier problem, I'm pretty sure it had to do with the "racket" mapping being null:</div><div><br></div><div><a href="https://github.com/plt/racket/commit/50715f7bda4bf9b745a47c4b3853ee48cc247198">https://github.com/plt/racket/commit/50715f7bda4bf9b745a47c4b3853ee48cc247198</a></div><div><br></div><div>Because the installer was throwing an error about getting a null argument when it expected a list, like this:</div><div><br></div><div><blockquote type="cite">raco setup: --- checking package dependencies ---<br>car: contract violation<br> expected: pair?<br> given: '()<br> context...:<br>  /Users/MB/git/racket/racket/collects/setup/private/pkg-deps.rkt:283:2: check-mod!<br>...</blockquote></div><div><br></div><div>And the error was coming from the same file, pkg-deps.rkt.</div><div><br></div><div><br></div><div>I just rebuilt from git, and reinstalled my updated package, and things seem back to normal.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On Jul 3, 2014, at 9:15 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">That should work, although it's better to declare a dependency on<br>"base" instead of "racket":<br><br> (define deps '(("base" #:version "6.0") ... )<br><br>You should generally declare a dependency on "base", anyway.<br><br><br>At least, that's the right way for v6.0 and later. If the goal is to<br>get a nice error message from v5.3.x, then you have to<br><br> * use the old format without `#:version`:<br><br>       (define deps '(("base" "6.0") ... )<br><br> * use `#lang setup/infotab` instead of `#lang info`<br>   for the "info.rkt" file, and<br><br> * declare the dependency on "racket", after all, since "base" didn't<br>    exist as a package in v5.3.x:<br><br>       (define deps '(("racket" "6.0") ... )<br><br><br>For a while in v6.0.x, there were some problems with dependency<br>checking in `raco setup` when a package declares a dependency on<br>"racket". Otherwise, even though declaring a versioned dependency on<br>"base" is better, declaring a dependency on "racket" should work. Can<br>you say more about how it went wrong?<br><br><br>At Thu, 3 Jul 2014 16:22:56 -0700, Matthew Butterick wrote:<br><blockquote type="cite">On closer inspection, it seems possible that my recent install problems were a <br>side effect of Racket being installed as a package dependency by my Pollen <br>package, where the info.rkt contains this line: <br><br>(define deps '(("racket" #:version "6.0") ... )<br><br>Is this the wrong way to declare this kind of dependency? Basically I just want <br>to signal that the package will not work with Racket 5.x.x.<br>____________________<br>  Racket Users list:<br>  <a href="http://lists.racket-lang.org/users">http://lists.racket-lang.org/users</a><br></blockquote></blockquote></div><br></body></html>