-
Notifications
You must be signed in to change notification settings - Fork 92
Please publish to Maven Central for Dotty 0.27 #446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ashawley ? if you're otherwise occupied, I can do it |
staging repositories released, artifacts should be on their way to Maven Central |
@Sciss let us know if the artifacts are actually usable :-) |
thanks, yes it seems to work |
Hmmm. I am seeing a strange problem in a library that uses a library that uses scala-xml. sbt collapses with
I don't really understand where that comes from. Could it be that the maven artifact somehow has some _2.13 information in it? I have currently no explanation why this error would come up. Checking the dependency trees there is no reference at all to scala-xml_2.13 for my dotty versions. But perhaps it's an sbt bug. |
historically people have had weird problems with scala-xml in their builds because the 2.11 and 2.12 compilers depended on it. that dependency no longer exists in 2.13. is it a strictly 2.13/Dotty-only project? it seems likely to be an sbt issue (either with sbt itself, or just in your build in particular) and not likely to be that something went wrong with the publishing here are you on sbt 1.3.13 or newer? |
1.3.13. is there something newer? |
the project is 2.12, 2.13, dotty - but if I remove 2.12, problem persists. |
hold on -- I used |
there's 1.4.0-RC1, but I would suggest sticking with 1.3.13 for now
see #195 and linked tickets — though it's only a guess, I don't know if it's relevant |
oh hey maybe trying sbt 1.4.0-RC1 would help, actually — is this the feared "Scala 2/3 sandwich" sbt/sbt#5369 ? |
d'oh
I'm a bit confused now. Can dotty refer to Scala 2.13 libraries now? Is this advised or not? |
Dotty can use Scala 2 libraries; that has worked for several years now. (As long as the libraries don't define macros, that is! And scala-xml doesn't.) The doc page on this is https://scalacenter.github.io/scala-3-migration-guide/docs/compatibility.html But when there are multiple levels of dependencies involved, I'm less sure what the failure modes are. It makes sense that the Dotty build of ScalaTest would depend on a Scala 2 build of scala-xml, since there was no Dotty build of scala-xml until recently. So maybe you shouldn't be trying to use scala-xml_0.27:2.0.0-M2 at all. Maybe you should stick with scala-xml_2.13:1.2.0. |
No description provided.
The text was updated successfully, but these errors were encountered: