Re: Re-bootstrapping sbt and modern Scala; the Scala 3 path is now open

Juan M. Méndez Rey <[email protected]> Fri, 12 Jun 2026 14:15:54 +0000
Newsgroups gmane.linux.debian.devel.java
Message-ID <s_0Yp_IL6kbeuOHTnCa6HzgsTt2vy7Z0V1HLZZMoQaMs11NPJK4uLGd8WW86FC4TJYspuKCfwCIzcLSx_Wu0gUOVZRPBio6tC10mejslfRw=@proton.me>
El viernes, 12 de junio de 2026 a las 15:18, Emmanuel Bourg <ebourg@apache.=
org> escribi=C3=B3:


> I got a look at PLM, and the changes required to compile with Scala 2.12
> are modest. I've submitted a PR upstream:
>=20
> https://github.com/BuggleInc/PLM/pull/527

Nice one!

=20
> > 1. Internal compiler dependencies: scala-asm, jline (they are pure java=
). They are a fixed number.
> >
> > - scala-asm 9 : it will work for scala 2.12, scala 2.13
> > - scala-asm 5 : it will work for scala 2.11
> >    (already done in the MR!3 "coexistence branch" against java-team/sca=
la-asm)
> >    (MR !4 is the alternative in-place bump to 9.9.0-only, for the day w=
e retire 2.11.)
> >
> >
> > - jline 2: It works for 2.11/2.12
> > - jline 3: It works for 2.13
>=20
> We have to be cautious with jline 3 and kotlin.

=20
> I don't have much time, but if the path is clear I can help a bit with
> the uploads.

So, going straight to the point.
Cleanest order to start, no exemption needed:

1. scala-asm coexistence (5.2.0 for 2.11 + 9.9.0 for 2.12)=20
   No new binary names, so no NEW queue:

https://salsa.debian.org/java-team/scala-asm/-/merge_requests/3
 =20
2. scala -> scala-2.11 rename (built + install tested locally, with a scala=
 metapackage)=20

   https://salsa.debian.org/java-team/scala/-/merge_requests/1

2.1 plm, in the meanwhile, while your PR gets merged.     =20
plm switches Build-Depends to "scala-2.11 | scala" so it keeps getting 2.11=
 during and after the transition (NMU):

   https://salsa.debian.org/java-team/plm/-/merge_requests/3

3. sbt-util-interface (#1139638): pure-Java leaf, ready for NEW:
   https://salsa.debian.org/mendezr/sbt-util-interface

  jline3 is a Scala 2.13 thing, independent of 2.11, so it needn't hold thi=
s up. But in the meanwhile, I answered about that here, asking for your inp=
ut.
https://salsa.debian.org/java-team/jline3/-/merge_requests/3#note_769369

The scala-2.12-bootstrap "seed" is the only piece needing the "exemption ta=
lk", as we call it, with the ftp masters.

Thanks for offering to help with the uploads. Please take your time, or we =
can wait for others to jump in.=20

Best,

Juan