htdp icon indicating copy to clipboard operation
htdp copied to clipboard

package compatibility fallout from recent changes

Open samth opened this issue 3 years ago • 10 comments

The following packages fail to build due to test-engine changes:

  • csc104 (needs builder from test-engine/racket-tests)
  • profj (needs test-engine/test-display.scm)
  • java-lexer (depends on profj)

samth avatar Nov 11 '20 19:11 samth

ping @mikesperber

samth avatar Nov 25 '20 20:11 samth

@samth ProfJ was broken before, for other reasons, and we decided to leave it.

I've sent fixes to CSC104.

mikesperber avatar Nov 26 '20 12:11 mikesperber

Are these files/functions hard to support in the new regime? All of these packages compiled successfully before, and I'd prefer not to break things if we can just keep them alive.

samth avatar Nov 26 '20 13:11 samth

@samth Mike sent a patch to our friends in Toronto.

@mikesperber Did you ever hear back whether the patch was okay?

mfelleisen avatar Nov 26 '20 15:11 mfelleisen

I haven't had a chance to try it but am fine with csc104 breaking on snapshots until I get a chance over the holidays to update it (there's also a rewrite of the package in progress anyway).

gfbee avatar Nov 26 '20 18:11 gfbee

I appreciate making an effort to move people to new APIs, but unless these old APIs are very hard to support, the fact that they were used somewhere suggests that they might be used elsewhere too, and we should avoid breaking them.

samth avatar Nov 27 '20 15:11 samth

@samth Mike, Robby, Matthew and I discussed this change extensively and we brought it up during a Tuesday meeting. We all thought it meant progress.

mfelleisen avatar Nov 27 '20 21:11 mfelleisen

Obviously the change overall is good. But we should figure out if we can address the particular compatibility issues that we've discovered here without doing too much extra work.

samth avatar Nov 27 '20 21:11 samth

I appreciate making an effort to move people to new APIs, but unless these old APIs are very hard to support, the fact that they were used somewhere suggests that they might be used elsewhere too, and we should avoid breaking them.

The APIs that affected ProfessorJ and CSC104 would have been impossible to support while still making the improvements the test-engine rewrite made. I did check.

Note that there are many other packages that also use test-engine, which should not be affected. (And I did check all of that at @mfelleisen's behest before the patch landed.)

mikesperber avatar Nov 28 '20 11:11 mikesperber

I've made a PR for profj that makes it compile again.

samth avatar Dec 01 '20 03:12 samth