-
Notifications
You must be signed in to change notification settings - Fork 1.1k
sbt-dotty: the binary version is 3 for Scala >= 3.0.0 #11952
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but some tests are failing.
sbt is broken because of sbt/sbt#6422 (which we could work around), mill is broken because of com-lihaoyi/mill#1139 |
ea38615
to
8719857
Compare
The scripted source-dependencies/value-class is failing for an unknown reason. I can reproduce the bug with sbt-dotty but I cannot reproduce it without sbt-dotty. So I think it is not worth trying to fix it.
9f2e2fd
to
9c457b4
Compare
@smarter could you review this? |
Instead of updating DEFAULT_MILL_VERSION in each submodule, could we set MILL_VERSION in the community build runner itself? (this seems like a good idea in general, in the same way that we use a single sbt version for the whole community build). I haven't checked but a change like this should work: diff --git community-build/src/scala/dotty/communitybuild/projects.scala community-build/src/scala/dotty/communitybuild/projects.scala
index 755f774449f..c32a3ed6839 100644
--- community-build/src/scala/dotty/communitybuild/projects.scala
+++ community-build/src/scala/dotty/communitybuild/projects.scala
@@ -25,6 +25,7 @@ def exec(projectDir: Path, binary: String, arguments: String*): Int =
val command = binary +: arguments
log(command.mkString(" "))
val builder = new ProcessBuilder(command: _*).directory(projectDir.toFile).inheritIO()
+ builder.environment.put("MILL_VERSION", "0.9.6-16-a5da34")
val process = builder.start()
val exitCode = process.waitFor()
exitCode |
9c457b4
to
5a7f79f
Compare
5a7f79f
to
c0d4e35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the help!
No description provided.