Racket v7.9

396 views
Skip to first unread message

John Clements

unread,
Nov 2, 2020, 7:10:38 PM11/2/20
to Racket Users
Racket version 7.9 is now available from

https://racket-lang.org/


* Racket CS may become the default Racket implementation in the next
release. If, between this release and the next, no bugs are discovered
in Racket CS that are more serious than those typically discovered in
Racket BC, then Racket CS will become the default for the next
release. (Serious Racket CS bugs were found since the v7.8 release,
but they're ever fewer and farther between.)

* Various improvements to Check Syntax arrows and
renaming, thanks to Sorawee Porncharoenwase.

* Full support for struct type properties in Typed Racket, developed by
Fred Fu.

* Racket CS now supports parallel garbage collection, along with
improvements for place-local-allocation and incremental promotion.

* Unix platforms now use the XDG filesystem conventions for the
locations of per-user configuration and library files by default, but
legacy paths are still used where they exist already.

* Scribble improvements by Sorawee Porncharoenwase, William Bowman, and
Shu-Hung You.

* Improvements to the plot library from Alex Harsányi and Bert De
Ketelaere.

The following people contributed to this release:

5pyd3r, A. Green, Adam Michael, Alex Bartholomew, Alex Harsányi, Alex
Knauth, Alexander B. McLin, Alexander Shopov, Alexis King, Andrew
Mauer-Oats, Andy Keep, Ayman Osman, Barak A. Pearlmutter, Ben Greenman,
Bert De Ketelaere, Bob Burger, Bodie Solomon, Bogdan Popa, Bruce
Mitchener, Chris Frisz, Christian Häggström, Cullen Jennings, Daniel
Brunner, DeathKing, Dionna Amalie Glaze, Dominik Pantůček, Evan Minsk,
Fred Fu, Gavin Whelan, Graham Watt, Griffin Byatt, Gustavo Massaccesi,
Göran Weinholt, Jack Firth, Jamie Taylor, Jason Felice, Jason Hemann,
Jasper Pilgrim, Jay McCarthy, Jesse Alama, Jin-Ho King, John Clements,
Jon Zeppieri, Juan Francisco Cantero Hurtado, Jéssica Milaré, Jörgen
Brandt, Laurent Orseau, Leo Uino, Matthew D. Miller, Matthew Flatt,
Matthias Felleisen, Michael Lenaghan, Mike Sperber, Mohamed Akram, Neal
Alexander, Nick Fitzgerald, Oscar Waddell, Paulo Matos, Pavel Panchekha,
Peter Klein, Philip McGrath, Quentin Dufour, R. Kent Dybvig, Robby
Findler, Ryan Culpepper, Sam Tobin-Hochstadt, Shu-Hung You, Sorawee
Porncharoenwase, Stephen Chang, Stephen De Gabrielle, Steven Watson,
Taekyung, Ted Lemon, Thorsten Blum, Virgil Hou, William J. Bowman,
combinatorylogic, deeglaze, evdubs, john, tokomikea, xxyzz, yjqww6, 陈梓
立, and 靈


Feedback Welcome...

You’re awesome! Many thanks for all your hard work as part of this community!

John Clements & the Racket release team



John Clements

unread,
Nov 2, 2020, 8:27:34 PM11/2/20
to John Clements, Racket Users
But wait! There’s more! (Or, more prosaically: I left out several bullet items.)

* The `datum` form from `syntax/datum` works with syntax pattern
variables and `syntax-parse` attributes.

* Unicode input works with recent versions of libedit in addition
to libreadline. On Mac OS, a compatible version of libedit is
included with Racket.

Best to everyone,

John
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/d3114ac7-095a-4a54-a2cb-859ab3720ae2%40mtasv.net.



Asumu Takikawa

unread,
Nov 9, 2020, 1:35:51 PM11/9/20
to Racket Users
On 2020-11-02 19:10:33 -0500, 'John Clements' via Racket Users wrote:
> Racket version 7.9 is now available from
>
> https://racket-lang.org/

The Ubuntu PPA is now updated for version 7.9 as well, and available on
current Ubuntu versions (see https://wiki.ubuntu.com/Releases):

https://launchpad.net/~plt/+archive/ubuntu/racket

As usual please report any issues on github:

https://github.com/takikawa/racket-ppa

Cheers,
Asumu

Stephen De Gabrielle

unread,
Nov 9, 2020, 2:37:58 PM11/9/20
to Asumu Takikawa, Racket Users
Thanks Asumu

I've posted on r/racket - there are a lot of linux users there so I'm sure this is much appreciated.

Kind regards

Stephen


--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.

evdubs

unread,
Nov 9, 2020, 7:28:32 PM11/9/20
to Racket Users
I just upgraded my Racket installation to 7.9. I tried to run raco pkg migrate 7.8

I got the following error:

raco pkg migrate: cannot find package on catalogs

Looking at https://download.racket-lang.org/releases/7.9/catalog/, an uncaught exception is being thrown. This error is being returned by other versions, too (7.8 and 7.7 at least).

Another user in IRC has confirmed this behavior.

Evan

Matthew Flatt

unread,
Nov 9, 2020, 8:32:04 PM11/9/20
to evdubs, Racket Users
At Mon, 9 Nov 2020 16:28:32 -0800 (PST), evdubs wrote:
> Looking at https://download.racket-lang.org/releases/7.9/catalog/, an
> uncaught exception is being thrown. This error is being returned by other
> versions, too (7.8 and 7.7 at least).

When that URL is used as a catalog by `raco pkg`, it doesn't look for
HTML files or "index.html" --- and there's currently no "index.html"
installed at that path, so that's why you get an address when using the
address directly in a browser.

But that catalog works for me. For example,

raco pkg catalog-show \
--catalog https://download.racket-lang.org/releases/7.9/catalog/ \
racket-lib

shows information for "racket-lib", and

raco pkg catalog-copy \
https://download.racket-lang.org/releases/7.9/catalog/ \
pkgs-copy/

creates a local catalog listing many packages.


What package couldn't be migrated?

evdubs

unread,
Nov 9, 2020, 8:43:22 PM11/9/20
to Racket Users
Sorry, I should have just included the full error the first time. I get:

$ raco pkg migrate 7.8
Packages to install:
  binaryio
  feature-profile
  gregor
  html-parsing
  interactive-brokers-api
  sxml
  tasks
  threading
  webscraperhelper
00: Resolving "binaryio" via https://download.racket-lang.org/releases/7.9/catalog/
01: Resolving "feature-profile" via https://download.racket-lang.org/releases/7.9/catalog/
02: Resolving "gregor" via https://download.racket-lang.org/releases/7.9/catalog/
03: Resolving "html-parsing" via https://download.racket-lang.org/releases/7.9/catalog/
05: Resolving "sxml" via https://download.racket-lang.org/releases/7.9/catalog/
06: Resolving "tasks" via https://download.racket-lang.org/releases/7.9/catalog/
04: Resolving "interactive-brokers-api" via https://download.racket-lang.org/releases/7.9/catalog/
07: Resolving "threading" via https://download.racket-lang.org/releases/7.9/catalog/

raco pkg migrate: cannot find package on catalogs
  package: threading

raco pkg migrate: cannot find package on catalogs
  package: html-parsing

raco pkg migrate: cannot find package on catalogs
  package: interactive-brokers-api

raco pkg migrate: cannot find package on catalogs
  package: sxml

raco pkg migrate: cannot find package on catalogs
  package: tasks

raco pkg migrate: cannot find package on catalogs
  package: gregor

raco pkg migrate: cannot find package on catalogs
  package: binaryio

raco pkg migrate: cannot find package on catalogs
  package: binaryio

Evan

Matthew Flatt

unread,
Nov 9, 2020, 8:57:05 PM11/9/20
to evdubs, Racket Users
What does `raco pkg config` say? The resolution search doesn't seem to
be trying

https://pkgs.racket-lang.org

which is where those packages would be found.
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/a84f5372-8d83-4186-b998-5f9dd7e2
> 5e86n%40googlegroups.com.

evdubs

unread,
Nov 9, 2020, 9:08:52 PM11/9/20
to Racket Users
$ raco pkg config
name:
  7.9
catalogs:
  https://download.racket-lang.org/releases/7.9/catalog/
default-scope:
  user
download-cache-dir:
  /home/evdubs/.racket/download-cache
download-cache-max-files:
  1024
download-cache-max-bytes:
  67108864
git-checkout-credentials:
trash-max-packages:
  512
trash-max-seconds:
  172800
network-retries:
  5


So I ran:
$ raco pkg config --set catalogs https://pkgs.racket-lang.org
and now I am able to migrate packages. Thank you, Matthew. Maybe this is related to my installation being from the PPA.

Evan

Matthew Flatt

unread,
Nov 9, 2020, 9:14:28 PM11/9/20
to evdubs, Racket Users
At Mon, 9 Nov 2020 18:08:51 -0800 (PST), evdubs wrote:
> So I ran:
> $ raco pkg config --set catalogs https://pkgs.racket-lang.org
> and now I am able to migrate packages. Thank you, Matthew. Maybe this is
> related to my installation being from the PPA.

Maybe, but I wonder whether it might have something to do with the
switch to XDG paths. Do you have "~/.racket" and/or "~/.config/racket"
directories?


Matthew

evdubs

unread,
Nov 9, 2020, 9:18:03 PM11/9/20
to Racket Users
$ ls ~/.racket
6.11  6.12  7.0  7.1  7.2  7.3  7.4  7.5  7.6  7.7  7.8  7.9  download-cache  racket-prefs.rktd  snapshot


The above looks like the location where my user packages are installed (as in, the packages from raco pkg install).

$ ls ~/.config/racket
ls: cannot access '/home/evdubs/.config/racket': No such file or directory


Evan

mvcc...@gmail.com

unread,
Nov 10, 2020, 10:37:03 AM11/10/20
to Racket Users
Hi, I'm having a similar issue with the packages.
After updating to 7.9, the pie package stopped working and "raco pkg install pie" couldn't find anything on catalogs.
I had to download the source code and install it locally.
I'm teaching a class using the pie package. It would be jarring if I have to burden the students with manually installing these packages.
Is there anyway to make "raco pkg install pie" work automatically after the updating?

Cheers,
Weixi

Matthew Flatt

unread,
Nov 10, 2020, 11:05:52 AM11/10/20
to mvcc...@gmail.com, Racket Users
Now I see the problem. It seems to be specific to the source
distribution, but since the PPA is derived from a source distribution,
it affects the PPA, too.


A solution is

raco pkg config --set catalogs \
https://download.racket-lang.org/releases/7.9/catalog/ \
""

That last empty-string argument chains to pkgs.racket-lang.org after
checking the release-specific catalog.


Alternatively, in DrRacket, open "File" -> "Package Manager...", click
the "Settings" tab, and add "https://pkgs.racket-lang.org/".


The problem: A source distribution has the initial configuration

(catalogs . ("https://download.racket-lang.org/releases/7.9/catalog/"))

instead of

(catalogs . ("https://download.racket-lang.org/releases/7.9/catalog/" #f))

The Utah snapshots have the same problem, which suggests that it's not
just the way the release build is configured.
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/b6a61385-2ba6-4540-aa32-76842ec5
> 91a6n%40googlegroups.com.

Asumu Takikawa

unread,
Nov 18, 2020, 1:32:16 AM11/18/20
to Racket Users
On 2020-11-09 10:35:45 -0800, Asumu Takikawa wrote:
> The Ubuntu PPA is now updated for version 7.9 as well, and available on
> current Ubuntu versions (see https://wiki.ubuntu.com/Releases):

New PPA packages are currently building & will be available soon with
the new version number:

7.9+ppa3-1~<release>1

This is a minor update to fix the package manager catalog configuration,
which caused package install and other operations to fail.

Cheers,
Asumu
Reply all
Reply to author
Forward
0 new messages