[racket-dev] planet-version follies with old planet packages

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue May 17 01:04:35 EDT 2011

011/5/17 Robby Findler <robby at eecs.northwestern.edu>:
> Oh, okay I'm caught up now and, as far as I can tell, the gzip.plt
> package needs to be updated. It has this:
>
>  (define required-core-version "400.0")
>
> in the info.ss file:
>
>  http://planet.racket-lang.org/package-source/soegaard/gzip.plt/2/0/info.ss
>
> and I think that needs to be this instead:
>  (define required-core-version "4.0")

I picked at random one of my other packages "digest", and in its info.ss
is says:

(define required-core-version "369.8")

And that seems to work fine:

Welcome to DrRacket, version 5.0.99.6--2011-01-12(99d1cda/a) [3m].
Language: racket; memory limit: 256 MB.
> (require (planet "digest.ss" ("soegaard" "digest.plt" 1 2)))
> (bytes->hex-string (md5-bytes #"abc"))
"900150983cd24fb0d6963f7d28e17f72"

So I am a little confused.

Is it only the 4xx series, that where the form "400.0" doesn't work?

> I just grepped thru the source and, unless someone stuck a newline in
> the required-core-version spec, this is the only package on planet
> that has this problem.
>
> Jens Axel: do you have time to upload a version (2 1) of the gzip
> package that updates the required-core-version field? (I hope that's
> all that's needed?)

I'll put it on my todo.

-- 
Jens Axel Søgaard



Posted on the dev mailing list.